/* Focused registration / application pages */
.apply-body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--naya-cloud, #f3f7fa); color: var(--naya-ink, #17265c); }
.apply-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem clamp(1rem, 4vw, 2rem); background: #fff; border-bottom: 1px solid var(--naya-line, #dfe8f0); }
.apply-brand img { display: block; height: 44px; width: auto; }
.apply-header .lang-switch { display: flex; gap: .25rem; }
.apply { width: min(720px, 100%); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 1rem 3rem; flex: 1; }
.apply-title { margin-bottom: 1.5rem; }
.apply-kicker { margin: 0 0 .4rem; color: #15939f; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.apply-title h1 { margin: 0 0 .6rem; font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.apply-title p:last-child { margin: 0; color: #5d6b84; line-height: 1.7; }
.apply-form { padding: clamp(1.1rem, 4vw, 2rem); border-radius: 16px; box-shadow: 0 1rem 3rem rgba(23,38,92,.08); }
.apply-form fieldset { margin: 0 0 2rem; }
.apply-form legend { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.step-no { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--naya-teal, #19abb8); color: #fff; font-size: .85rem; }
.apply-form input:not([type=checkbox]), .apply-form select, .apply-form textarea { border-radius: 10px; min-height: 48px; font-size: 1rem; }
.apply-form textarea { min-height: 0; }
.apply-form label > span { font-size: .82rem; }
.apply-form .span-2 { grid-column: 1 / -1; }
.apply-form button[type=submit] { border-radius: 12px; min-height: 56px; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.apply-form .consent-list label { border: 0; padding: .45rem 0; }
.more-details { margin-top: 1.2rem; border: 1px dashed #cad6e2; border-radius: 10px; padding: .2rem 1rem; }
.more-details summary { cursor: pointer; padding: .8rem 0; font-weight: 700; color: #15939f; }
.more-details[open] summary { margin-bottom: .4rem; }
.more-details .form-grid { padding-bottom: 1rem; }
.apply .success-card { width: 100%; padding: clamp(1.5rem, 5vw, 3rem); border-radius: 16px; text-align: start; }
.apply .success-card h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.2; letter-spacing: -.02em; }
.apply .success-card .button { display: inline-flex; margin-top: 1rem; }
.apply-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 2rem); color: #7a879d; font-size: .8rem; border-top: 1px solid var(--naya-line, #dfe8f0); background: #fff; }
.apply-footer a { color: inherit; text-decoration: underline; }
@media (max-width: 620px) { .apply-form .form-grid { grid-template-columns: 1fr; } .apply-header { padding-block: .45rem; } }

/* Course images in the picker */
.course-option { align-items: stretch; }
.course-option .course-thumb { width: 132px; flex: none; align-self: stretch; min-height: 88px; object-fit: cover; border-radius: 8px; background: #e8eef4; }
.course-option .course-body { flex: 1; min-width: 0; }
@media (max-width: 560px) { .course-option { flex-wrap: wrap; } .course-option .course-thumb { order: -1; width: 100%; height: 160px; margin-bottom: .3rem; } .course-option input { position: absolute; margin: .6rem; } .course-option { position: relative; } }

/* Course preview card: compact, image as a small thumbnail beside the details */
.apply-form fieldset { min-width: 0; max-width: 100%; }
.apply-form .form-grid > label { min-width: 0; }
.apply-form select { max-width: 100%; text-overflow: ellipsis; }
.course-preview { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.1rem; padding: .9rem; border: 1px solid #cfe0eb; border-radius: 14px; background: #fff; overflow: hidden; }
.course-preview[hidden] { display: none; }
.course-preview-img { flex: none; width: 120px; height: 120px; max-width: 30%; object-fit: cover; border-radius: 10px; background: #e8eef4; }
.course-preview-img[hidden] { display: none; }
.course-preview-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.course-preview-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.course-preview-meta { margin: 0; color: #66738c; font-size: .82rem; }
.course-preview-desc { margin: 0; color: #4b5873; font-size: .9rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-preview-desc:empty { display: none; }
.course-preview-fee { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .4rem; padding: .5rem .8rem; border-radius: 10px; background: #f4f8fb; border: 1px dashed #19abb8; font-size: .85rem; }
.course-preview-fee strong { font-size: 1rem; color: #17265c; }
.course-preview small { color: #7a879d; font-size: .75rem; }
@media (max-width: 560px) { .course-preview-img { width: 88px !important; height: 88px !important; max-width: 88px !important; } }
