﻿.create-page-container {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 3rem;
}

.prompt-card {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.prompt-textarea {
    width: 100%;
    padding: 1.5rem;
    border: none;
    outline: none;
    resize: none;
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-family: inherit;
    line-height: 1.6;
    min-height: 80px;
}

    .prompt-textarea::placeholder {
        color: var(--gray-400);
    }

.prompt-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.prompt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* Aspect Ratio Dropdown Styles */
.aspect-ratio-wrapper {
    position: relative;
}

.aspect-ratio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .aspect-ratio-btn:hover {
        background: var(--gray-50);
        border-color: var(--gray-300);
    }

    .aspect-ratio-btn i {
        font-size: 1.125rem;
    }

    .aspect-ratio-btn .ratio-text {
        color: var(--gray-900);
    }

.aspect-ratio-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

    .aspect-ratio-dropdown button {
        width: 100%;
        padding: 0.75rem 1rem;
        border: none;
        background: transparent;
        text-align: left;
        cursor: pointer;
        transition: all var(--transition);
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.875rem;
        color: var(--gray-700);
    }

        .aspect-ratio-dropdown button:hover {
            background: var(--gray-50);
        }

        .aspect-ratio-dropdown button i {
            font-size: 1.125rem;
            color: var(--gray-500);
        }

        .aspect-ratio-dropdown button .ratio-label {
            flex: 1;
        }

        .aspect-ratio-dropdown button .ratio-value {
            color: var(--gray-500);
            font-size: 0.8125rem;
        }

.submit-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient( 135deg, var(--primary-start) 0%, var(--primary-end) 100% );
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
    }


    .submit-btn i {
        font-size: 1.25rem;
    }

.section-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.template-card {
    position: relative;
    width: 320px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .template-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    }

        .template-card:hover .template-overlay {
            opacity: 1;
        }

        .template-card:hover .template-image {
            transform: scale(1.05);
        }

.template-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 0 0;
}

.template-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.template-title {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feedback-section {
    max-width: 900px;
    margin: 2rem auto;
    display: none;
}

.feedback-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feedback-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feedback-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .feedback-icon.processing {
        background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    }

    .feedback-icon.success {
        background: var(--success);
    }

    .feedback-icon.error {
        background: var(--danger);
    }

    .feedback-icon i {
        font-size: 1.5rem;
        color: var(--white);
    }

.feedback-content {
    flex: 1;
}

    .feedback-content h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--gray-900);
        margin-bottom: 0.5rem;
    }

    .feedback-content p {
        color: var(--gray-600);
        margin-bottom: 1rem;
        line-height: 1.5;
    }

.feedback-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.carousel-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
}

    .carousel-scroll::-webkit-scrollbar {
        display: none;
    }

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .carousel-nav:hover {
        background: var(--gray-50);
        transform: translateY(-50%) scale(1.05);
    }

    .carousel-nav.prev {
        left: 0;
    }

    .carousel-nav.next {
        right: 0;
    }

    .carousel-nav i {
        font-size: 1.25rem;
        color: var(--gray-700);
    }

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Featured Templates Section */
.featured-templates-section {
    margin: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: left;
    margin-bottom: 0.5rem;
    margin-left: 60px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    text-align: left;
    margin-bottom: 2rem;
    margin-left: 60px;
}

.template-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.template-carousel-container {
    overflow: hidden;
}

.template-carousel-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .template-carousel-scroll::-webkit-scrollbar {
        display: none;
    }

/* Carousel Arrow Buttons */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .carousel-arrow:hover {
        background: var(--gray-50);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

    .carousel-arrow:active {
        transform: translateY(-50%) scale(1.05);
    }

.carousel-arrow-left {
    left: 0.5rem;
}

.carousel-arrow-right {
    right: 0.5rem;
}

.carousel-arrow i {
    font-size: 1.5rem;
    color: var(--gray-700);
}


/* Feedback Button Styles */
.feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

    .feedback-btn.primary {
        background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    }

        .feedback-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
        }

    .feedback-btn.secondary {
        background: var(--gray-100);
        color: var(--gray-700);
        border: 1px solid var(--gray-200);
    }

        .feedback-btn.secondary:hover {
            background: var(--gray-200);
            transform: translateY(-2px);
        }

    .feedback-btn i {
        font-size: 1rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .template-carousel {
        padding: 0 3rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

        .carousel-arrow i {
            font-size: 1.25rem;
        }

    .template-card {
        width: 280px;
    }
}

@media (max-width: 640px) {
    .page-title {
        font-size: 2rem;
    }

    .template-carousel {
        padding: 0 2.5rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

        .carousel-arrow i {
            font-size: 1.125rem;
        }

    .template-card {
        width: 240px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Prompt Footer Mobile - Stack everything vertically */
    .prompt-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .prompt-actions {
        flex-direction: column;
        width: 100%;
    }

    .aspect-ratio-wrapper {
        width: 100%;
    }

    .aspect-ratio-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .prompt-create-btn {
        width: 100%;
        justify-content: center;
    }

    .aspect-ratio-dropdown {
        width: 100%;
        left: 0;
        right: 0;
    }
}


/* Wrapper for prompt card to attach panels */
.prompt-card-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem;
}

    /* Update existing prompt-card to remove margins when using wrapper */
    .prompt-card-wrapper .prompt-card {
        margin: 0;
    }

/* Progress Panel - Attached to prompt box */
.progress-panel {
    position: relative;
    margin-top: -1px;
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    border-radius: 0 0 1.5rem 1.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .progress-panel.ds-hidden {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        max-height: 0;
        padding: 0 1.5rem;
        overflow: hidden;
    }

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.8) 100% );
    border-radius: 3px;
    width: 40%;
    animation: progress-slide 1.5s ease-in-out infinite;
}

@keyframes progress-slide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

.progress-text {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.progress-spinner {
    font-size: 1.125rem;
    animation: spin 1s linear infinite;
}

/* Error Panel - Expandable attached to prompt box */
.error-panel {
    position: relative;
    margin-top: -1px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .error-panel.ds-hidden {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        pointer-events: none;
        border: none;
    }

.error-panel-content {
    padding: 1.25rem 1.5rem;
}

.error-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.error-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.error-details {
    flex: 1;
}

    .error-details h4 {
        margin: 0 0 0.5rem 0;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--gray-900);
    }

    .error-details p {
        margin: 0;
        font-size: 0.875rem;
        color: var(--gray-600);
        line-height: 1.5;
    }

.error-close-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

    .error-close-btn:hover {
        background: var(--gray-200);
        color: var(--gray-700);
    }

/* Animated spinner for button icon */
.btn-spinner {
    animation: spin 1s linear infinite;
}

/* Processing state for prompt-create-btn */
.prompt-create-btn.processing {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    cursor: not-allowed;
    opacity: 0.8;
}

/* Mobile responsive adjustments for new panels */
@media (max-width: 768px) {
    .progress-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .progress-text {
        justify-content: center;
    }

    .error-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .error-close-btn {
        align-self: flex-end;
    }
}


/* Tablet: Allow wrapping but keep horizontal layout */
@media (min-width: 641px) and (max-width: 1024px) {
    .prompt-actions {
        flex: 1;
        min-width: 0;
    }

    .aspect-ratio-wrapper {
        flex: 1;
        min-width: 120px;
    }

    .prompt-create-btn {
        flex-shrink: 0;
        min-width: 120px;
    }
}

/* Desktop: Maintain current layout */
@media (min-width: 1025px) {
    .prompt-actions {
        display: flex;
        gap: 8px;
    }

    .aspect-ratio-wrapper {
        flex-shrink: 0;
    }
}

/* Ensure buttons don't overflow */
.aspect-ratio-btn,
.prompt-create-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make dropdowns stack properly on small screens */
@media (max-width: 640px) {
    .aspect-ratio-dropdown {
        width: 100%;
        left: 0;
        right: 0;
    }
}
/* Prompt Create Button overflow protection */
.prompt-create-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.resolution-locked {
    opacity: 0.6;
    cursor: not-allowed !important;
}

    .resolution-locked:hover {
        background-color: var(--gray-50) !important;
    }

.aspect-ratio-dropdown button .hgi-lock-01 {
    font-size: 14px;
    margin-left: auto;
}

/* ========================================================================
   UPGRADE MODAL STYLES
   ======================================================================== */

#upgradeModal {
    animation: fadeIn 0.2s ease-out;
}

    #upgradeModal.modal-enter {
        animation: modalSlideIn 0.3s ease-out;
    }

    #upgradeModal > div:first-child {
        /* Backdrop animation */
        animation: backdropFadeIn 0.2s ease-out;
    }

/* Modal slide-in animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Backdrop fade-in */
@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Ensure modal is centered */
#upgradeModal .flex.min-h-full {
    animation: contentFadeIn 0.3s ease-out 0.1s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover effects for features */
#upgradeModal .flex.items-start.gap-3 {
    transition: transform 0.2s ease;
}

    #upgradeModal .flex.items-start.gap-3:hover {
        transform: translateX(4px);
    }

/* Responsive adjustments */
@media (max-width: 640px) {
    #upgradeModal .relative.transform {
        margin: 1rem;
    }
}


/* ========================================
   Z-INDEX FIX FOR MODALS OVER FLOATING PROMPT
   ======================================== */

/* Floating prompt has z-index: 100, so modals need to be higher */

/* ===== FEEDBACK MODAL ===== */
/* Feedback Modal - Main Container */
#feedbackModal {
    z-index: 9999 !important; /* Above everything including floating prompt */
}

    /* Feedback Modal - Backdrop (first div - the dark overlay) */
    #feedbackModal > div.ds-fixed.ds-inset-0 {
        z-index: 9998 !important; /* Backdrop layer */
        background-color: rgba(0, 0, 0, 0.7) !important; /* Darker background to match onboarding */
        backdrop-filter: blur(4px) !important; /* Add blur effect */
        -webkit-backdrop-filter: blur(4px) !important; /* Safari support */
    }

    /* Feedback Modal - Content Wrapper (second div - flex container) */
    #feedbackModal > div.ds-flex {
        position: relative !important;
        z-index: 9999 !important; /* Content on top of backdrop */
    }

        /* Feedback Modal - White Box (the actual modal content) */
        #feedbackModal > div.ds-flex > div.ds-relative {
            position: relative !important;
            z-index: 10000 !important; /* Ensure modal content is on top */
        }

/* ===== ONBOARDING MODAL ===== */
/* Onboarding Modal - Container */
#onboardingModal {
    z-index: 9999 !important; /* Above everything */
}

    /* Onboarding Modal - Backdrop */
    #onboardingModal .onboarding-backdrop,
    #onboardingModal > div:first-child {
        z-index: 9998 !important; /* Backdrop just below modal container */
    }

    /* Onboarding Modal - Content Container */
    #onboardingModal > div:nth-child(2),
    #onboardingModal .onboarding-container {
        position: relative !important;
        z-index: 9999 !important; /* Content on top */
    }

.template-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card.playing img.template-thumb {
    opacity: 0;
}

.template-card.playing video {
    opacity: 1;
}

/* Premium template badge */
.premium-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    z-index: 5;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Lock icon for inaccessible templates */
.template-lock-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    font-size: 10px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* ── Upgrade Card Overlay (inline, inside template card) ────────────── */
.upgrade-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.upgrade-card-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.upgrade-card-overlay-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
}

.upgrade-card-overlay-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.upgrade-card-overlay-text strong {
    color: #fff;
    font-weight: 700;
}

.upgrade-card-overlay-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.upgrade-card-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgb(var(--color-primary, 91 141 239));
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.15s;
    flex-shrink: 0;
}

.upgrade-card-overlay-btn:hover {
    background: rgb(var(--color-primary-hover, 37 99 235));
}

