/* =============================================
   GoGold Eligibility Quiz – Unique Styles
   Prefixed with .gogold- to avoid conflicts
   ============================================= */

.gogold-quiz-wrapper {
    max-width: 1600px;
    /*margin: 0 auto;*/
    /*padding: 30px 20px;*/
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Progress Bar */
.gogold-quiz-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    background: #f0f0f0;
    border-radius: 30px;
    padding: 5px;
}

.gogold-quiz-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 10px 0;
    cursor: pointer;
}

.gogold-quiz-progress-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.gogold-quiz-progress-step .step-label {
    display: block;
    font-size: 12px;
    color: #666;
}

.gogold-quiz-progress-step.completed .step-number {
    background: #c5a028;
    color: white;
}

.gogold-quiz-progress-step.active .step-number {
    background: #1a2a4f;
    color: white;
    box-shadow: 0 0 0 3px rgba(26, 42, 79, 0.2);
}

.gogold-quiz-progress-step.completed .step-label,
.gogold-quiz-progress-step.active .step-label {
    color: #1a2a4f;
    font-weight: 600;
}

/* Form Steps */
.gogold-quiz-step {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.gogold-quiz-step h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #1a2a4f;
    font-size: 28px;
}

/* Fields */
.gogold-field {
    margin-bottom: 25px;
}

.gogold-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.gogold-field .required {
    color: #c5a028;
    margin-left: 3px;
}

.gogold-field input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}
.gogold-field select {
    width: 100%;
    padding: 1px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}
.gogold-field input:focus,
.gogold-field select:focus {
    outline: none;
    border-color: #c5a028;
    box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.1);
}

.gogold-field input.error,
.gogold-field select.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.gogold-field .field-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

.gogold-field .field-note.gold {
    color: #c5a028;
}

.gogold-error-message {
    display: none;
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
}

.gogold-error-message.show {
    display: block;
}

/* Checkbox */
.checkbox-field .checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

/* Buttons */
.gogold-next-btn,
.gogold-prev-btn,
.gogold-submit-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gogold-next-btn,
.gogold-submit-btn {
    background: #c5a028;
    color: white;
}

.gogold-next-btn:hover,
.gogold-submit-btn:hover {
    background: #a8861a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 40, 0.3);
}

.gogold-prev-btn {
    background: #f0f0f0;
    color: #333;
}

.gogold-prev-btn:hover {
    background: #e0e0e0;
}

.gogold-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Country search (added via JS) */
.gogold-country-search {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.gogold-country-search:focus {
    outline: none;
    border-color: #c5a028;
}

/* Phone library fix */
.iti {
    width: 100%;
}

/* =============================================
   Results Page
   ============================================= */
.gogold-results-page {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.gogold-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #1a2a4f;
    color: white;
}

.gogold-logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gogold-logo-section .logo-icon {
    font-size: 28px;
}

.gogold-logo-section .logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gogold-logo-section .tagline {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 10px;
}

.gogold-security {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gogold-security .shield-icon {
    font-size: 24px;
}

.gogold-security .security-text {
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
}

.results-progress.gogold-quiz-progress-bar {
    background: #f5f5f5;
    padding: 15px 30px;
    margin: 0;
    border-radius: 0;
}

.results-progress .gogold-quiz-progress-step {
    font-size: 13px;
    color: #888;
}

.results-progress .gogold-quiz-progress-step.completed {
    color: #c5a028;
}

.results-progress .gogold-quiz-progress-step.active {
    color: #1a2a4f;
    font-weight: 600;
}

.gogold-title-section {
    text-align: center;
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, #fff8eb 0%, #ffffff 100%);
}

.serif-title {
    font-size: 36px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a2a4f;
    margin-bottom: 15px;
}

.gold-dots {
    color: #c5a028;
    font-size: 12px;
    letter-spacing: 4px;
    margin: 10px 0;
}

.subtitle {
    color: #666;
    font-size: 18px;
}

.gogold-recommendation-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 15px;
}

.star-icon {
    font-size: 20px;
}

.recommended-label {
    color: #c5a028;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
}

.recommended-headline {
    text-align: center;
    font-size: 24px;
    color: #1a2a4f;
    margin-bottom: 30px;
}

/* Visa Grid */
.gogold-visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 0 30px;
}

.gogold-visa-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.gogold-visa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.gogold-visa-card.featured {
    border: 2px solid #c5a028;
    box-shadow: 0 10px 30px rgba(197, 160, 40, 0.15);
}

.most-recommended-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #c5a028;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.visa-title {
    font-size: 20px;
    color: #1a2a4f;
    margin-top: 0;
    margin-bottom: 15px;
    padding-right: 10px;
}

.visa-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.visa-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.visa-bullets li {
    font-size: 13px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.4;
}

.visa-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/*.btn-primary.gold,*/
/*.btn-secondary.outline {*/
/*    padding: 10px 18px;*/
/*    border-radius: 40px;*/
/*    font-size: 13px;*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    text-align: center;*/
/*    transition: all 0.3s ease;*/
/*    flex: 1;*/
/*}*/

.btn-primary.gold {
    background: #c5a028;
    color: white;
    border: none;
}

.btn-primary.gold:hover {
    background: #a8861a;
}

.btn-secondary.outline {
    background: transparent;
    color: #1a2a4f;
    border: 2px solid #1a2a4f;
}

.btn-secondary.outline:hover {
    background: #1a2a4f;
    color: white;
}

.visa-extra-note {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #888;
    font-style: italic;
}

/* Family Section */
.gogold-family-section {
    padding: 30px;
    margin: 30px;
    background: #f8f9fc;
    border-radius: 16px;
}

.family-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #c5a028, transparent);
    margin-bottom: 20px;
}

.family-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.family-icon {
    font-size: 48px;
}

.family-text h3 {
    margin: 0 0 8px 0;
    color: #1a2a4f;
}

.family-text p {
    margin: 0;
    color: #666;
}

/* CTA Section */
.gogold-cta-section {
    background: #1a2a4f;
    text-align: center;
    padding: 50px 30px;
    color: white;
}

.gogold-cta-section .gold-dots {
    color: #c5a028;
}

.cta-title {
    font-size: 32px;
    margin: 15px 0;
}

.cta-subtext {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary.large.gold {
    padding: 14px 35px;
    font-size: 16px;
    background: #c5a028;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary.large.gold:hover {
    background: #ffd700;
    color: #1a2a4f;
    transform: translateY(-2px);
}

.btn-secondary.large.outline {
    padding: 14px 35px;
    font-size: 16px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary.large.outline:hover {
    background: white;
    color: #1a2a4f;
}

/* Trust Bar */
.gogold-trust-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 25px 30px;
    background: #f5f5f5;
    gap: 20px;
}

.trust-item {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .gogold-quiz-step {
        padding: 20px;
    }
    .gogold-quiz-step h2 {
        font-size: 24px;
    }
    .gogold-quiz-progress-bar {
        flex-wrap: wrap;
    }
    .gogold-quiz-progress-step {
        flex: 0 0 33.33%;
        margin-bottom: 10px;
    }
    .serif-title {
        font-size: 28px;
    }
    .gogold-visa-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .cta-title {
        font-size: 26px;
    }
    .family-content {
        flex-direction: column;
        text-align: center;
    }
}