:root {
    --primary-color: #7c3aed;
    --primary-hover: #6d28d9;
    --background-color: #ffffff;
    --text-color: #1f2937;
    --border-color: #e5e7eb;
    --message-bg: #f3f4f6;
    --ai-message-bg: #f3f4f6;
    --user-message-bg: #7c3aed;
    --user-message-text: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --icon-color: #1f2937;
    --icon-color-accent: #7c3aed;
    --icon-credits: #fbbf24;
    --icon-credits-bg: #fde68a;
}

[data-theme="dark"] {
    --background-color: #1f2937;
    --text-color: #f3f4f6;
    --border-color: #374151;
    --message-bg: #374151;
    --ai-message-bg: #374151;
    --user-message-bg: #7c3aed;
    --user-message-text: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --icon-color: #fff;
    --icon-color-accent: #a78bfa;
    --icon-credits: #fde68a;
    --icon-credits-bg: #fbbf24;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-color);
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.chat-container {
    max-width: 800px;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.profile-section {
    display: flex;
    align-items: center;
    height: 56px;
    gap: 1rem;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 56px;
}

#profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    height: 56px;
    line-height: 56px;
    padding: 0;
}

.credits-counter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 0.25rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    display: flex;
    align-items: center;
    height: 40px;
}

.status {
    font-size: 0.875rem;
    color: #10b981;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-button {
    background: none !important;
    border: none;
    color: var(--icon-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s;
    box-shadow: none;
}
.action-button svg {
    color: var(--icon-color);
    stroke: var(--icon-color);
    fill: none;
    transition: color 0.2s, stroke 0.2s;
}
.action-button#credits-counter svg {
    color: var(--icon-credits);
    stroke: var(--icon-credits);
    fill: var(--icon-credits-bg);
}
.action-button#credits-counter #credits-count-text {
    color: var(--icon-credits);
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 8px;
}
.action-button:hover, .action-button:focus {
    background: rgba(124, 58, 237, 0.08) !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

/* Hide close button in subscription modal at 0 credits */
#close-subscription-modal[style*="display: none"] {
    display: none !important;
}

#delete-conversation {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}
#delete-conversation:hover {
    background-color: var(--message-bg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    position: relative;
}

.ai-message {
    align-self: flex-start;
    background-color: var(--ai-message-bg);
    border-bottom-left-radius: 0.25rem;
}

.user-message {
    align-self: flex-end;
    background-color: var(--user-message-bg);
    color: var(--user-message-text);
    border-bottom-right-radius: 0.25rem;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    text-align: right;
}

.typing-indicator {
    display: none;
    padding: 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.typing-indicator.active {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-color);
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    background-color: var(--message-bg);
    padding: 0.5rem;
    border-radius: 1.5rem;
    align-items: center;
}

#user-input {
    flex: 1;
    border: none;
    background: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    padding: 0.5rem;
    max-height: 100px;
    min-height: 40px;
    outline: none;
    line-height: 1.5;
}

.send-button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.send-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Profile Popup Styles */
.profile-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.profile-popup.active {
    display: flex;
}

.popup-content {
    background-color: var(--background-color);
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.popup-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: var(--background-color);
    z-index: 1;
}

.popup-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-body {
    padding: 1.5rem;
}

/* Profile Gallery Styles */
.profile-gallery {
    margin-bottom: 1.5rem;
}

.gallery-container {
    margin-bottom: 1.5rem;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main img.active {
    opacity: 1;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumbnails img {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px var(--shadow-color);
}

.gallery-thumbnails img.active {
    border: 2px solid var(--primary-color);
}

.profile-details {
    padding: 1rem 0;
}

.profile-details h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.profile-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label {
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
}

.info-value {
    font-weight: 600;
    color: var(--text-color);
}

.profile-description {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
}

.profile-description p {
    margin-bottom: 0.5rem;
}

/* Subscription Modal Styles */
.subscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.subscription-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.subscription-content {
    background-color: var(--background-color);
    border-radius: 1rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    animation: slideUp 0.4s ease-out;
}

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

.subscription-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: var(--background-color);
    z-index: 1;
}

.subscription-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.close-button:hover {
    background-color: var(--message-bg);
}

.subscription-body {
    padding: 1.5rem;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.plan-card {
    background-color: var(--message-bg);
    border-radius: 1rem;
    padding: 1.25rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: auto;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, var(--message-bg), rgba(124, 58, 237, 0.05));
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.plan-header {
    text-align: center;
    margin-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

.plan-price span {
    font-size: 1rem;
    opacity: 0.7;
    -webkit-text-fill-color: var(--text-color);
}

.plan-features {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.plan-features ul {
    list-style: none;
    padding: 0;
}

.plan-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.plan-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

.plan-button {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .chat-container {
        height: 95vh;
        border-radius: 12px;
    }
    
    .subscription-content {
        width: 95%;
        margin: 1rem;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .plan-card {
        padding: 1rem;
    }
    
    .plan-header h3 {
        font-size: 1.1rem;
    }
    
    .plan-price {
        font-size: 1.5rem;
    }
    
    .plan-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .credits-counter {
        font-size: 0.9rem;
        padding: 0.2rem 0.7rem;
        margin-right: 0.5rem;
        height: 32px;
    }
    .profile-info {
        height: 32px;
    }
    #profile-name {
        font-size: 1.1rem;
        height: 32px;
        line-height: 32px;
    }
    .status-indicator {
        width: 8px;
        height: 8px;
    }
    .header-content, .profile-section {
        height: 44px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .chat-container {
        height: 100vh;
        border-radius: 0;
    }
    
    .subscription-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .subscription-header {
        padding: 1rem;
    }
    
    .subscription-body {
        padding: 1rem;
    }
    
    .plan-card {
        padding: 1rem;
    }
    
    .plan-button {
        padding: 0.5rem;
    }
}

/* Remove auth modal styles */
.auth-modal,
.auth-content,
.auth-header,
.auth-tabs,
.auth-forms,
.auth-form,
.form-group,
.auth-button {
    display: none;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-content img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    align-self: flex-start;
    cursor: pointer;
}

.message-content img:hover {
    transform: scale(1.02);
}

/* Image Viewer Modal */
.image-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.image-viewer-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.image-viewer-content .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.image-viewer-content .close-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px rgba(16, 185, 129, 0.2);
    margin-left: 6px;
}

#sound-toggle {
    position: relative;
}

#sound-toggle.muted svg {
    opacity: 0.5;
}

#sound-toggle.muted::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 24px;
    background-color: var(--text-color);
    transform: translate(-50%, -50%) rotate(45deg);
}

.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.confirm-modal.active {
    display: flex;
}
.confirm-modal-content {
    background: var(--background-color);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    text-align: center;
    min-width: 280px;
    max-width: 90vw;
}
.confirm-modal-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.confirm-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.confirm-btn.yes {
    background: #ef4444;
    color: #fff;
}
.confirm-btn.no {
    background: #e5e7eb;
    color: #1f2937;
}
.confirm-btn.yes:hover {
    background: #b91c1c;
}
.confirm-btn.no:hover {
    background: #d1d5db;
}

/* Modern custom scrollbar for chat and modals */
.chat-messages, .subscription-modal .subscription-content, .profile-popup .popup-content, .image-viewer-modal .image-viewer-content {
    scrollbar-width: thin;
    scrollbar-color: #a78bfa #f3f4f6;
}
.chat-messages::-webkit-scrollbar, .subscription-modal .subscription-content::-webkit-scrollbar, .profile-popup .popup-content::-webkit-scrollbar, .image-viewer-modal .image-viewer-content::-webkit-scrollbar {
    width: 8px;
    background: #f3f4f6;
    border-radius: 8px;
}
.chat-messages::-webkit-scrollbar-thumb, .subscription-modal .subscription-content::-webkit-scrollbar-thumb, .profile-popup .popup-content::-webkit-scrollbar-thumb, .image-viewer-modal .image-viewer-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    border-radius: 8px;
}
.chat-messages::-webkit-scrollbar-thumb:hover, .subscription-modal .subscription-content::-webkit-scrollbar-thumb:hover, .profile-popup .popup-content::-webkit-scrollbar-thumb:hover, .image-viewer-modal .image-viewer-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

/* Voucher reveal link and animation */
.voucher-reveal-link {
    display: block;
    color: #7c3aed;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    text-decoration: underline dotted;
}
.voucher-reveal-link:hover {
    opacity: 1;
    text-decoration: underline;
}
.voucher-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4,1.3,.6,1), padding 0.3s;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}
.voucher-section.active {
    max-height: 120px;
    margin-top: 1.2rem;
    padding: 18px 0 0 0;
    opacity: 1;
    pointer-events: auto;
}
.voucher-section input {
    padding: 0.7rem 1.2rem;
    border-radius: 1.5rem;
    border: 1.5px solid #a78bfa;
    max-width: 220px;
    font-size: 1.08rem;
    margin-right: 0.7rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(124,58,237,0.08);
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    background: #fff;
}
[data-theme="dark"] .voucher-section input {
    background: #232136;
    color: #fff;
    border: 1.5px solid #a78bfa;
}
.voucher-section input:focus {
    border: 1.5px solid #7c3aed;
    box-shadow: 0 2px 16px rgba(124,58,237,0.18);
}
.voucher-section button {
    padding: 0.7rem 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 1.08rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(124,58,237,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 0.2rem;
}
.voucher-section button:hover {
    background: linear-gradient(90deg, #a78bfa 0%, #7c3aed 100%);
    box-shadow: 0 4px 18px rgba(124,58,237,0.18);
}
.voucher-section input, .voucher-section button {
    margin-bottom: 0.2rem;
}

.congrats-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(124,58,237,0.10);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}
.congrats-modal.active {
    display: flex;
}
.congrats-modal-content {
    background: var(--background-color);
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    box-shadow: 0 8px 32px rgba(124,58,237,0.18);
    text-align: center;
    min-width: 280px;
    max-width: 90vw;
    position: relative;
    animation: popIn 0.4s cubic-bezier(.4,1.3,.6,1);
}
@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.congrats-message {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7c3aed;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.01em;
}
#close-congrats-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--icon-color);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#close-congrats-modal:hover {
    background: #f3f4f6;
} 