* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f3f6fb;
    color: #1f2937;
}

.page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.card {
    width: 100%;
    max-width: 760px;

    background: #ffffff;

    border-radius: 18px;

    padding: 40px;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.08);
}

.brand {
    text-align: center;
    margin-bottom: 30px;
}

.brand h1 {
    margin: 0 0 12px 0;

    font-size: 30px;
}

.brand p {
    margin: 0;

    color: #6b7280;

    line-height: 1.6;
}

.status-box {
    margin-top: 30px;

    padding: 20px;

    border-radius: 12px;

    background: #ecfdf5;

    border: 1px solid #a7f3d0;
}

.status-title {
    font-weight: bold;

    margin-bottom: 10px;
}

.languages {
    margin-top: 20px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}

.language {
    padding: 12px;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    text-align: center;
}

@media (max-width: 600px) {

    .card {
        padding: 24px;
    }

    .brand h1 {
        font-size: 24px;
    }

    .languages {
        grid-template-columns: 1fr;
    }
}
.form-card {
    max-width: 650px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d1d5db;

    border-radius: 9px;

    background: #ffffff;

    font-size: 16px;

    color: #111827;

    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #374151;

    box-shadow:
        0 0 0 3px
        rgba(55, 65, 81, 0.08);
}

.field-help {
    margin-top: 7px;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.5;
}

.btn {
    display: inline-block;

    width: 100%;

    border: 0;

    border-radius: 10px;

    padding: 14px 20px;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    text-decoration: none;
}

.btn-primary {
    background: #111827;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.92;
}

.alert {
    padding: 15px 18px;

    border-radius: 10px;

    margin-bottom: 24px;

    line-height: 1.5;
}

.alert ul {
    margin-bottom: 0;
}

.success-alert {
    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    color: #065f46;
}

.error-alert {
    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;
}

.form-footer {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;

    text-align: center;

    color: #6b7280;
}

.form-footer span {
    color: #111827;
    font-weight: 600;
}
.dashboard-card {
    max-width: 800px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    margin: 4px 0 0;
}

.welcome-small {
    color: #6b7280;
    font-size: 14px;
}

.logout-link {
    color: #991b1b;
    text-decoration: none;
    font-weight: 600;
}

.student-details {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.detail-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.detail-box span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.detail-box strong {
    display: block;
    line-height: 1.5;
}

.detail-box.wide {
    grid-column: span 2;
}

.test-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 26px;
}

.test-card h2 {
    margin-top: 12px;
}

.test-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 700;
}

.test-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.test-stats div {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
}

.test-stats strong {
    display: block;
    font-size: 24px;
}

.test-stats span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.dashboard-note {
    color: #4b5563;
    line-height: 1.7;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.coming-soon {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 600px) {

    .student-details {
        grid-template-columns: 1fr;
    }

    .detail-box.wide {
        grid-column: auto;
    }

    .test-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        align-items: flex-start;
    }
}
.info-card {
    max-width: 900px;
}

.page-top {
    margin-bottom: 20px;
}

.back-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.notice-box {
    padding: 20px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin-bottom: 30px;
    line-height: 1.7;
}

.notice-box p {
    margin-bottom: 0;
}

.section-heading {
    margin: 30px 0 18px;
}

.aptitude-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 15px;
}

.aptitude-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}

.aptitude-card h3 {
    margin:
        10px
        0
        8px;
}

.aptitude-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.aptitude-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #111827;
    color: #ffffff;

    border-radius: 10px;

    font-weight: 700;
}

.career-note {
    margin: 30px 0;
    padding: 22px;
    background: #f9fafb;
    border-radius: 14px;
    line-height: 1.7;
}

.career-note h3 {
    margin-top: 0;
}

.test-summary {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 30px;
}

.test-summary div {
    text-align: center;

    background: #f9fafb;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    padding: 18px 10px;
}

.test-summary strong {
    display: block;

    font-size: 26px;

    margin-bottom: 5px;
}

.test-summary span {
    color: #6b7280;

    font-size: 13px;
}

.instruction-list {
    margin-bottom: 30px;
}

.instruction-item {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 15px 0;

    border-bottom:
        1px solid #e5e7eb;
}

.instruction-item p {
    margin: 3px 0 0;

    line-height: 1.65;
}

.instruction-number {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111827;
    color: #ffffff;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}

.important-warning {
    padding: 20px;

    background: #fffbeb;

    border:
        1px solid #fde68a;

    border-radius: 12px;

    margin-bottom: 25px;

    line-height: 1.6;
}

.important-warning p {
    margin-bottom: 0;
}

.agreement-box {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 20px;

    padding: 18px;

    border:
        1px solid #e5e7eb;

    border-radius: 12px;

    cursor: pointer;
}

.agreement-box input {
    width: 20px;
    height: 20px;

    margin-top: 1px;
}

.agreement-box span {
    line-height: 1.5;
}

@media (max-width: 700px) {

    .aptitude-grid {
        grid-template-columns: 1fr;
    }

    .test-summary {
        grid-template-columns:
            repeat(2, 1fr);
    }
}