/* ========================================
   RGC Boat Lift Quiz Styles
   Clean, modern, and engaging design
   Navy Blue Color Scheme from RGC Logo
   ======================================== */

/* Container & Base Styles */
.rgc-quiz-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Progress Bar */
.rgc-quiz-progress-wrapper {
    margin-bottom: 30px;
}

.rgc-quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e7ff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.rgc-quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 0%;
}

.rgc-quiz-progress-text {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Quiz Steps */
.rgc-quiz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.rgc-quiz-step.active {
    display: block;
}

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

/* Welcome Screen */
.rgc-quiz-welcome {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rgc-welcome-logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rgc-welcome-logo img {
    max-width: 200px;
    height: auto;
    display: block;
}

.rgc-quiz-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.rgc-quiz-subtitle {
    font-size: 18px;
    color: #475569;
    margin: 0 0 40px 0;
    line-height: 1.5;
}

.rgc-welcome-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rgc-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #334155;
}

.rgc-feature-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

/* Question Wrapper */
.rgc-question-wrapper {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rgc-question-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.rgc-question-description {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 40px 0;
    line-height: 1.5;
}

/* Options Grid */
.rgc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

/* Option Cards */
.rgc-option-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rgc-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rgc-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 100px;
    justify-content: center;
}

.rgc-option-card:hover .rgc-option-content {
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
    transform: translateY(-2px);
}

.rgc-option-card input:checked ~ .rgc-option-content {
    background: #eff6ff;
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.rgc-option-label {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 6px;
}

.rgc-option-desc {
    font-size: 13px;
    color: #64748b;
    display: block;
    line-height: 1.4;
}

.rgc-option-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #1e3a8a;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.rgc-option-card input:checked ~ .rgc-option-content .rgc-option-checkmark {
    display: flex;
}

/* Navigation Buttons */
.rgc-navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
}

/* Buttons */
.rgc-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rgc-btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.rgc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
}

.rgc-btn-secondary {
    background: white;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.rgc-btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

.rgc-btn-text {
    background: transparent;
    color: #64748b;
    padding: 8px 16px;
}

.rgc-btn-text:hover {
    color: #1e3a8a;
}

.rgc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.rgc-btn-start {
    padding: 16px 48px;
    font-size: 18px;
}

/* Contact Form Styles */
.rgc-contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.rgc-contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.rgc-contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.rgc-form-row {
    margin-bottom: 24px;
}

.rgc-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rgc-form-field {
    display: flex;
    flex-direction: column;
}

.rgc-form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.rgc-required {
    color: #dc2626;
}

.rgc-input {
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.rgc-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.rgc-input::placeholder {
    color: #94a3b8;
}

.rgc-privacy-notice {
    background: #f0f9ff;
    padding: 16px 20px;
    border-radius: 10px;
    margin-top: 24px;
}

.rgc-privacy-notice p {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* Loading State */
.rgc-quiz-loading {
    text-align: center;
    padding: 80px 40px;
}

.rgc-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top-color: #1e3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.rgc-quiz-loading h3 {
    font-size: 24px;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.rgc-quiz-loading p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Results */
.rgc-results-content {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rgc-results-header {
    text-align: center;
    margin-bottom: 40px;
}

.rgc-results-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.rgc-results-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.rgc-results-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

.rgc-recommended-lift {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.rgc-lift-name {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.rgc-lift-subtitle {
    font-size: 15px;
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 12px;
}

.rgc-lift-capacity {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.rgc-lift-description {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.rgc-lift-features h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.rgc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.rgc-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
}

.rgc-feature-check {
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.rgc-best-for {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    color: #334155;
    margin-top: 24px;
}

.rgc-results-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.rgc-results-actions .rgc-btn {
    flex: 1;
    min-width: 200px;
}

.rgc-results-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.rgc-results-footer h4 {
    font-size: 20px;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.rgc-results-footer p {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px 0;
}

.rgc-contact-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rgc-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.rgc-contact-link:hover {
    color: #1e40af;
}

.rgc-contact-icon {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rgc-quiz-container {
        padding: 16px;
    }
    
    .rgc-quiz-welcome {
        padding: 40px 24px;
    }
    
    .rgc-question-wrapper {
        padding: 32px 24px;
    }
    
    .rgc-quiz-title {
        font-size: 26px;
    }
    
    .rgc-question-title {
        font-size: 22px;
    }
    
    .rgc-options-grid {
        grid-template-columns: 1fr;
    }
    
    .rgc-navigation-buttons {
        flex-direction: column-reverse;
    }
    
    .rgc-navigation-buttons .rgc-btn {
        width: 100%;
    }
    
    .rgc-welcome-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .rgc-results-actions {
        flex-direction: column;
    }
    
    .rgc-results-actions .rgc-btn {
        width: 100%;
    }
    
    .rgc-contact-options {
        flex-direction: column;
        gap: 16px;
    }
    
    .rgc-recommended-lift {
        padding: 24px;
    }
    
    .rgc-form-row-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .rgc-option-content {
        min-height: 120px;
        padding: 20px 12px;
    }
    
    .rgc-option-icon {
        font-size: 28px;
    }
    
    .rgc-option-label {
        font-size: 14px;
    }
    
    .rgc-option-desc {
        font-size: 12px;
    }
}
