/* Peoplactive-inspired Professional Assessment Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

.rra-assessment {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0;
    background: var(--background-white);
    border-radius: 16px;
    box-shadow: var(--shadow-large);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.rra-assessment::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
}

/* Banner Image Styles */
.rra-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.rra-banner-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Persistent Content Block Styles */
.rra-content-block {
    padding: 3rem;
    text-align: center;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
}

.rra-content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.rra-content-description {
    max-width: 600px;
    margin: 0 auto;
}

.rra-content-description p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.rra-content-description p:last-child {
    margin-bottom: 0;
}

/* Results Screen Styles */
.rra-results-section {
    margin: 0;
    padding: 3rem;
    background: var(--background-white);
    text-align: center;
}

.rra-overall-score {
    margin: 2rem 0 3rem;
}

.rra-score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-large);
}

.rra-score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.rra-score-label {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.rra-section-scores {
    margin: 3rem 0;
    text-align: left;
}

.rra-section-scores h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rra-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.rra-score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.rra-score-title {
    font-weight: 500;
    color: var(--text-dark);
}

.rra-score-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.rra-recommendations {
    margin: 3rem 0;
    text-align: left;
}

.rra-recommendations h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rra-recommendations ul {
    max-width: 700px;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.rra-recommendations li {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.rra-results-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.rra-button-email {
    background: var(--accent-color);
    color: white;
}

.rra-button-email:hover {
    background: #059669;
}

.rra-button-close {
    background: var(--primary-color);
    color: white;
}

.rra-button-close:hover {
    background: #1e3a8a;
}

.rra-button-success {
    background: var(--accent-color) !important;
    color: white !important;
}

.rra-button-error {
    background: #dc2626 !important;
    color: white !important;
}

.rra-section {
    margin: 0;
    padding: 3rem;
    background: var(--background-white);
    border-radius: 0;
    min-height: 500px;
}

.rra-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
    text-align: center;
}

.rra-contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.rra-contact-form p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.rra-question {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.rra-question-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.rra-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rra-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--background-white);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.rra-option:hover {
    border-color: var(--secondary-color);
    background: #eff6ff;
}

.rra-option input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.rra-option label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
    line-height: 1.5;
}

.rra-option input[type="radio"]:checked + label {
    color: var(--primary-color);
}

.rra-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: #eff6ff;
}

.rra-progress {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.rra-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.rra-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
    border-radius: 4px;
}

.rra-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.rra-button {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    min-width: 120px;
}

.rra-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.rra-button-back {
    background: var(--background-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.rra-button-back:hover {
    background: var(--border-color);
}

.rra-button-next {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.rra-button-next:hover {
    background: #1e3a8a;
}

.rra-button-submit {
    background: var(--accent-color);
    color: white;
    margin-left: auto;
}

.rra-button-submit:hover {
    background: #059669;
}

/* Contact Info Form */
.rra-contact-form {
    text-align: center;
}

.rra-contact-form input {
    width: 100%;
    max-width: 400px;
    padding: 1rem 1.25rem;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.2s ease;
    display: block;
}

.rra-contact-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.rra-contact-form input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

/* Error Messages */
.rra-error {
    color: #dc2626;
    margin: 1rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 0.75rem;
    background: none !important;
    border: none !important; 
    border-radius: 8px;
}

/* Success Messages */
.rra-success {
    color: var(--accent-color);
    margin: 1rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 0.75rem;
     background: none !important;
    border: none !important;  
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rra-assessment {
        margin: 1rem;
        border-radius: 12px;
    }
    
    .rra-section {
        padding: 2rem 1.5rem;
    }
    
    .rra-section-title {
        font-size: 1.875rem;
    }
    
    .rra-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .rra-button {
        width: 100%;
        margin-left: 0 !important;
    }
    
    /* Mobile Banner and Content Adjustments */
    .rra-banner-image {
        height: 150px;
    }
    
    .rra-content-block {
        padding: 2rem 1.5rem;
    }
    
    .rra-content-title {
        font-size: 2rem;
    }
    
    .rra-content-description p {
        font-size: 1rem;
    }
    
    /* Mobile Results Adjustments */
    .rra-results-section {
        padding: 2rem 1.5rem;
    }
    
    .rra-score-circle {
        width: 120px;
        height: 120px;
    }
    
    .rra-score-number {
        font-size: 2rem;
    }
    
    .rra-score-grid {
        grid-template-columns: 1fr;
    }
    
    .rra-results-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .rra-results-buttons .rra-button {
        width: 100%;
    }
}
