/* ===== Layout ===== */
.layout {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.header {
background: #fff;
border-bottom: 1px solid #e2e8f0;
padding: 1rem 2rem;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 100;
}
.logo {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.25rem;
font-weight: 800;
color: #1a56db;
}
.logo-icon {
font-size: 1.5rem;
}
.nav {
display: flex;
gap: 1.5rem;
}
.nav a {
color: #64748b;
font-weight: 600;
transition: color 0.2s;
}
.nav a:hover {
color: #1a56db;
}
.main {
flex: 1;
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
width: 100%;
}
.footer {
background: #1e293b;
color: #94a3b8;
text-align: center;
padding: 1.5rem;
font-size: 0.875rem;
}
/* ===== Buttons ===== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
font-size: 1rem;
border: none;
transition: all 0.2s;
gap: 0.5rem;
}
.btn-primary {
background: #1a56db;
color: #fff;
}
.btn-primary:hover {
background: #1e40af;
}
.btn-primary:disabled {
background: #94a3b8;
cursor: not-allowed;
}
.btn-secondary {
background: #fff;
color: #1a56db;
border: 2px solid #1a56db;
}
.btn-secondary:hover {
background: #eff6ff;
}
.btn-secondary:disabled {
border-color: #94a3b8;
color: #94a3b8;
cursor: not-allowed;
}
/* ===== Home ===== */
.hero {
text-align: center;
padding: 4rem 1rem;
background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
border-radius: 1rem;
margin-bottom: 3rem;
}
.hero h1 {
font-size: 2.5rem;
color: #1e293b;
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.125rem;
color: #64748b;
max-width: 600px;
margin: 0 auto 2rem;
}
.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
.feature-card {
background: #fff;
padding: 2rem;
border-radius: 1rem;
border: 1px solid #e2e8f0;
text-align: center;
}
.feature-icon {
font-size: 2.5rem;
display: block;
margin-bottom: 1rem;
}
.feature-card h3 {
margin-bottom: 0.5rem;
color: #1e293b;
}
.feature-card p {
color: #64748b;
font-size: 0.9375rem;
}
.how-it-works {
text-align: center;
padding: 2rem 0;
}
.how-it-works h2 {
margin-bottom: 2rem;
color: #1e293b;
}
.steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.step {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.step-number {
width: 3rem;
height: 3rem;
border-radius: 50%;
background: #1a56db;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
font-weight: 700;
}
.step p {
color: #64748b;
}
/* ===== Quiz ===== */
.quiz {
max-width: 700px;
margin: 0 auto;
}
.quiz-header {
text-align: center;
margin-bottom: 2rem;
}
.quiz-header h1 {
margin-bottom: 0.5rem;
color: #1e293b;
}
.quiz-header p {
color: #64748b;
margin-bottom: 1.5rem;
}
.progress-bar {
height: 0.5rem;
background: #e2e8f0;
border-radius: 9999px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.progress-fill {
height: 100%;
background: #1a56db;
border-radius: 9999px;
transition: width 0.3s ease;
}
.progress-text {
font-size: 0.875rem;
color: #64748b;
}
.quiz-items {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-bottom: 2rem;
}
.quiz-item {
background: #fff;
padding: 1.5rem;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
}
.quiz-item-text {
font-size: 1.0625rem;
font-weight: 600;
margin-bottom: 1rem;
color: #1e293b;
}
.quiz-scale {
display: flex;
gap: 0.5rem;
justify-content: center;
margin-bottom: 0.5rem;
}
.scale-btn {
width: 3rem;
height: 3rem;
border-radius: 50%;
border: 2px solid #e2e8f0;
background: #fff;
font-size: 1.125rem;
font-weight: 700;
color: #64748b;
transition: all 0.2s;
}
.scale-btn:hover {
border-color: #1a56db;
color: #1a56db;
}
.scale-btn.selected {
background: #1a56db;
border-color: #1a56db;
color: #fff;
}
.scale-labels {
display: flex;
justify-content: space-between;
font-size: 0.75rem;
color: #94a3b8;
}
.quiz-nav {
display: flex;
justify-content: space-between;
gap: 1rem;
}
/* ===== Results ===== */
.results {
max-width: 800px;
margin: 0 auto;
}
.results-empty {
text-align: center;
padding: 4rem 1rem;
}
.results-empty h2 {
margin-bottom: 0.5rem;
color: #1e293b;
}
.results-empty p {
color: #64748b;
margin-bottom: 1.5rem;
}
.code-section {
text-align: center;
padding: 2rem;
background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
border-radius: 1rem;
margin-bottom: 2rem;
}
.code-section h1 {
margin-bottom: 1.5rem;
color: #1e293b;
}
.code-display {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
}
.code-label {
font-size: 0.875rem;
color: #64748b;
}
.code-value {
font-size: 3rem;
font-weight: 800;
color: #1a56db;
letter-spacing: 0.1em;
}
.code-description {
color: #475569;
max-width: 500px;
margin: 0 auto;
}
.scores-section {
margin-bottom: 2rem;
}
.scores-section h2 {
margin-bottom: 1rem;
color: #1e293b;
}
.scores-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.score-card {
background: #fff;
padding: 1.25rem;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
}
.score-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.score-dim {
width: 2rem;
height: 2rem;
border-radius: 50%;
background: #1a56db;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 0.875rem;
}
.score-label {
font-weight: 600;
color: #1e293b;
}
.score-bar {
height: 0.5rem;
background: #e2e8f0;
border-radius: 9999px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.score-fill {
height: 100%;
background: #1a56db;
border-radius: 9999px;
}
.score-value {
font-size: 0.875rem;
color: #64748b;
}
.pathways-section {
margin-bottom: 2rem;
}
.pathways-section h2 {
margin-bottom: 0.25rem;
color: #1e293b;
}
.section-subtitle {
color: #64748b;
margin-bottom: 1.5rem;
}
.pathways-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.pathway-card {
display: flex;
align-items: center;
gap: 1rem;
background: #fff;
padding: 1.25rem;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
transition: all 0.2s;
}
.pathway-card:hover {
border-color: #1a56db;
box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
}
.pathway-rank {
font-size: 1.25rem;
font-weight: 800;
color: #1a56db;
min-width: 2.5rem;
}
.pathway-info {
flex: 1;
}
.pathway-info h3 {
margin-bottom: 0.25rem;
color: #1e293b;
}
.pathway-duration {
font-size: 0.875rem;
color: #64748b;
margin-bottom: 0.5rem;
}
.pathway-admission {
font-size: 0.875rem;
color: #64748b;
margin-bottom: 0.5rem;
}
.pathway-tags {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.tag {
display: inline-block;
padding: 0.25rem 0.75rem;
background: #eff6ff;
color: #1a56db;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
}
.pathway-arrow {
color: #94a3b8;
font-size: 1.25rem;
}
.results-actions {
text-align: center;
}
/* ===== Pathways Page ===== */
.pathways-page {
max-width: 900px;
margin: 0 auto;
}
.page-header {
text-align: center;
margin-bottom: 2rem;
}
.page-header h1 {
margin-bottom: 0.5rem;
color: #1e293b;
}
.page-header p {
color: #64748b;
}
.pathways-grid {
display: flex;
flex-direction: column;
gap: 1rem;
}
/* ===== Pathway Detail ===== */
.pathway-detail {
max-width: 800px;
margin: 0 auto;
}
.breadcrumb {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1.5rem;
font-size: 0.875rem;
color: #64748b;
}
.breadcrumb a {
color: #1a56db;
}
.breadcrumb a:hover {
text-decoration: underline;
}
.pathway-header {
margin-bottom: 2rem;
}
.pathway-header h1 {
margin-bottom: 1rem;
color: #1e293b;
}
.pathway-meta {
display: flex;
gap: 2rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.meta-item {
color: #64748b;
font-size: 0.9375rem;
}
.meta-item strong {
color: #1e293b;
}
.detail-section {
margin-bottom: 2rem;
}
.detail-section h2 {
margin-bottom: 1rem;
color: #1e293b;
font-size: 1.25rem;
}
.info-card {
background: #fff;
padding: 1.25rem;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
}
.info-card p {
margin-bottom: 0.5rem;
color: #475569;
}
.info-card p:last-child {
margin-bottom: 0;
}
.info-card strong {
color: #1e293b;
}
.roadmap {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.roadmap-step {
display: flex;
align-items: flex-start;
gap: 1rem;
background: #fff;
padding: 1rem 1.25rem;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
}
.roadmap-step .step-number {
width: 2rem;
height: 2rem;
border-radius: 50%;
background: #1a56db;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 0.875rem;
flex-shrink: 0;
}
.roadmap-step p {
color: #475569;
padding-top: 0.125rem;
}
.pros-cons {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
.pros ul,
.cons ul {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.pros li,
.cons li {
padding: 0.75rem 1rem;
border-radius: 0.5rem;
font-size: 0.9375rem;
}
.pros li {
background: #f0fdf4;
color: #166534;
border-right: 3px solid #22c55e;
}
.cons li {
background: #fef2f2;
color: #991b1b;
border-right: 3px solid #ef4444;
}
.pathway-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 1.5rem;
border-top: 1px solid #e2e8f0;
}
.last-verified {
font-size: 0.875rem;
color: #94a3b8;
}
.not-found {
text-align: center;
padding: 4rem 1rem;
}
.not-found h2 {
margin-bottom: 0.5rem;
color: #1e293b;
}
.not-found p {
color: #64748b;
margin-bottom: 1.5rem;
}
/* ===== Responsive ===== */
@media (max-width: 640px) {
.header {
padding: 1rem;
}
.main {
padding: 1rem;
}
.hero h1 {
font-size: 1.75rem;
}
.hero-actions {
flex-direction: column;
align-items: center;
}
.quiz-nav {
flex-direction: column;
}
.quiz-nav .btn {
width: 100%;
}
.pathway-meta {
flex-direction: column;
gap: 0.5rem;
}
.pathway-footer {
flex-direction: column;
gap: 1rem;
text-align: center;
}
}