.application-page {
    background: #f5f7fb;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    background: #0b0b0b;
    min-height: 100vh;
    color: #fff;
    padding: 30px 20px;
    position: sticky;
    top: 0;
}

.logo-area h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.logo-area small {
    color: #aaa;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    display: block;
    color: #cfcfcf;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: .3s;
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover {
    background: #ff5b2e;
    color: #fff;
}

/* Main Area */
.form-wrapper {
    padding: 40px;
}

.page-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.page-header p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Cards */
.form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

#step2{
    margin-top: 10%;
}
#step3{
    margin-top: 10%;
}
#step4{
    margin-top: 10%;
}

.exam-selection{
    display: flex;
    justify-content: space-between;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.form-card label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    gap: 5px;
    display: flex;
    align-items: center;
}

.form-control,
.form-select {
    height: 46px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-bottom: 15px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: #ff5b2e;
}

/* Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.required-note {
    color: #ef4444;
    font-size: 13px;
}

.btn-group-area {
    display: flex;
    gap: 12px;
}

.btn-save {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 12px 22px;
    border-radius: 8px;
}

.btn-next {
    background: #111827;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
}

/* Stepper */
.step-sidebar {
    background: #eef2f7;
    min-height: 100vh;
    padding: 35px 25px;
    position: sticky;
    top: 0;
}

.step-sidebar h5 {
    font-weight: 700;
    margin-bottom: 3px;
}

.step-sidebar small {
    color: #6b7280;
}

.step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.step-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 35px;
    color: #9ca3af;
    font-size: 14px;
}

.step-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.step-list li.active {
    color: #111827;
    font-weight: 600;
}

.step-list li.active::before {
    background: #111827;
}

.form-step{
    display:none;
}

.active-step{
    display:block;
}

.step-buttons{
    display:flex;
    justify-content:space-between;
    margin-top:30px;
}

.btn-prev{
    border:1px solid #ddd;
    background:#fff;
    padding:12px 25px;
    border-radius:8px;
}

.btn-next{
    border:none;
    background:#000;
    color:#fff;
    padding:12px 25px;
    border-radius:8px;
}
.form-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:20px;
}

.card-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 18px;
    background:#eef4ff;
    border-bottom:1px solid #e5e7eb;
}

.card-heading h5{
    margin:0;
    font-size:15px;
    font-weight:600;
}

.required-badge,
.optional-badge{
    font-size:10px;
    font-weight:600;
    text-transform:uppercase;
    padding:4px 8px;
    border-radius:20px;
}

.required-badge{
    background:#dbeafe;
    color:#2563eb;
}

.optional-badge{
    background:#f3f4f6;
    color:#6b7280;
}

.document-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
    border-bottom:1px solid #eee;
}

.document-item:last-child{
    border-bottom:none;
}

.document-info h6{
    margin:0 0 5px;
    font-size:14px;
    font-weight:600;
}

.document-info p{
    margin:0;
    color:#6b7280;
    font-size:12px;
}

.document-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.document-actions button{
    border:1px solid #d1d5db;
    background:#fff;
    padding:6px 12px;
    border-radius:6px;
    font-size:12px;
}

.status{
    font-size:12px;
    font-weight:600;
}

.status.uploaded{
    color:#16a34a;
}

.status.missing{
    color:#dc2626;
}

.status.rejected{
    color:#dc2626;
}

.replace-btn{
    background:#ef4444 !important;
    color:#fff;
    border:none !important;
}

.upload-zone{
    padding:50px 30px;
    text-align:center;
}

.upload-zone i{
    font-size:40px;
    color:#94a3b8;
    margin-bottom:15px;
}

.upload-zone h6{
    font-size:15px;
    font-weight:600;
}

.upload-zone p{
    color:#6b7280;
    margin-bottom:20px;
}

.upload-zone input[type="file"]{
    border:2px dashed #d1d5db;
    padding:20px;
    border-radius:10px;
    width:300px;
    max-width:100%;
}
.review-container{
    max-width:1230px;
    margin:auto;
    padding:25px;
}

.review-header h2{
    font-size:34px;
    font-weight:700;
    margin-bottom:8px;
    margin-top: 75px;
}

.review-header p{
    color:#6b7280;
}

.review-section,
.application-box,
.review-block,
.document-verification,
.declaration-card{
    background:#fff;
    border:1px solid #C6C6CD;
    border-radius:12px;
    padding:18px;
}

.section-head{
    display:flex;
    justify-content:space-between;
    font-weight:600;
    margin-bottom:10px;
}

.review-progress{
    height:8px;
    background:#eceff5;
    border-radius:30px;
    overflow:hidden;
}

.review-progress-bar{
    width:92%;
    height:100%;
    background:#ff5a1f;
}

.overview-stats{
    display:flex;
    margin-top:15px;
}

.overview-stats div{
    display:flex;
    flex:1;
    text-align:center;
    flex-direction:column;
}

.overview-stats div:not(:last-child){
    border-right:1px solid #C6C6CD;
}

.application-box{
    position:relative;
}

.draft-badge{
    position:absolute;
    right:15px;
    top:15px;
    background:#ff5a1f;
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
}

.review-block{
    margin-bottom:18px;
    padding:0px;
    margin-top: 20px;
}

.review-block a{
    font-size: 14px;
    text-decoration: none;
    color: #725C00;
}

.review-title{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    background-color: #EFF4FF;
    padding: 15px 25px;
    border-top-left-radius: 13PX;
    border-top-right-radius: 13px;
}

.review-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.review-grid label{
    color:#888;
    font-size:12px;
}

.review-grid p{
    margin:0;
    font-weight:500;
}

.green-badge,
.yellow-badge,
.orange-badge,
.red-badge{
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
}

.green-badge{
    background:#dcfce7;
    color:#16a34a;
}

.yellow-badge{
    background:#fef3c7;
    color:#b45309;
}

.orange-badge{
    background:#ffe5d0;
    color:#ea580c;
}

.red-badge{
    background:#fee2e2;
    color:#dc2626;
}

.academic-cards,
.score-row{
    display:flex;
    gap:15px;
}

.mini-card,
.score-card{
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:15px;
}

.score-card.alert{
    border-color:#ef4444;
    background:#fff5f5;
}

.action-box{
    background:linear-gradient(135deg,#111827,#172554);
    color:#fff;
    border-radius:12px;
    padding:20px;
    margin-top:20px;
}

.action-box ul{
    margin-top:10px;
}

.declaration-card{
    margin-top:20px;
}

.review-footer{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:25px;
}
.application-review-section{
    background:#f4f6fb;
    padding:35px 0;
    font-family:'Poppins',sans-serif;
}

.review-layout{
    display:grid;
    grid-template-columns:1fr 300px;
    gap:25px;
    max-width:1200px;
    margin:auto;
}
.review-block h4{
    font-size:14px;
    margin-bottom: 0px;
}
.review-main{
    width:100%;
}

.review-heading h1{
    font-size:32px;
    font-weight:700;
    color:#102033;
    margin-bottom:8px;
}

.review-heading p{
    font-size:14px;
    color:#6b7280;
    max-width:780px;
    line-height:1.7;
}

.application-progress-card,
.review-card,
.declaration-card{
    background:#fff;
    border:1px solid #dce2ea;
    border-radius:8px;
    padding:18px;
    margin-bottom:18px;
}

.progress-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
}

.progress-top h5{
    font-size:16px;
    font-weight:700;
    margin:0;
}

.progress-top strong{
    font-size:18px;
    color:#111827;
}

.application-progress{
    height:10px;
    background:#eef1f5;
    border-radius:20px;
    overflow:hidden;
}

.application-progress .progress-bar{
    background:#ff5a1f;
}

.progress-steps{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:12px;
    font-size:12px;
    color:#6b7280;
    text-align:center;
}

.review-card-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}

.review-card-header h4{
    font-size:16px;
    font-weight:700;
    margin:0;
    color:#172033;
}

.review-card-header a{
    margin-left:auto;
    font-size:12px;
    color:#b7791f;
    text-decoration:none;
    font-weight:600;
}

.status{
    font-size:11px;
    padding:4px 9px;
    border-radius:20px;
    font-weight:700;
}

.status.success{
    background:#e8f8ef;
    color:#159947;
}

.status.warning{
    background:#fff3cd;
    color:#b7791f;
}

.status.danger{
    background:#ffe4e4;
    color:#d71920;
}

.review-grid.three{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:25px;
}

.review-grid label,
.mini-card label{
    display:block;
    font-size:12px;
    color:#6b7280;
    text-transform:uppercase;
    margin-bottom:6px;
}

.review-grid p{
    margin:0;
    font-size:14px;
    color:#111827;
    font-weight:600;
}

.mini-card-row,
.school-row{
    display:flex;
    gap:15px;
    padding: 10px 55px 25px 30px;
}

.mini-card{
    border:1px solid #dce2ea;
    border-radius:6px;
    padding:15px;
    background:#fff;
}

.mini-card h5{
    font-size:15px;
    margin:0 0 4px;
    font-weight:700;
}

.mini-card small{
    font-size:11px;
    color: #16A34A;
    background-color: #37bb6836;
    border-radius: 11px;
    padding: 3px 5px;
}

.mini-card.green{
    border-color:#bdebd1;
}

.mini-card.blue{
    border-color: #cfe0ff;
    display: flex;
    background: #cfe0ff57;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color:#000
}
.exambox{
    background-color: #fff;
    padding: 9px;
}

.exambox label{
    margin-bottom: 0;
}
.mini-card.red{
    background: #ffcccc52;
    border: 3px dashed #e01515;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e01515;
    font-size: 13px;
}

.mini-card.gray{
    background:#f8fafc;
}

.review-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.review-card.half{
    margin-bottom:18px;
    padding:0px;
    border-radius:13px;
}
.review-card h4{
    font-size: 18px;
    font-weight: 400;
}

.mini-card strong{
    font-weight: 500;
}
.mini-card h5{
    font-weight: 500;
}

.normal-text{
    font-size:14px;
    color:#4b5563;
    line-height:1.6;
}

.outline-btn{
    background:#fff;
    border:1px solid #dce2ea;
    padding:10px 16px;
    border-radius:6px;
    font-size:13px;
}

.essay-box{
    border:1px solid #dce2ea;
    border-radius:6px;
    padding:12px;
    margin-bottom:10px;
    font-size:13px;
}

.essay-box.done{
    border-color:#bdebd1;
    color:#15803d;
}

.essay-box.pending{
    border-color:#ffcccc;
    color:#d71920;
}

.danger-card{
    border-color:#ef4444;
}

.document-table{
    border-top:1px solid #e5e7eb;
}

.doc-row{
    display:grid;
    grid-template-columns:1.3fr 1fr 1.2fr;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #e5e7eb;
    font-size:13px;
}

.doc-row.head{
    font-size:11px;
    text-transform:uppercase;
    font-weight:700;
    color:#6b7280;
}

.alert-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.alert-grid strong{
    color:#ff5a1f;
    font-size:14px;
}

.alert-grid p{
    color:#cbd5e1;
    font-size:13px;
    margin:6px 0 0;
}

.declaration-card{
    text-align:center;
    padding:28px;
}

.declaration-card p{
    background:#f1f6ff;
    color:#4b5563;
    padding:18px;
    border-radius:6px;
    font-size:14px;
    line-height:1.7;
    max-width:760px;
    margin:0 auto 22px;
    text-align:left;
}

.declaration-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-bottom:12px;
}

.submit-btn{
    background:#000;
    color:#fff;
    border:none;
    padding:13px 28px;
    border-radius:5px;
    font-weight:700;
}

.save-btn,
.preview-btn{
    background:#fff;
    border:1px solid #dce2ea;
    padding:13px 22px;
    border-radius:5px;
    font-weight:600;
}

.review-sidebar{
    position:sticky;
    top:25px;
    align-self:start;
}

.review-sidebar-card{
    background:#fff;
    border:1px solid #dce2ea;
    border-radius:8px;
    padding:18px;
}

.sidebar-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.sidebar-title-row h5{
    margin:0;
    font-size:14px;
    font-weight:700;
}

.sidebar-title-row span{
    background:#ff5a1f;
    color:#fff;
    font-size:10px;
    padding:4px 8px;
    border-radius:4px;
}

.review-sidebar-card h4{
    font-size:18px;
    margin:14px 0 6px;
}

.review-sidebar-card p{
    font-size:12px;
    color:#6b7280;
}

.review-sidebar-card button{
    width:100%;
    background:#000;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:5px;
    margin:12px 0;
    font-weight:700;
}

.review-sidebar-card a{
    display:block;
    text-align:center;
    border:1px solid #dce2ea;
    color:#111827;
    text-decoration:none;
    padding:10px;
    border-radius:5px;
    font-size:13px;
    font-weight:600;
}

@media(max-width:991px){
    .review-layout{
        grid-template-columns:1fr;
    }

    .review-sidebar{
        position:relative;
        top:0;
    }

    .review-grid.three,
    .mini-card-row,
    .review-row,
    .school-row,
    .alert-grid{
        grid-template-columns:1fr;
    }
}

/*=========================================
    APP REVIEW UNIQUE SECTION
=========================================*/

.app-review-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-bottom:28px;
}

.app-review-box,
.app-doc-vault,
.app-school-section{
    background:#fff;
    border:1px solid #cfd8e6;
    border-radius:7px;
    overflow:hidden;
}

.app-review-box-head,
.app-school-head{
    background:#eef4ff;
    border-bottom:1px solid #cfd8e6;
    padding:13px 18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.app-review-box-head h4,
.app-school-head h4,
.app-doc-head h4{
    margin:0;
    font-size:15px;
    font-weight:600;
    color:#1f2937;
}

.app-review-box-head i,
.app-school-head i,
.app-doc-head i{
    margin-right:8px;
}

.app-review-badge{
    font-size:10px;
    font-weight:700;
    padding:4px 8px;
    border-radius:20px;
}

.app-review-badge.green{
    background:#dff8e7;
    color:#138a35;
}

.app-review-badge.yellow{
    background:#fff1b8;
    color:#8a6b00;
}

.app-review-box-body{
    padding:22px;
}

.app-review-box-body h5{
    font-size:18px;
    font-weight:700;
    margin:0 0 3px;
}

.app-review-box-body > p{
    font-size:13px;
    color:#6b7280;
    margin-bottom:18px;
}

.app-current-role{
    display:flex;
    gap:12px;
    margin-bottom:20px;
}

.app-role-dot{
    width:9px;
    height:9px;
    background:#f5b400;
    border-radius:50%;
    margin-top:6px;
    flex-shrink:0;
}

.app-current-role small{
    font-size:10px;
    color:#b7791f;
    font-weight:700;
    text-transform:uppercase;
}

.app-current-role h6{
    margin:3px 0;
    font-size:15px;
    font-weight:700;
}

.app-current-role p{
    margin:0 0 7px;
    font-size:12px;
    color:#6b7280;
}

.app-role-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.app-role-tags span{
    background:#eef2f7;
    color:#64748b;
    font-size:10px;
    padding:4px 8px;
    border-radius:4px;
}

.app-review-outline-btn{
    width:100%;
    background:#fff;
    border:1px solid #d1d5db;
    padding:11px;
    border-radius:4px;
    font-size:13px;
    font-weight:700;
}

/* SOP */

.app-sop-card{
    border:1px solid #d1d5db;
    border-radius:6px;
    padding:14px;
    margin-bottom:15px;
    background:#fff;
}

.app-sop-card label{
    font-size:10px;
    font-weight:700;
    color:#6b7280;
    text-transform:uppercase;
}

.app-sop-card p{
    font-size:13px;
    color:#374151;
    font-style:italic;
    margin:8px 0;
}

.app-sop-meta{
    display:flex;
    justify-content:space-between;
    font-size:10px;
}

.app-sop-meta span{
    color:#9ca3af;
}

.app-sop-meta strong{
    color:#b7791f;
}

.app-sop-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.app-sop-mini{
    border:1px solid #d1d5db;
    border-radius:6px;
    padding:16px;
    text-align:center;
    background:#f8fafc;
}

.app-sop-mini.good{
    border-color:#c7d2fe;
}

.app-sop-mini.danger{
    border:1px dashed #ef4444;
    background:#fff7f7;
}

.app-sop-mini i{
    display:block;
    margin-bottom:8px;
    color:#1d4ed8;
}

.app-sop-mini.danger i,
.app-sop-mini.danger strong{
    color:#dc2626;
}

.app-sop-mini strong{
    display:block;
    font-size:12px;
}

.app-sop-mini span{
    display:block;
    font-size:10px;
    color:#6b7280;
}

/* Document Vault */

.app-doc-vault{
    border-color:#ef4444;
    margin-bottom:28px;
}

.app-doc-head{
    background:#fff4f4;
    border-bottom:1px solid #fecaca;
    padding:13px 18px;
    display:flex;
    align-items:center;
    gap:10px;
}

.app-doc-head span{
    background:#dc2626;
    color:#fff;
    font-size:10px;
    font-weight:700;
    padding:4px 8px;
    border-radius:20px;
}

.app-doc-head strong{
    margin-left:auto;
    font-size:12px;
    color:#dc2626;
}

.app-doc-table{
    padding:14px 20px 18px;
}

.app-doc-row{
    display:grid;
    grid-template-columns:1.3fr 1fr 1.6fr .7fr;
    gap:15px;
    padding:12px 0;
    border-bottom:1px solid #e5e7eb;
    font-size:13px;
    align-items:center;
}

.app-doc-row:last-child{
    border-bottom:none;
}

.app-doc-row-head{
    font-size:10px;
    color:#6b7280;
    text-transform:uppercase;
    font-weight:700;
}

.app-doc-row .red{
    color:#dc2626;
}

.app-doc-row .orange{
    color:#b7791f;
}

.app-doc-row .green{
    color:#159947;
}

.app-doc-row a{
    color:#8a6b00;
    font-weight:700;
    text-decoration:none;
}

/* Schools */

.app-school-section{
    margin-bottom:28px;
}

.app-school-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    padding:18px;
}

.app-school-card{
    border:1px solid #cfd8e6;
    border-radius:6px;
    padding:18px;
    background:#fff;
    min-height:120px;
}

.app-school-card.warning{
    border:1px dashed #b7791f;
    background:#fffdf3;
}

.app-school-card.danger{
    border-color:#fecaca;
}

.app-school-card h5{
    font-size:14px;
    font-weight:700;
    margin:0 0 5px;
}

.app-school-card p{
    font-size:12px;
    color:#6b7280;
    margin-bottom:18px;
}

.app-school-card ul{
    padding-left:15px;
    margin:0 0 10px;
}

.app-school-card li{
    font-size:11px;
    color:#92400e;
    margin-bottom:4px;
}

.app-school-card span{
    font-size:11px;
    font-weight:700;
}

.app-school-card .green{
    color:#16a34a;
}

.app-school-card .orange{
    color:#b7791f;
}

.app-school-card .red{
    color:#dc2626;
}

/* Health Check */

.app-health-check{
    background:#111827;
    color:#fff;
    border-radius:7px;
    padding:22px;
    box-shadow:0 12px 30px rgba(17,24,39,.25);
}

.app-health-check h4{
    font-size:15px;
    font-weight:500;
    margin-bottom:18px;
}

.app-health-check h4 i{
    margin-right:10px;
}

.app-health-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.app-health-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    border-radius:6px;
    padding:18px;
}

.app-health-card span{
    display:block;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:12px;
}

.app-health-card span.red{
    color:#ef4444;
}

.app-health-card span.orange{
    color:#f97316;
}

.app-health-card ul{
    margin:0;
    padding-left:18px;
}

.app-health-card li{
    font-size:13px;
    color:#d1d5db;
    line-height:1.6;
    margin-bottom:10px;
}

@media(max-width:991px){
    .app-review-split,
    .app-sop-grid,
    .app-school-grid,
    .app-health-grid{
        grid-template-columns:1fr;
    }

    .app-doc-row{
        grid-template-columns:1fr;
        gap:5px;
    }
}