.breadcrumb {
    display: flex;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.workspace-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.workspace-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.workspace-actions {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(100, 108, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.filter-section {
    background: var(--dark-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--light);
}

.filter-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.25rem;
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--gray);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(100, 108, 255, 0.1);
    color: var(--light);
    border-color: rgba(100, 108, 255, 0.3);
}

.filter-btn.active {
    background: rgba(100, 108, 255, 0.2);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.dimension-toggle {
    display: flex;
    gap: 0.5rem;
}

.dimension-btn {
    padding: 0.75rem 1.25rem;
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--gray);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dimension-btn.active {
    background: rgba(100, 108, 255, 0.2);
    color: var(--primary);
    border-color: var(--primary);
}

.folder-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.25rem;
}

.folder-item {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--gray);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.folder-item:hover {
    background: rgba(100, 108, 255, 0.1);
    color: var(--light);
}
.folder-item.active {
    background: rgba(100, 108, 255, 0.2);
    color: var(--primary);
    font-weight: 500;
}
.folder-item .fa-folder {
    color: #f59e0b;
}
.folder-item .fa-folder-open {
    color: #f59e0b;
}

.workspace-layout {
    display: flex;
    gap: 2rem;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 2rem 2rem;
}

.folder-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--dark-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: 100px;
}

.workspace-layout .workspace-container {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    margin: 0;
}

.folder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.folder-header h3 {
    margin: 0;
    font-size: 1rem;
}

.btn-icon {
    background: var(--primary);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    transform: scale(1.1);
}

/* Folder Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: var(--dark-light);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: var(--light);
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
}

.modal-body {
    padding: 1.75rem;
}

.modal-body .form-group {
    margin-bottom: 1.75rem;
}

.modal-body .form-group:last-child {
    margin-bottom: 0;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--light);
    letter-spacing: 0.01em;
}

.modal-body .form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.modal-body .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.15);
}

.modal-body .form-group input::placeholder {
    color: var(--gray);
    opacity: 0.6;
}

.modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.01);
}

.modal-footer .btn {
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--light);
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(100, 108, 255, 0.3);
}

.color-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.color-btn:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.color-btn.active {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.folder-edit:hover {
    color: var(--primary) !important;
    background: rgba(100, 108, 255, 0.1);
    border-radius: 4px;
}

.folder-delete {
    display:none;
    color:var(--gray);
    font-size:0.9rem;
    cursor:pointer;
    padding:0.25rem;
    border-Radius: 5rem;
}

.folder-delete:hover {
    background: rgb(160, 160, 176, 0.2);
}

.fa-check {
    display:none;
    color:var(--gray);
    font-size:0.9rem;
    cursor:pointer;
    padding:0.25rem;
    border-Radius: 5rem;
}

.fa-check:hover {
    color: #ff6464;
    background: rgba(255, 100, 100, 0.1);
}

.btn-primary, .btn-secondary {
    height: 3.5rem;
}

.batch-bar {
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.dropup-option {
    padding:0.5rem 3rem;
    cursor:pointer;
    color:var(--light);
    display:flex;
    align-items:center;
    gap:0.5rem;
    white-space: nowrap;
}

.dropup-option:hover {
    background: rgba(100, 108, 255, 0.1);
}

.project-checkbox {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.project-checkbox:hover {
    opacity: 1;
}

.project-select-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: var(--darker);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.project-select-checkbox:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.15);
}

.project-select-checkbox:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.project-select-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.project-card:has(.project-select-checkbox:checked) {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(100, 108, 255, 0.15);
}

.dropup-content {
    display:none;
    position:absolute;
    bottom:100%;
    left:-20px;
    margin-bottom:0.5rem;
    background:var(--darker);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:6px;
    min-width:200px;
    max-height:200px;
    overflow-y:auto;
    z-index:60;
}

#batch-cancel-btn {
     background: rgba(255, 255, 255, 0.1);
}

#batch-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}