* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.header-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 25px;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cart-button {
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 100;
}

.cart-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cart-button.has-items {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cart-icon {
    font-size: 1.5rem;
}

.cart-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.cart-button.has-items .cart-count {
    background: white;
    color: #764ba2;
}

.logout-button {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #dc3545;
}

.logout-button:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.05);
}

.photo-count {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#totalPhotos {
    color: #ffd700;
    font-weight: bold;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    animation: fadeIn 0.8s ease;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy loading states */
.gallery-item img.lazy-image {
    opacity: 0.6;
    filter: blur(5px);
}

.gallery-item img.loaded {
    opacity: 1;
    filter: blur(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.selection-controls {
    position: relative;
    background: white;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px;
    border-top: 1px solid #eee;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.download-controls {
    position: relative;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    margin-top: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3);
}

.download-controls:hover {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    box-shadow: 0 6px 16px rgba(17, 153, 142, 0.4);
}

.download-controls:active {
    transform: none;
}

.download-icon {
    font-size: 1.2rem;
}

.download-text {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.download-button {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3);
    z-index: 10;
}

.download-button:hover {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(17, 153, 142, 0.4);
}

.download-button:active {
    transform: scale(0.95);
}

.quantity-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.quantity-btn:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-display {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.gallery-item.selected {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.image-title {
    position: relative;
    background: white;
    color: #333;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid #eee;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

#qrCodeContainer {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#qrCodeContainer p {
    margin: 10px 0 0 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.3rem;
    max-width: 80%;
    margin-top: 20px;
}

.lightbox-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.lightbox-controls .quantity-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
}

.lightbox-controls .quantity-display {
    font-size: 1.5rem;
    min-width: 40px;
    color: #333;
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f44336;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.next {
    right: 30px;
}

.lightbox-download-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.download-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 300;
    user-select: none;
}

.lightbox-download-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lightbox-download-btn:hover {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.5);
}

.lightbox-download-btn:active {
    transform: scale(0.95);
}

.lightbox-qr-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lightbox-qr-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.lightbox-qr-btn:active {
    transform: scale(0.95);
}

.lightbox-image-container {
    position: relative;
    display: inline-block;
    max-width: 90%;
    max-height: 80vh;
}

.qr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    border-radius: 0;
}

.qr-overlay-content {
    padding: 30px;
    border-radius: 15px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.qr-close {
    position: absolute;
    top: -10px;
    right: 35px;
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s;
    z-index: 11;
}

.qr-close:hover {
    color: #000;
}

#qrCanvas {
    display: block;
    margin: 0 auto;
    max-width: 280px;
    width: 100%;
    height: auto;
    border: 3px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

/* Cart Modal Styles */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
}

.cart-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-content {
    background: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-cart {
    font-size: 35px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    background: #f9f9f9;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 25px;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.cart-qty-btn.minus {
    background: #ff6b6b;
    color: white;
}

.cart-qty-btn.minus:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.cart-qty-btn.plus {
    background: #51cf66;
    color: white;
}

.cart-qty-btn.plus:hover {
    background: #40c057;
    transform: scale(1.1);
}

.cart-qty-display {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.2rem;
}

.cart-summary {
    padding: 15px 20px;
    background: white;
    border-top: 2px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1rem;
}

.price-breakdown {
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
    padding: 15px 0;
}

.price-line {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #667eea;
    border-top: 2px solid #667eea;
    padding-top: 12px;
    margin-top: 8px;
}

.print-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0 0 20px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .cart-content, .cart-content * {
        visibility: visible;
    }
    
    .cart-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
    }
    
    .close-cart, .print-button {
        display: none;
    }
    
    .cart-header {
        background: white !important;
        color: black !important;
        border-bottom: 2px solid #333;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .header-actions {
        gap: 10px;
    }

    .cart-button {
        position: static;
        padding: 10px 20px;
        font-size: 1rem;
    }

    .logout-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cart-icon {
        font-size: 1.2rem;
    }

    .cart-count {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .photo-count {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }

    .gallery-item img {
        height: 200px;
    }

    .image-title {
        font-size: 0.85rem;
        padding: 10px;
    }

    .selection-controls {
        padding: 10px;
        gap: 12px;
    }

    .download-controls {
        padding: 10px;
        gap: 8px;
    }

    .download-text {
        font-size: 0.85rem;
    }

    .quantity-btn {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }

    .quantity-display {
        font-size: 1.1rem;
        min-width: 25px;
    }

    .cart-content {
        max-width: 95%;
    }

    .cart-header h2 {
        font-size: 1.4rem;
    }

    .cart-item {
        gap: 15px;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
    }

    .cart-item-title {
        font-size: 1rem;
    }

    .cart-item-quantity {
        font-size: 0.9rem;
    }

    .lightbox-content {
        max-width: 100%;
        max-height: 70vh;
    }

    .lightbox-caption {
        font-size: 1rem;
        padding: 15px;
    }

    .lightbox-controls {
        gap: 15px;
        padding: 12px 25px;
        margin-top: 15px;
    }

    .lightbox-controls .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .lightbox-controls .quantity-display {
        font-size: 1.3rem;
        min-width: 35px;
    }

    .lightbox-image-container {
        max-width: 95%;
        max-height: 70vh;
    }

    .qr-overlay-content {
        padding: 20px;
        max-width: 95%;
    }

    #qrCanvas {
        max-width: 240px;
        padding: 8px;
        border-width: 2px;
    }

    .qr-close {
        font-size: 2rem;
        top: -15px;
        right: 50px;
        font-weight: bold;
        color: white;
    }

    .lightbox-download-btn,
    .lightbox-qr-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .prev, .next {
        font-size: 20px;
        padding: 10px 15px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* Mobile Footer Menu */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px 0;
}

.footer-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-btn:active {
    background: #f0f0f0;
    border-radius: 10px;
}

.footer-icon {
    font-size: 1.5rem;
}

.footer-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.footer-cart-badge {
    position: absolute;
    top: 5px;
    right: 50%;
    transform: translateX(15px);
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: translateX(15px) scale(1);
        box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4),
                    0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateX(15px) scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6),
                    0 3px 12px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Space for footer menu */
    }

    .mobile-footer {
        display: flex;
    }

    .header-actions {
        display: none !important;
    }

    .cart-button {
        display: none !important;
    }

    .logout-button {
        display: none !important;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 130%;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }

    body {
        padding: 10px;
    }
}

/* Additional Inline Style Classes */

/* User Description Header */
#userDescription {
    margin: 8px 0 0 0;
    color: rgba(255, 255, 255, 1);
    font-size: 1.5rem;
    line-height: 1.5;
    display: none;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Sync Indicator */
#syncIndicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* QR Code Overlay */
#qrCodeOverlay {
    display: none;
}

.qr-instruction-text {
    color: white;
    margin: 15px 0 0 0;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Logout Modal Styles */
.logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.logout-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 360px;
    animation: zoomIn 0.3s ease;
}

.logout-modal-content h2 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.logout-modal-content p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 25px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.logout-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.logout-modal-btn {
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-modal-btn.confirm {
    background: white;
    color: #764ba2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logout-modal-btn.confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logout-modal-btn.cancel {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.logout-modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Admin Users Textarea Styles */
#userDescription,
#editUserDescription {
    font-family: inherit;
    resize: vertical;
}

/* Script.js Error Message Styles */
.error-container {
    grid-column: 1/-1;
    text-align: center;
    color: white;
    padding: 40px;
}

.error-details {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Download.php Error Image Style */
.error-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
