* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-buttons {
    display: flex;
}

.nav-buttons button {
    margin-left: 15px;
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.container {
    display: flex;
    height: 100vh;
    padding-top: 90px;
    overflow-y: auto;
    /* Cambia a auto */
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    overflow-y: auto;
}

/* Profile Sidebar Tabs */
.sidebar .tab {
    padding: 14px 20px;
    margin: 4px 12px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.sidebar .tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar .tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #fff;
    transform: translateX(4px);
}

.sidebar .tab:hover::before {
    transform: scaleY(1);
}

.sidebar .tab.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.sidebar .tab.active::before {
    transform: scaleY(1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    width: 260px;

}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
}

.menu-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.menu-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #fff;
}

.menu-item.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, transparent 100%);
    color: #fff;
    border-left: 3px solid #667eea;
}

.menu-item-icon {
    font-size: 20px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.menu-section {
    padding: 20px 25px 10px 25px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.folder-tree {
    padding: 0 10px;
}

.folder-item {
    padding: 10px 15px;
    margin: 2px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.folder-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.folder-item.selected {
    background: rgba(102, 126, 234, 0.2);
}

.folder-item .expand-icon {
    width: 16px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.folder-item.expanded .expand-icon {
    transform: rotate(90deg);
}

.folder-children {
    margin-left: 20px;
    display: none;
}

.folder-children.visible {
    display: block;
}

.storage-info {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.storage-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}


.storage-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page {
    display: none;
    flex-direction: column;
    height: 100%;
}

.page.active {
    display: flex;
}

/* Top Banner */
.top-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    left: 260px;
    position: absolute;
}

.banner-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.banner-right {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;

}

.btn-banner {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 700px;

    width: 700px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
}

/* Selection Bar */
.selection-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 30px;
    display: none;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.3s ease;
}

.selection-bar.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-info {
    font-weight: 600;
}

.selection-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-action.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Content Area */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #667eea;
    font-weight: 500;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.gallery-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.gallery-header {
    margin-bottom: 30px;
}

.gallery-title {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* View Controls */
.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-mode {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;

}

.view-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
}

.sort-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-selector select {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.sort-selector select:focus {
    outline: none;
    border-color: #667eea;
}

/* File List */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item,
.folder-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Album Grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}


.file-item:hover,
.folder-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.folder-list-item {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.folder-list-item:hover {
    background: rgba(102, 126, 234, 0.15);
}

.file-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-checkbox.checked {
    background: #667eea;
    border-color: #667eea;
}

.file-checkbox.checked::after {
    content: '✓';
    color: #fff;
    font-weight: bold;
}

.file-icon {
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 15px;
    margin-bottom: 5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.file-size {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-left: 20px;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

.file-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-left: 20px;
    flex-shrink: 0;
    min-width: 120px;
    text-align: right;
}

.file-actions-cell {
    margin-left: 15px;
    flex-shrink: 0;
}

.file-more-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.file-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    z-index: 10000;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.context-menu.visible {
    display: block;
}

.context-menu-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.context-menu-item:hover {
    background: rgba(102, 126, 234, 0.2);
}

.context-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* Photo Grid */
.photo-grid {
    gap: 15px;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 130px;
    height: 200px;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.photo-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.photo-checkbox.checked {
    background: #667eea;
    border-color: #667eea;
}

.photo-checkbox.checked::after {
    content: '✓';
    color: #fff;
    font-weight: bold;
}

.photo-info {
    color: #fff;
    font-size: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.album-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.album-cover {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
}

.album-info {
    padding: 15px;
}

.album-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.album-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .view-controls {
        display: none;
    }

    .search-box {
        display: none;
    }

    .logo,
    .menu-item span,
    .menu-section,
    .storage-info,
    .folder-tree {
        display: none;
    }

    .logo {
        font-size: 20px;
        padding-left: 20px;
    }

    .menu-item {
        justify-content: center;
        padding: 15px;
    }

    .menu-item-icon {
        margin: 0;
    }

    .file-date {
        display: none;
    }

    .breadcrumb {
        overflow-x: auto;
    }

    .menu-item span,
    .menu-section,
    .storage-info {
        display: none;
    }

    .menu-item {
        justify-content: center;
        padding: 15px;
    }

    .menu-item-icon {
        margin: 0;
    }

    .main-content {
        padding: 0 10px;
    }

    .photo-grid,
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

    }

    /* Estilos mejorados para lista de archivos/carpetas en móvil */
    .file-item,
    .folder-list-item {
        display: flex;
        align-items: center;
        padding: 12px 8px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.05);
        gap: 10px;
        min-height: 56px;
    }

    .file-item:active,
    .folder-list-item:active {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(0.98);
    }

    .file-checkbox {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .file-icon {
        font-size: 26px;
        flex-shrink: 0;
    }

    .file-details {
        flex: 1;
        min-width: 0;
    }

    .file-name {
        font-size: 14px;
        margin-bottom: 3px;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .file-meta {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.6);
    }

    .file-more-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        font-size: 18px;
    }


    .photo-item {
        width: 100px;
        height: 150px;
    }

    /* Mobile Selection Bar - Mejoras para pantallas móviles */
    .selection-bar {
        padding: 12px 10px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .selection-info {
        text-align: center;
        font-size: 14px;
    }

    .selection-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .content-area {
        flex: 1;
        overflow-y: auto;
    }

    .btn-action {
        flex: 1 1 calc(50% - 4px);
        min-width: 120px;
        padding: 12px 16px;
        font-size: 13px;
        justify-content: center;
        text-align: center;
    }

}


/*photos*/

.viewer-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;
}

.top-bar {
    width: 80vw;
    height: 60px;
    display: flex;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.photo-title {
    font-size: 18px;
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Main Photo Display */
.photo-display {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;

}

.photo-wrapper {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
    position: absolute;
    top: 0px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-photo {
    max-width: 100%;
    max-height: calc(100vh - 60px);
    /* Resta la altura del top-bar */
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    /* Mantiene la proporción y muestra la imagen completa */

}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}

/* Info Sidebar */
.info-sidebar {
    width: 380px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 500;
}

.info-sidebar.hidden {
    transform: translateX(100%);
}

.info-header {
    padding: 30px 25px 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.info-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.info-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.info-value {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.thumbnail-preview {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-action {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-action.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-action.primary:hover {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(102, 126, 234, 0.3);
}

.people-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.person-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.person-item:hover {
    transform: scale(1.05);
}

.person-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.person-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Loading State */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* Responsive */
@media (max-width: 968px) {
    .info-sidebar {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 90%;
        max-width: 380px;
    }

    .photo-display {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0 15px;
    }

    .photo-title {
        font-size: 14px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .info-sidebar {
        width: 100%;
        max-width: 100%;
        display: none;
    }

    .photo-title {
        display: none;
    }

}

/* Fullscreen Mode */
body.fullscreen .top-bar,
body.fullscreen .info-sidebar {
    display: none;
}

body.fullscreen .photo-display {
    padding: 0;
    width: 100vw;
    height: 100vh;
}

body.fullscreen .main-photo {
    max-height: calc(100vh);
}

.btn-icon.favorite.active {
    color: #fbbf24;
}

.btn-icon.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
}


/* Landing Page Styles */
.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #667eea;
}

.btn-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.floating-images {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-img {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    animation: float 20s infinite ease-in-out;
}

.floating-img:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-img:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-img:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.floating-img:nth-child(4) {
    top: 30%;
    right: 25%;
    animation-delay: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 72px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease;
}

.hero-content p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    line-height: 1.6;
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 1.2s ease;
}

.btn-hero {
    padding: 18px 40px;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Features Section */
.features {
    padding: 100px 20px;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.feature-card.next-steps {
    position: relative;
    opacity: 0.7;
}

/* Pricing Section */
.pricing {
    padding: 100px 20px;
}

.pricing-title {
    text-align: center;
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.plan-icon {
    font-size: 48px;
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-top: 5px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.check {
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
}

.check-disabled {
    color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
}

.btn-plan {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #667eea;
    transform: translateY(-2px);
}

.btn-plan-featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-plan-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.pricing-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Terms and Conditions */
.terms-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.terms-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 25px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.terms-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-header h3 {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.terms-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.terms-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.terms-text h4 {
    font-size: 18px;
    margin: 25px 0 15px 0;
    color: #667eea;
}

.terms-text p,
.terms-text li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-links {
    display: flex;
    gap: 20px;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #764ba2;
}

.checkbox-container {
    padding: 20px 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.checkbox-container.checked {
    background: rgba(102, 126, 234, 0.1);
}

.custom-checkbox {
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked~.checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.custom-checkbox input:checked~.checkmark:after {
    content: '✓';
    position: absolute;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label strong {
    color: #667eea;
}

.terms-buttons {
    display: flex;
    gap: 15px;
    padding: 30px;
}

.btn-terms {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-accept:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-accept:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Signup Progress */
.signup-progress {
    display: none;
    text-align: center;
    padding: 30px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    margin-top: 20px;
}

.progress-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.success-message {
    display: none;
    padding: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    color: #22c55e;
    text-align: center;
    margin-top: 15px;
}

.error-message {
    display: none;
    padding: 15px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #ef4444;
    text-align: center;
    margin-top: 15px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .features-title {
        font-size: 32px;
        margin-top: 50px;
        margin-bottom: 40px;
    }

    .feature-card:hover {
        transform: none;
    }

    .pricing-card {
        padding: 15px 20px;
    }

    .pricing-card:hover {
        transform: none;
        border-color: #667eea;
        box-shadow: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: none;
        box-shadow: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .modal-content {
        padding: 30px;
        overflow: auto;
        max-height: 90%;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    overflow-y: auto;
    /* Añade scroll */
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px;
    /* Añade margen */
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */

/* Profile Tabs Navigation */
.profile-tabs {
    display: flex;
    gap: 8px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    flex-wrap: wrap;
}

.profile-tabs .tab {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}

.profile-tabs .tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.profile-tabs .tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
}

/* Profile Sections */
.profile-section {
    display: none;
    padding: 30px;
    max-width: 1400px;
}

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

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Stats Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Component */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

/* Form Sections */
.form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Badge Component */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-info {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: rgba(255, 255, 255, 0.05);
}

table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

/* Logout Button */
.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-tabs {
        padding: 15px;
    }

    .profile-section {
        padding: 20px 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 18px;
    color: #fff;
}

.loading-overlay span {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toggle Switch for Profile Page */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

input:checked+.slider:before {
    transform: translateX(24px);
}