/* Pro Page - Folders and Files Styles */

.folders-header {
    text-align: center;
    margin-bottom: 2rem;
    display: block !important;
}

.folders-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 300px));
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.folder-card {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.folder-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.folder-icon {
    font-size: 3rem;
    color: #4a90e2;
}

.folder-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.file-count {
    font-size: 0.85rem;
    color: #999;
}

.folder-members {
    display: flex;
    gap: 0.5rem;
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Files Section */
.files-section {
    animation: fadeIn 0.3s ease;
    margin-bottom: 3rem;
}

.files-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.back-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.files-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.download-all-btn {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-all-btn:hover {
    background: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.download-all-btn i {
    font-size: 1rem;
}

/* Files Table */
.files-table {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.files-table-header {
    display: grid;
    grid-template-columns: 50px 1fr 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 20, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
}

.files-table-header i {
    margin-left: 0.5rem;
    font-size: 0.7rem;
}

.file-row {
    display: grid;
    grid-template-columns: 50px 1fr 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    align-items: center;
}

.col-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.file-row:last-child {
    border-bottom: none;
}

.col-name {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-weight: 500;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.col-members,
.col-date {
    color: #999;
    font-size: 0.9rem;
}

.col-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.action-btn {
    background: transparent;
    border: none;
    color: #999;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Checkboxes */
.file-checkbox,
#selectAll {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero content for pro page */
.hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Files section - hidden by default */
.files-section {
    display: none;
}

.files-section.active {
    display: block;
}

/* Download all button - hidden by default */
.download-all-btn {
    display: none;
}

.download-all-btn.active {
    display: inline-flex;
}

/* Sortable column */
.col-name.sortable {
    cursor: pointer;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Download feedback animation */
.download-feedback.slide-out {
    animation: slideOut 0.3s ease;
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .folders-header h2 {
        font-size: 1.3rem;
    }
    
    .folders-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .folder-card {
        padding: 1.2rem;
    }
    
    .folder-icon {
        font-size: 2.5rem;
    }
    
    .folder-info h3 {
        font-size: 1rem;
    }
    
    .files-section {
        padding: 0 1rem;
    }
    
    .files-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .files-header h2 {
        font-size: 1.2rem;
        width: 100%;
    }
    
    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .download-all-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .files-table {
        border-radius: 8px;
    }
    
    .files-table-header {
        grid-template-columns: 40px 1fr 80px;
        padding: 0.8rem 1rem;
        font-size: 0.75rem;
    }
    
    .file-row {
        grid-template-columns: 40px 1fr 80px;
        padding: 0.8rem 1rem;
        gap: 0.75rem;
    }
    
    .col-name {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
    
    .file-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .col-actions {
        display: flex;
        justify-content: flex-end;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
    }
    
    .pro-contact {
        padding: 3rem 20px;
        background: #0a0a0a;
    }
    
    .pro-contact h3 {
        font-size: 1.1rem;
    }
    
    .pro-contact p {
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .folders-header h2 {
        font-size: 1.2rem;
    }
    
    .folder-icon {
        font-size: 2rem;
    }
    
    .files-header h2 {
        font-size: 22px;
        margin-top: 20px;
    }
    
    .files-table-header {
        grid-template-columns: 35px 1fr 70px;
        padding: 0.7rem 0.8rem;
    }
    
    .file-row {
        grid-template-columns: 35px 1fr 70px;
        padding: 0.7rem 0.8rem;
    }
    
    .col-name {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .file-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}
