:root {
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-green-btn: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
    --gradient-mint: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    --gradient-gold: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

/* Utility classes for inline style replacements */
.hero-star-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.alert-hero-warning {
    background: rgba(255,255,255,0.9);
    color: #856404;
    font-size: 14px;
    padding: 10px;
}

.card-body-padded {
    padding: 30px;
}

.code-heading {
    font-weight: 500;
    color: #2c3e50;
}

.code-description {
    color: #6c757d;
    font-size: 14px;
}

.code-timer-alert {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
}

.input-capitalize {
    text-transform: capitalize;
}

/* Card Styles - Page Overrides */
.card {
    background: white;
}

.card-header {
    background: white;
    border-bottom: 2px solid #f8f9fa;
    padding: 20px;
}

.card-title {
    margin: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.card-subtitle {
    color: #6c757d;
    font-size: 16px;
    margin-top: 10px;
    font-weight: 300;
}

/* Hero Section with Quick Review */
.hero-wrapper {
    background: var(--gradient-purple);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    overflow: hidden;
}

.hero-section {
    color: white;
    padding: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-middle {
    flex: 1;
    text-align: center;
}

.hero-right {
    flex: 1;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

/* Benefits List */
.benefits-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 300;
}

.benefits-list i {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 14px;
}

/* Quick Review Form in Hero */
.quick-review-hero {
    text-align: center;
}

.quick-review-hero h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.quick-review-hero p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.quick-review-hero .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #495057;
    color: #495057;
    font-size: 16px;
}

.quick-review-hero .btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
    letter-spacing: 0.2px;
}

.quick-review-hero .btn i {
    color: #ffffff;
    transition: transform 0.25s ease;
}

.quick-review-hero .btn:hover {
    background: linear-gradient(135deg, #0ea674 0%, #047857 100%);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.45);
}

.quick-review-hero .btn:hover i {
    transform: translateX(3px);
}

/* Discover-program button — mirrors the review button geometry,
   amber gradient + rocket icon for an exploration vibe. */
.btn-discover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
    letter-spacing: 0.2px;
}

.btn-discover i {
    color: #ffffff;
    transition: transform 0.25s ease;
}

.btn-discover:hover {
    background: linear-gradient(135deg, #ea8a08 0%, #b45309 100%);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.45);
}

.btn-discover:hover i {
    transform: translate(2px, -3px) rotate(-12deg);
}

/* Form Cards */
.form-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.form-header {
    padding: 30px 30px 20px 30px;
    text-align: center;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.form-title {
    font-size: 24px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-description {
    color: #6c757d;
    font-size: 15px;
    font-weight: 300;
}

/* Signup bonus banner - matching verification reminder style */
.signup-bonus-banner {
    background: var(--gradient-mint);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(132, 250, 176, 0.3);
}

/* Different styling for login bonus banner */
.login-bonus-banner {
    background: var(--gradient-gold);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(254, 202, 87, 0.3);
}

.bonus-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: white;
}

.bonus-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bonus-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.bonus-points {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
}

.bonus-points i {
    font-size: 16px;
    color: #FFD700;
}

/* IMPROVED Form Styles with Better Contrast and Larger Desktop Fonts */
.form-floating {
    margin-bottom: 16px;
    position: relative;
}

.form-control {
    border: 1px solid #495057;
    border-radius: 8px;
    font-size: 16px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-weight: 400;
    background-color: #ffffff;
    color: #212529;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    background-color: #ffffff;
}

.form-floating > label {
    color: #495057;
    font-weight: 500;
    font-size: 16px;
}

/* Desktop specific font size increase */
@media (min-width: 992px) {
    .form-control {
        font-size: 18px;
        padding: 14px 18px;
    }
    
    .form-floating > label {
        font-size: 18px;
    }
    
    .form-text {
        font-size: 14px;
    }
    
    .form-check-label {
        font-size: 16px;
    }
    
    .btn {
        font-size: 18px;
        padding: 14px 28px;
    }
    
    .btn-lg {
        font-size: 20px;
        padding: 13px 28px;
    }
}

/* Desktop compact spacing — reclaim vertical whitespace in the
   Autentificare / Cont nou cards so the login column doesn't expand
   to match an over-padded signup column. Typography is preserved. */
@media (min-width: 992px) {
    .card-body-padded {
        padding: 22px 28px;
    }

    .form-header {
        padding: 22px 28px 12px;
    }

    .form-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .form-title {
        margin-bottom: 6px;
    }

    .signup-bonus-banner,
    .login-bonus-banner {
        margin-top: 14px;
        padding: 10px 14px;
    }

    .auth-toggle-container {
        padding: 8px;
        margin-bottom: 14px;
    }

    .form-floating {
        margin-bottom: 12px;
    }

    .form-control {
        padding: 11px 16px;
    }

    .form-message {
        margin-bottom: 14px;
        padding: 12px 16px;
    }

    .form-check {
        margin-bottom: 14px;
    }
}

/* Character counter */
.char-counter {
    position: absolute;
    right: 12px;
    bottom: -20px;
    font-size: 12px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.char-counter.warning {
    color: #ffc107;
}

.char-counter.danger {
    color: #dc3545;
}

/* Help text under inputs */
.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
		  transition: color 0.3s ease;
}

.form-text.error {
    color: #dc3545;
}

.form-text.success {
    color: #28a745;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-purple);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #495057;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #343a40;
    color: #343a40;
}

/* Toggle Switch Styles */
.auth-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
  
    border-radius: 8px;
   
}

.auth-toggle-label {
    font-size: 14px;
    color: #495057;
    margin: 0;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #6c757d;
    transition: .4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--gradient-purple);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    font-weight: 400;
    margin-bottom: 20px;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert i {
    margin-right: 8px;
}

/* Improved Form Message Styles */
.form-message {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    display: none;
    animation: slideDown 0.3s ease-out;
    position: relative;
    border: 1px solid;
}

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

.form-message.success {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    display: block;
}

.form-message.show {
    display: block;
}

.form-message i {
    margin-right: 10px;
    font-size: 16px;
}

/* Close button for messages */
.form-message .close-message {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-message .close-message:hover {
    opacity: 0.8;
}

/* Error List */
.error-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 26px;
}

.error-list li {
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.error-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #721c24;
}

/* Checkbox Styles */
.form-check {
    margin-bottom: 20px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    border: 1px solid #495057;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    font-size: 14px;
    color: #495057;
    font-weight: 400;
    margin-left: 8px;
}

.form-check-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Code Input Styles */
.code-input-container {
    display: none;
}

.code-input-container.show {
    display: block;
}

.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.code-input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid #495057;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #212529;
}

.code-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    outline: none;
}

.code-input.filled {
    border-color: #667eea;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .code-input {
        width: 50px;
        height: 55px;
        font-size: 28px;
    }
}

/* Fade in animation - faster and more responsive */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide animations using transitions */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.slide-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transition Delays */
.animation-delay-200 { transition-delay: 0.2s; }
.animation-delay-300 { transition-delay: 0.3s; }
.animation-delay-400 { transition-delay: 0.4s; }
.animation-delay-500 { transition-delay: 0.5s; }
.animation-delay-600 { transition-delay: 0.6s; }
.animation-delay-700 { transition-delay: 0.7s; }
.animation-delay-800 { transition-delay: 0.8s; }
.animation-delay-900 { transition-delay: 0.9s; }
.animation-delay-1000 { transition-delay: 1s; }
.animation-delay-1100 { transition-delay: 1.1s; }
.animation-delay-1200 { transition-delay: 1.2s; }
.animation-delay-1300 { transition-delay: 1.3s; }

/* Loading animation for code inputs */
.code-inputs.loading .code-input {
    background-color: #f8f9fa;
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-left {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-middle {
        text-align: center;
    }

    .hero-right {
        text-align: center;
    }

    .benefits-list li {
        justify-content: center;
        text-align: center;
    }
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    /* Reduce row gaps on mobile */
    .row.g-4 {
        --bs-gutter-y: 0.5rem;
        --bs-gutter-x: 0.5rem;
    }
    
    /* Adjust card spacing */
    .card {
        margin-bottom: 10px;
    }
    
    /* Hero section adjustments */
    .hero-wrapper {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .hero-section {
        padding: 15px 10px;
    }
    
    .hero-content {
        gap: 15px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-logo {
        max-width: 100px;
        margin-bottom: 10px;
    }

    /* Hero left section - quick review form */
    .hero-left {
        padding: 20px;
    }

    /* Hero middle section - center on mobile */
    .hero-middle {
        text-align: center;
    }

    /* Benefits list left aligned on mobile */
    .benefits-title {
        font-size: 18px;
        margin-bottom: 10px;
        text-align: left;
    }

    .benefits-list li {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 8px;
        font-size: 13px;
    }
    
    .benefits-list i {
        width: 26px;
        height: 26px;
        margin-right: 10px;
        font-size: 12px;
    }
    
    /* Form cards adjustments */
    .form-header {
        padding: 15px 10px;
    }
    
    .card-body {
        padding: 15px 10px !important;
    }
    
    /* Code input adjustments */
    .code-inputs {
        gap: 5px;
    }
    
    .code-input {
        width: 40px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Quick review form adjustments */
    .quick-review-hero {
        padding: 20px;
    }

    .quick-review-hero h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .quick-review-hero p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .quick-review-hero i {
        font-size: 42px !important;
        margin-bottom: 15px !important;
    }
    
    /* Toggle container more compact */
    .auth-toggle-container {
        padding: 10px;
        margin-bottom: 15px;
        gap: 10px;
    }

    .auth-toggle-label {
        font-size: 14px;
    }

    .toggle-switch {
        width: 44px;
        height: 24px;
    }

    .toggle-slider:before {
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
    }

    input:checked + .toggle-slider:before {
        transform: translateX(20px);
    }
    
    /* Form floating adjustments */
    .form-floating {
        margin-bottom: 12px;
    }

    .form-control {
        font-size: 16px;
        padding: 12px 14px;
    }

    .form-floating > label {
        font-size: 15px;
    }

    .form-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .form-description {
        font-size: 14px;
    }

    .form-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    /* Signup bonus banner mobile */
    .signup-bonus-banner, .login-bonus-banner {
        padding: 10px 12px;
        margin-top: 15px;
    }
    
    .bonus-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .bonus-label {
        font-size: 14px;
        line-height: 1.4;
    }

    .bonus-points {
        padding: 4px 10px;
        font-size: 13px;
        line-height: 1.4;
    }
    
    .bonus-points i {
        font-size: 14px;
    }

    /* Form check more compact */
    .form-check {
        margin-bottom: 15px;
    }

    .form-check-label {
        font-size: 14px;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 18px;
        font-size: 15px;
        border-radius: 6px;
    }

    .btn-lg {
        padding: 11px 20px;
        font-size: 16px;
    }

    /* Form message mobile */
    .form-message {
        font-size: 14px;
        padding: 12px 14px;
        margin-bottom: 16px;
    }
    
    .form-message i {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .error-list {
        margin-left: 22px;
    }
    
    .error-list li {
        font-size: 13px;
    }
    
    /* Footer adjustments */
    footer {
        padding: 20px !important;
    }

    .footer-clean .item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-clean .item ul li {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .footer-clean .copyright {
        font-size: 13px;
    }
    
    /* Alert styles more compact */
    .alert {
        padding: 12px 14px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .alert i {
        margin-right: 8px;
    }

    /* Character counter adjustments */
    .char-counter {
        font-size: 11px;
        right: 8px;
    }
}

/* Very small screens (below 400px) */
@media (max-width: 400px) {
    /* Row gaps minimal */
    .row.g-4 {
        --bs-gutter-y: 0.25rem;
        --bs-gutter-x: 0.25rem;
    }
    
    .hero-section {
        padding: 12px 8px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-logo {
        max-width: 80px;
    }
    
    .card-body {
        padding: 12px 8px !important;
    }
    
    /* Code input adjustments for very small screens */
    .code-inputs {
        gap: 3px;
    }
    
    .code-input {
        width: 38px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Benefits list even more compact */
    .benefits-title {
        font-size: 16px;
    }

    .benefits-list li {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .benefits-list i {
        width: 22px;
        height: 22px;
        font-size: 10px;
        margin-right: 8px;
    }
    
    /* Smaller buttons but still readable */
    .btn {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 10px 18px;
        font-size: 15px;
    }
    
    /* Form title smaller but readable */
    .form-title {
        font-size: 18px;
    }

    .form-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Signup bonus banner very small */
    .signup-bonus-banner, .login-bonus-banner {
        padding: 8px 10px;
    }
    
    .bonus-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .bonus-label {
        font-size: 13px;
        line-height: 1.4;
    }

    .bonus-points {
        padding: 3px 8px;
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* Quick review adjustments */
    .quick-review-hero {
        padding: 15px;
    }

    .quick-review-hero h3 {
        font-size: 16px;
    }

    .quick-review-hero p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    /* Form controls need to be readable */
    .form-control {
        font-size: 16px; /* Keep at 16px to prevent zoom on iOS */
    }

    .form-floating > label {
        font-size: 14px;
    }

    /* Form message smaller */
    .form-message {
        font-size: 13px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .error-list li {
        font-size: 12px;
    }
}

/* Landscape orientation mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 15px;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-left {
        flex: 0.4;
    }
    
    .hero-middle {
        flex: 0.3;
        text-align: center;
    }
    
    .hero-right {
        flex: 0.3;
        text-align: left;
    }
    
    .hero-logo {
        max-width: 60px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .benefits-list li {
        margin-bottom: 5px;
        font-size: 12px;
        justify-content: flex-start;
        text-align: left;
    }

    .benefits-list i {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

/* Porecla suggestion chips — revealed after the user blurs the name field */
.porecla-suggestions {
    margin-top: -8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fff8ed 0%, #ffeede 100%);
    border: 1px dashed #f0b070;
    border-radius: 8px;
    animation: poreclaSlideIn 0.3s ease-out;
}
@keyframes poreclaSlideIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.porecla-suggestions-label {
    font-size: 13px;
    color: #8a4500;
    margin-bottom: 8px;
    font-weight: 500;
}
.porecla-suggestions-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.porecla-chip {
    background: #fff;
    border: 1px solid #f0b070;
    color: #8a4500;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}
.porecla-chip:hover, .porecla-chip:focus {
    background: #f0b070;
    color: #fff;
    outline: none;
}
.porecla-chip.regenerate {
    background: transparent;
    border-style: dashed;
}
.porecla-suggestions-loading {
    font-size: 13px;
    color: #8a4500;
    font-style: italic;
    padding: 5px 0;
}
