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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e8e8e8;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid #4a5568;
    position: relative;
}

.header-top {
    position: absolute;
    top: 1rem;
    right: 2rem;
    z-index: 10;
}

.admin-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.admin-dropdown {
    position: relative;
    display: inline-block;
}

.admin-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #4a5568;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    margin-top: 8px;
}

.admin-dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

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

.admin-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    color: #e8e8e8;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 4px;
}

.admin-dropdown-item:hover {
    background: rgba(99, 179, 237, 0.1);
    color: #63b3ed;
}

.admin-dropdown-item.admin-status-item {
    font-weight: bold;
    border-radius: 6px;
    margin: 4px;
}

.admin-dropdown-item.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.admin-dropdown-item svg {
    opacity: 0.7;
}

.admin-dropdown-item:hover svg {
    opacity: 1;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
}

.admin-avatar.logged-in {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.admin-avatar.logged-in::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border: 2px solid #1a1a2e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.admin-avatar:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.family-logo {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4a5568;
    transition: all 0.3s ease;
}

.family-logo:hover {
    border-color: #63b3ed;
    transform: scale(1.05);
}

/* Action Logo on Right Side */
.action-logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-logo {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #4a5568;
    transition: all 0.3s ease;
}

.action-logo:hover {
    border-color: #63b3ed;
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    color: #f7fafc;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #cbd5e0;
    font-style: italic;
}

.photo-placeholder {
    width: 200px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #4a5568;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #a0a0a0;
    text-align: center;
    margin: 2rem auto;
}

/* Iris's Photo Styles - WIDER TO SHOW FULL PHOTO */
.photo-container {
    width: 450px !important;
    height: 375px !important;
    margin: 2rem auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.iris-photo {
    width: 450px !important;
    height: 375px !important;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #4a5568;
    transition: all 0.3s ease;
}

.iris-photo:hover {
    border-color: #63b3ed;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 179, 237, 0.3);
}

/* Responsive design for photo - wider on all screens */
@media (max-width: 480px) {
    .photo-container {
        width: 320px !important;
        height: 300px !important;
    }
    .iris-photo {
        width: 320px !important;
        height: 300px !important;
    }
}

@media (max-width: 350px) {
    .photo-container {
        width: 280px !important;
        height: 250px !important;
    }
    .iris-photo {
        width: 280px !important;
        height: 250px !important;
    }
}

nav {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #4a5568;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 1rem;
}

.nav-btn {
    background: #2d3748;
    border: 1px solid #4a5568;
    color: #e8e8e8;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover, .nav-btn.active {
    background: #4299e1;
    border-color: #63b3ed;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
    text-decoration: none;
}

.nav-btn:focus {
    outline: none;
    text-decoration: none;
}

.nav-btn:visited {
    color: inherit;
    text-decoration: none;
}



.section {
    display: none;
    padding: 2rem 0;
}

.section.active {
    display: block !important;
}

.form-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #4a5568;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e0;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #4a5568;
    border-radius: 6px;
    color: #e8e8e8;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #63b3ed;
    background: rgba(255, 255, 255, 0.15);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    transform: translateY(-2px);
}

.btn-delete {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #c53030, #9c2222);
}

.memories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.memory-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #4a5568;
    transition: all 0.3s ease;
}

.memory-card:hover {
    border-color: #63b3ed;
    transform: translateY(-2px);
}

.memory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.memory-author {
    font-weight: bold;
    color: #63b3ed;
}

.memory-date {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.memory-category {
    display: inline-block;
    background: rgba(99, 179, 237, 0.2);
    color: #63b3ed;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.memory-book {
    color: #f6e05e;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.memory-location {
    color: #68d391;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.memory-text {
    color: #e8e8e8;
    line-height: 1.6;
}

.book-experience {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
}

.book-rating {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.reader-location-tag {
    color: #a78bfa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.journey-timeline {
    margin-top: 2rem;
}

.journey-book-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #4a5568;
    margin-bottom: 2rem;
}

.journey-book-title {
    font-size: 1.5rem;
    color: #f6e05e;
    margin-bottom: 1rem;
    text-align: center;
}

.journey-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.journey-stat {
    text-align: center;
}

.journey-stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #63b3ed;
}

.journey-stat-label {
    font-size: 0.9rem;
    color: #cbd5e0;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #63b3ed, #4299e1);
}

.timeline-item {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #4a5568;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -43px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #63b3ed;
    border-radius: 50%;
    border: 3px solid #1a1a2e;
}

.timeline-date {
    color: #f6e05e;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-reader {
    color: #63b3ed;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-location {
    color: #a78bfa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-rating {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-note {
    color: #e8e8e8;
    line-height: 1.6;
    font-style: italic;
}

.no-journey {
    text-align: center;
    color: #a0a0a0;
    font-style: italic;
    padding: 3rem;
}

.search-bar {
    margin-bottom: 2rem;
}

.search-bar input {
    font-size: 1.1rem;
    padding: 1rem;
}

.filter-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-section select {
    flex: 1;
    min-width: 200px;
}

.admin-login {
    max-width: 400px;
    margin: 2rem auto;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #4a5568;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #63b3ed;
}

.stat-label {
    color: #cbd5e0;
    margin-top: 0.5rem;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.library-book-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #4a5568;
    transition: all 0.3s ease;
}

.library-book-card:hover {
    border-color: #63b3ed;
    transform: translateY(-2px);
}

.book-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f6e05e;
    margin-bottom: 0.5rem;
}

.book-author {
    color: #cbd5e0;
    margin-bottom: 1rem;
    font-style: italic;
}

.book-last-seen {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-reader-info {
    color: #a78bfa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-location {
    color: #68d391;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.admin-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #374151;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.admin-book-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-book-info {
    flex: 1;
}

.admin-book-title {
    font-weight: bold;
    color: #f6e05e;
    margin-bottom: 0.3rem;
}

.admin-book-author {
    color: #cbd5e0;
    font-size: 0.9rem;
}

.admin-book-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    transform: translateY(-1px);
}

.btn-delete-small {
    background: linear-gradient(135deg, #e53e3e, #c53030);
}

.btn-delete-small:hover {
    background: linear-gradient(135deg, #c53030, #9c2222);
}

/* Admin Modal Styles */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.admin-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 10% auto;
    border: 1px solid #4a5568;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

.admin-modal-header {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h2 {
    color: #f7fafc;
    margin: 0;
    font-size: 1.5rem;
}

.admin-modal-close {
    color: #cbd5e0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.admin-modal-close:hover {
    color: #f56565;
}

.admin-modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #63b3ed;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Hide action logo on mobile to save space */
    .action-logo-container {
        display: none;
    }

    .header-top {
        top: 0.5rem;
        right: 1rem;
    }

    .admin-controls {
        gap: 0.5rem;
    }

    .admin-avatar {
        width: 36px;
        height: 36px;
    }

    .admin-avatar svg {
        width: 20px;
        height: 20px;
    }
    
    .admin-dropdown-menu {
        min-width: 140px;
    }
    
    .admin-dropdown-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 2rem;
    }

    .nav-container {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    .nav-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        min-width: 120px;
    }

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

    .filter-section {
        flex-direction: column;
    }

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

    .admin-books-grid {
        grid-template-columns: 1fr;
    }
}

/* Backup System Styles */
.backup-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.backup-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
    max-width: 300px;
}

.backup-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

.backup-btn:active {
    transform: translateY(0);
}

.backup-btn:disabled {
    background: #4b5563;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-icon {
    font-size: 1.2rem;
}

.backup-status {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e8e8e8;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #374151;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.backup-result {
    border-radius: 8px;
    padding: 1.2rem;
}

.backup-result.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
}

.backup-result.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
}

.result-message {
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.backup-result.success .result-message {
    color: #22c55e;
}

.backup-result.error .result-message {
    color: #ef4444;
}

.result-details {
    color: #cbd5e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.backup-history-section {
    margin-top: 2rem;
}

.backup-history {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #374151;
}

.backup-item {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.backup-item:hover {
    background: rgba(17, 24, 39, 0.8);
    border-color: #60a5fa;
}

.backup-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.backup-name {
    font-weight: 600;
    color: #e4e4e7;
    font-size: 0.95rem;
}

.backup-date {
    font-size: 0.85rem;
    color: #9ca3af;
}

.backup-size {
    font-size: 0.9rem;
    color: #60a5fa;
    font-weight: 500;
}

.loading {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 1rem;
}

/* Scrollbar styling for backup history */
.backup-history::-webkit-scrollbar {
    width: 8px;
}

.backup-history::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

.backup-history::-webkit-scrollbar-thumb {
    background: #60a5fa;
    border-radius: 4px;
}

.backup-history::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Admin Status Visual Indicators */
.admin-avatar {
    transition: all 0.3s ease;
    position: relative;
}

.admin-avatar.logged-in {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1)) !important;
    border-color: #22c55e !important;
    color: #22c55e !important;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    animation: adminPulse 3s infinite;
}

.admin-avatar.logged-in::after {
    content: "👑";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #22c55e;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #1a1a2e;
}

@keyframes adminPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
        transform: scale(1); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
        transform: scale(1.05); 
    }
}

/* Admin Status Banner */
.admin-status-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.1));
    border-bottom: 2px solid #22c55e;
    padding: 0.5rem 1rem;
    text-align: center;
    color: #22c55e;
    font-weight: bold;
    z-index: 1000;
    display: none;
    animation: slideDownBanner 0.5s ease;
}

.admin-status-banner.show {
    display: block;
}

@keyframes slideDownBanner {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Admin Dropdown Enhanced Styling */
.admin-dropdown-item.admin-status-item {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid #22c55e !important;
    color: #22c55e !important;
    font-weight: bold;
    position: relative;
}

.admin-dropdown-item.admin-status-item::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: #22c55e;
    border-radius: 2px;
}

/* Admin Messages */
.admin-message {
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-family: 'Georgia', serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Admin Modal Enhancements */
.admin-modal {
    backdrop-filter: blur(5px);
}

.admin-modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Non-Admin User Indicator */
body:not(.admin-logged-in) .admin-avatar::after {
    content: "👤";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    opacity: 0.6;
}

/* Body class for admin state */
body.admin-logged-in {
    border-top: 3px solid #22c55e;
}

body.admin-logged-in::before {
    content: "👑 ADMIN MODE ACTIVE";
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 999;
    animation: fadeInUp 0.5s ease;
}

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

/* Responsive adjustments for backup system */
@media (max-width: 768px) {
    .backup-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        max-width: none;
    }
    
    .backup-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .backup-history {
        max-height: 300px;
    }
    
    body.admin-logged-in::before {
        bottom: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}