/* izimagen Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

body {
    background-color: var(--light-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.shadow-sm {
    box-shadow: var(--card-shadow) !important;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
}

/* Profile item shadows: subtle default, stronger on hover */
.profile-item {
    box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
    transition: box-shadow 0.18s ease, transform 0.12s ease;
    will-change: box-shadow, transform;
}

.profile-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    transform: translateY(-3px);
}

/* Template Cards (Homepage) */
.template-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    height: 100%;
    border-radius: 12px;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.template-card img {
    height: 200px;
    object-fit: contain;
    margin: 0.5em;
}

.badge-tag {
    margin: 2px;
}

/* Upload Zone */
.upload-zone {
    background-color: #fff;
    width: 500px;
    height: 500px;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    margin: 0 auto;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background-color: #f8f9ff;
}

.upload-label {
    cursor: pointer;
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
}

.upload-zone.drag-over {
    border-color: var(--primary-color);
    background-color: #e7f1ff;
}

/* Image Preview */
#imagePreview {
    margin-bottom: 1rem;
}

.preview-image-container {
    background-color: #fff;
    background-image: 
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.preview-image {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#removeImage {
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Sample Images */
.sample-image {
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* Form Controls */
.form-select,
.form-control {
    border-radius: 8px;
}

.form-select-lg {
    padding: 12px 16px;
    font-size: 1rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 1.1rem;
}

.btn-primary {
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    transform: translateY(-1px);
}

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

/* Result Cards */
.result-placeholder {
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.result-image-container {
    background-color: #fff;
    background-image: 
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.result-image-container img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Progress */
#progressCard .progress {
    height: 25px;
    border-radius: 8px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 8px;
    font-weight: 600;
}

#progressMessage {
    font-size: 0.95rem;
    color: var(--secondary-color);
}

/* Rating Stars */
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.rating-stars .star {
    cursor: pointer;
    color: #dee2e6;
    transition: all 0.2s;
    display: inline-block;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: var(--warning-color);
    transform: scale(1.1);
}

/* Credits Display */
#creditsDisplay {
    font-weight: 500;
}

.credits-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Navbar Credits Alignment */
.navbar-nav .navbar-text {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0.5rem 0;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/* Image Zoom Functionality */
.result-image-container img,
#outputImg,
.sample-image {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-image-container img:hover,
#outputImg:hover,
.sample-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Status Info */
#statusInfo {
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Modal */
.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: none;
}

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

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

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

.slide-up {
    animation: slideUp 0.4s ease-out;
}

/* Loading Spinner */
.spinner-container {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .preview-image-container,
    .result-image-container,
    .result-placeholder {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .template-card img {
        height: 150px;
        object-fit: contain;
        margin: 0.5em;
    }
    
    .upload-zone {
        /* padding: 30px 15px; */
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .preview-image-container,
    .result-image-container,
    .result-placeholder {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Template detail back button mobile optimization */
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link .bi-arrow-left {
        font-size: 0.8rem;
    }
    
    /* Crop Modal Styles */
    .crop-wrapper {
        position: relative;
        border: 2px solid #dee2e6;
        border-radius: 8px;
        overflow: hidden;
        background: #f8f9fa;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #cropCanvas {
        display: block;
        max-width: 100%;
        max-height: 400px;
        cursor: crosshair;
        margin: 0 auto;
        touch-action: none; /* Prevent default touch behaviors */
        user-select: none; /* Prevent text selection */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    #cropSelection {
        position: absolute;
        border: 2px dashed #007bff;
        background: rgba(0, 123, 255, 0.1);
        display: none;
        pointer-events: none;
    }
    
    /* Mobile crop modal optimization */
    @media (max-width: 768px) {
        .crop-wrapper {
            min-height: 300px;
            padding: 10px;
        }
        
        #cropCanvas {
            max-height: 300px;
            width: 100%;
            height: auto;
        }
        
        /* Make crop modal fullscreen on mobile */
        #cropModal .modal-dialog {
            margin: 0;
            max-width: 100%;
            height: 100vh;
        }
        
        #cropModal .modal-content {
            height: 100vh;
            border-radius: 0;
        }
        
        #cropModal .modal-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 15px;
        }
    }
    
    @media (max-width: 576px) {
        .crop-wrapper {
            min-height: 250px;
            padding: 5px;
        }
        
        #cropCanvas {
            max-height: 250px;
            width: 100%;
            height: auto;
        }
        
        #cropModal .modal-body {
            padding: 10px;
        }
        
        #cropModal .alert {
            font-size: 0.9rem;
            padding: 0.75rem;
        }
    }
    
    /* Pricing page styles */
    .pricing-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 2px solid transparent;
    }
    
    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    .pricing-card.featured {
        border: 2px solid #007bff;
        position: relative;
        box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
    }
    
    .pricing-card.featured .card-title {
        color: #007bff;
        font-weight: 700;
    }
    
    .pricing-card.featured .pricing-price .display-4 {
        color: #007bff;
        font-weight: 800;
    }
    
    .pricing-card.featured .btn-primary {
        background: #007bff;
        border-color: #007bff;
        font-weight: 600;
    }
    
    .pricing-card.featured .btn-primary:hover {
        background: #0056b3;
        border-color: #0056b3;
        transform: translateY(-2px);
    }
    
    .pricing-icon {
        width: 80px;
        height: 80px;
    }
    
    .pricing-badge {
        font-size: 0.875rem;
        font-weight: 600;
    }
    
    .pricing-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .pricing-features li:last-child {
        border-bottom: none;
    }
    
    .pricing-price {
        margin: 1rem 0;
    }
    
    .qr-code-container {
        background: #f8f9fa;
        border-radius: 0.5rem;
        padding: 1rem;
        display: inline-block;
    }
    
    .payment-details {
        background: #f8f9fa;
        border-radius: 0.5rem;
        padding: 1rem;
    }
    
    /* Pricing page mobile optimizations */
    @media (max-width: 768px) {
        .pricing-card {
            margin-bottom: 1rem;
        }
        
        .pricing-icon {
            width: 60px;
            height: 60px;
        }
        
        .pricing-price .display-4 {
            font-size: 2.5rem;
        }
        
        
        .qr-code-container img {
            max-width: 250px;
        }
    }
    
    /* Profile page mobile optimizations */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-header h4 {
        font-size: 1.1rem;
    }
    
    .btn-group .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Statistics cards mobile */
    .col-6 .card-body {
        padding: 0.75rem;
    }
    
    .col-6 .card-body i {
        font-size: 1.25rem !important;
    }
    
    .col-6 .card-title {
        font-size: 1.1rem;
    }
    
    .col-6 .card-text {
        font-size: 0.8rem;
    }
    
    .d-flex.align-items-center:last-child {
        margin-bottom: 0;
    }
    
    /* Modal mobile */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-body {
        padding: 1rem 0.5rem;
    }
}

/* Admin page responsive tweaks */
@media (max-width: 768px) {
    .admin-table-wrapper {
        margin-bottom: 1rem;
    }
    .admin-table .form-control-sm,
    .admin-table .form-control {
        width: 100%;
        min-width: 120px;
    }

    /* Make action buttons stack and fill width on mobile */
    .admin-table .save-user,
    .admin-table .delete-user {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Reduce padding for table cells on small screens */
    .admin-table td,
    .admin-table th {
        padding: 0.4rem 0.5rem;
    }
}

/* Admin login small style on desktop */
.admin-login {
    max-width: 520px; /* default max width */
    margin: 0 auto;
}

@media (min-width: 992px) {
    /* Make the admin login form smaller and more compact on larger screens */
    .admin-login {
        max-width: 420px;
        padding: 1rem 1.25rem; /* less padding than the default p-4 */
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    }

    .admin-login h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .admin-login .form-label {
        font-size: 0.9rem;
    }

    .admin-login .form-control {
        padding: 8px 10px;
        font-size: 0.95rem;
    }

    .admin-login button.btn {
        padding: 8px 12px;
        font-size: 0.93rem;
    }
}

@media (max-width: 480px) {
    .admin-table .name-input,
    .admin-table .email-input,
    .admin-table .credits-input {
        font-size: 0.85rem;
        padding: 6px 8px;
    }
    .admin-table .btn {
        font-size: 0.85rem;
    }
}

/* Show/hide for mobile/desktop admin lists */
.mobile-only { display: none; }
.table-desktop-only { display: block; }

@media (max-width: 768px) {
    .mobile-only { display: block; }
    .table-desktop-only { display: none; }
}

.user-card .form-label.small { font-size: 0.75rem; }
.user-card .mobile-credits-input { width: 120px; }

@media (max-width: 576px) {
    /* Extra small screens */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .col-6 .card-body {
        padding: 0.5rem;
    }
    
    .col-6 .card-body i {
        font-size: 1rem !important;
    }
    
    .col-6 .card-title {
        font-size: 1rem;
    }
    
    .col-6 .card-text {
        font-size: 0.75rem;
    }
    
    .btn-group .btn {
        padding: 0.25rem 0.375rem;
        font-size: 0.8rem;
    }
    
    .modal-dialog {
        margin: 0.25rem;
    }
}

/* Image Zoom Modal (standard, optimized) */
#imageZoomModal .modal-content {
    background: #0b0b0b;                            /* dark frame to blend with black canvas */
    border-radius: 14px;                            /* slightly rounder for modern look */
    border: 1px solid rgba(255, 255, 255, 0.14);    /* subtle light border on dark */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5),       /* depth */
                0 0 0 1px rgba(255,255,255,0.03);  /* crisp edge */
}

#imageZoomModal .modal-dialog {
    max-width: none;
    margin: auto;
    width: fit-content;
    max-width: 100vw;
}

#imageZoomModal .modal-body {
    padding: 0;                           /* maximize image area */
    max-height: 85vh;                     /* fit to viewport */
    max-width: 98vw;                      /* fit to viewport width */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;                     /* black canvas for letterboxing */
}

#imageZoomModal #zoomImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Overlay Controls (top-right over image) */
#imageZoomModal .zoom-overlay-controls {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.65;
    transition: opacity 0.2s ease;
    z-index: 5;
}

#imageZoomModal .zoom-overlay-controls:hover,
#imageZoomModal .zoom-overlay-controls:focus-within {
    opacity: 1;
}

/* Make overlay buttons subtle on dark background */
#imageZoomModal .zoom-overlay-controls .btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

#imageZoomModal .zoom-overlay-controls .btn-outline-light:hover,
#imageZoomModal .zoom-overlay-controls .btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Mobile optimization - tight fit */
@media (max-width: 576px) {
    #imageZoomModal .modal-dialog {
        margin: 0;
        width: 100vw;
    }
    
    #imageZoomModal .modal-content {
        border-radius: 0;
        border: none;
    }
    
    #imageZoomModal .modal-body {
        max-height: calc(100vh - 2rem);
        width: 100vw;
    }
    
    #imageZoomModal .zoom-overlay-controls {
        top: 0.25rem;
        right: 0.25rem;
        gap: 0.25rem;
        opacity: 0.75;
    }
}

/* Collapse Toggle */
[data-bs-toggle="collapse"] {
    cursor: pointer;
    transition: all 0.3s;
}

[data-bs-toggle="collapse"]:hover {
    opacity: 0.8;
}

[data-bs-toggle="collapse"] .bi-chevron-down {
    transition: transform 0.3s ease;
}

[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.border-0 {
    border: none !important;
}

/* Error Styling */
.error-border {
    border: 2px solid var(--danger-color) !important;
}

/* Success State */
.success-glow {
    box-shadow: 0 0 20px rgba(25, 135, 84, 0.3);
}

/* Navbar Styles */
.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

/* Responsive logo sizing */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 28px !important;
    }
    .navbar-brand .fs-4 {
        font-size: 1.1rem !important;
    }
}

.navbar-nav .nav-link {
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Language switcher button styling */
.navbar-nav .nav-link.dropdown-toggle {
    color: rgba(255, 255, 255, 0.75) !important;
}

.navbar-nav .nav-link.dropdown-toggle:hover {
    color: white !important;
}

/* Dropdown menu positioning fix */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    position: absolute !important;
    top: 100%;
    z-index: 1050;
    min-width: 200px;
}

.navbar .dropdown-menu-end {
    right: 0;
    left: auto;
}

.credits-display {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    cursor: pointer;
}

.credits-display:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.credits-display::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
}

.credits-display .bi-coin {
    color: #b8860b;
    font-size: 1.1em;
}

/* Paid user credits display - green theme */
.credits-display.paid-user {
    background: linear-gradient(135deg, #05f21f, #34d399);
    color: #ffffff;
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.credits-display.paid-user:hover {
    background: linear-gradient(135deg, #05f21f, #34d399);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.credits-display.paid-user::before {
    background: linear-gradient(135deg, #05f21f, #34d399);
}

.credits-display.paid-user .bi-coin {
    color: #d1fae5;
}

.navbar-toggler {
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile navbar improvements */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        border-radius: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px);
    }
    
    .credits-display {
        border-radius: 12px;
        font-weight: 600;
    }
    
    .credits-display:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
    
    /* Ensure proper spacing and alignment */
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .nav-item {
        margin-bottom: 0.5rem;
    }
    
    /* Fix text color inheritance */
    .navbar-nav .nav-link,
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: white !important;
    }
    
    /* Language switcher mobile styling */
    .navbar-nav .nav-link.dropdown-toggle {
        color: white !important;
    }
}

/* Features Page Styles */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #fff;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
    transform: scale(1.1);
}

.feature-card .card-title {
    color: #2c3e50;
    font-size: 1.25rem;
}

.feature-card .card-text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-card ul li {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA pulse effect for Buy Credits button */
@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 14px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.btn-cta-pulse {
    animation: ctaPulse 1.6s infinite;
}

/* Hints chips hover and active effects */
.param-hints .badge {
    transition: all 0.2s ease;
}

.param-hints .badge:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.param-hints .badge:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 2px rgba(13, 110, 253, 0.3);
}
