* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #012751;
    background: #f7fafc;
}

.app-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.results-panel {
    width: 100%;
    background: #d6d8d859;
    color:#012751;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    border-radius:12px;
}

#recommendation-title {
  font-size: 20px;
}

.results-content {
    max-width: 1200px;
    margin: 0 auto;
}

.results-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.readiness-score {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.score-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    color: #597798;
    transition: color 0.5s ease;
}

.score-number.beginning {
    color: #3e2a6d;
}

.score-number.testing {
    color: #0468D3;
}

.score-number.maturing {
    color: #a2d6cc;
}

.score-number.leading {
    color: #1FB554;
}

.score-max {
    font-size: 1.25rem;
    color: #012751;
    margin-left: 0.5rem;
}

.score-bar-large {
    width: 100%;
    height: 12px;
    background: rgba(145, 137, 137, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #597798 0%, #597798 100%);
    transition: width 0.5s ease, background 0.5s ease;
    border-radius: 6px;
}

.score-bar-fill.beginning {
    background: linear-gradient(90deg, #3e2a6d 0%, #3e2a6d 100%);
}

.score-bar-fill.testing {
    background: linear-gradient(90deg, #0468D3 0%, #0468D3 100%);
}

.score-bar-fill.maturing {
    background: linear-gradient(90deg, #a2d6cc 0%, #a2d6cc 100%);
}

.score-bar-fill.leading {
    background: linear-gradient(90deg, #1FB554 0%, #1FB554 100%);
}

.readiness-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #597798;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.5s ease;
}

.readiness-badge.beginning {
    background: #3e2a6d;
}

.readiness-badge.testing {
    background: #0468D3;
}

.readiness-badge.maturing {
    background: #a2d6cc;
}

.readiness-badge.leading {
    background: #1FB554;
}

.category-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-score-item {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.category-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #597798;
    transition: color 0.5s ease;
}

.category-value.beginning {
    color: #3e2a6d;
}

.category-value.testing {
    color: #0468D3;
}

.category-value.maturing {
    color: #a2d6cc;
}

.category-value.leading {
    color: #1FB554;
}

.mini-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #597798 0%, #597798 100%);
    transition: width 0.5s ease, background 0.5s ease;
    border-radius: 3px;
}

.mini-bar-fill.beginning {
    background: linear-gradient(90deg, #3e2a6d 0%, #3e2a6d 100%);
}

.mini-bar-fill.testing {
    background: linear-gradient(90deg, #0468D3 0%, #0468D3 100%);
}

.mini-bar-fill.maturing {
    background: linear-gradient(90deg, #a2d6cc 0%, #a2d6cc 100%);
}

.mini-bar-fill.leading {
    background: linear-gradient(90deg, #1FB554 0%, #1FB554 100%);
}

.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #012751;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    color: #597798;
}

.how-it-works {
    background: linear-gradient(135deg, #B59BF9 0%, #0468D3 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.how-it-works h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.how-it-works p {
    font-size: 1rem;
    opacity: 0.95;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #012751;
    font-size: 0.95rem;
}

.form-section input[type="text"],
.form-section input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-section input[type="text"]:focus,
.form-section input[type="email"]:focus {
    outline: none;
    border-color: #B59BF9;
    box-shadow: 0 0 0 3px rgba(181, 155, 249, 0.2);
}

.assessment-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.assessment-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #012751;
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1rem;
    color: #597798;
    margin-bottom: 2rem;
}

.question-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.question-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.question-item:hover {
    box-shadow: 0 4px 12px rgba(181, 155, 249, 0.3);
    border: 1px solid rgba(181, 155, 249, 0.2);
}

.question-item label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #012751;
    margin-bottom: 1.5rem;
}

.slider-container {
    width: 100%;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.slider-labels span {
    font-size: 0.75rem;
    color: #597798;
    font-weight: 500;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #3e2a6d 0%, #1348ce 33%, #a2d6cc 66%, #1FB554 100%);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 1rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid #1348ce;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    border-color: #B59BF9;
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid #1348ce;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    border-color: #B59BF9;
}

.current-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #597798;
}

.level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #597798;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.level-badge.beginning {
    background: #3e2a6d;
}

.level-badge.testing {
    background: #0468D3;
}

.level-badge.maturing {
    background: #a2d6cc;
}

.level-badge.leading {
    background: #1FB554;
}

.level-definition {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-left: 4px solid #B59BF9;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

.level-definition p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #012751;
    margin: 0;
}

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

.form-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.btn-primary {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #0468D3 0%, #012751 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 104, 211, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    background: white;
    color: #0468D3;
    border: 2px solid #0468D3;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #B59BF9;
    border-color: #B59BF9;
    color: white;
}

.recommendations-section {
    margin-top: 2rem;
}

.recommendations-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color:#012751;
    text-align: center;
}

#recommendation-card {
  padding: 30px 25px 30px 35px;
  background-color: #fff;
  border-radius: 9px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #0468D3;
    transition: all 0.3s ease;
}

.recommendation-card.beginning {
    border-left-color: #597798;
    background: rgba(89, 119, 152, 0.15);
}

.recommendation-card.testing {
    border-left-color: #0468D3;
    background: rgba(4, 104, 211, 0.15);
}

.recommendation-card.maturing {
    border-left-color: #a2d6cc;
    background: rgba(162, 214, 204, 0.15);
}

.recommendation-card.leading {
    border-left-color: #1FB554;
    background: rgba(31, 181, 84, 0.15);
}

.recommendation-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.recommendation-card #recommendation-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

#recommendation-text {
  padding-top: 20px;
  padding-left: 20px;
}

#recommendation-text ul{
  padding-left:30px;  
}
.recommendation-card ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.recommendation-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.recommendation-card li:last-child {
    margin-bottom: 0;
}

.recommendation-card strong {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 1);
}

.results-section {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.results-section h2 {
    font-size: 2rem;
    color: #012751;
    margin-bottom: 1rem;
}

.results-section p {
    font-size: 1.125rem;
    color: #597798;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .results-content {
        max-width: 100%;
    }

    .main-content {
        max-width: 100%;
    }

    .category-scores {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .results-panel {
        padding: 1.5rem 1rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .slider-labels {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .slider-labels span {
        font-size: 0.65rem;
    }

    .category-scores {
        grid-template-columns: 1fr;
    }
}
