﻿:root {
    --primary: #185c43;
    --primary-dark: #10452f;
    --gold: #d8ad53;
    --bg: #f4f7f4;
    --border: #dce5de;
    --text: #24352b;
    --muted: #68776d;
    --danger: #b42318;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

 

.top-bar {
    height: 5px;
    background: linear-gradient(to right, var(--primary) 75%, var(--gold) 75%);
}

.page-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
}

.header-inner {
    max-width: 1000px;
    margin: auto;
}

.page-header h1 {
    font-size: 25px;
    color: var(--primary);
    margin-bottom: 5px;
}

.page-header p {
    color: var(--muted);
    font-size: 14px;
}

main {
    max-width: 1000px;
    margin: 32px auto;
    padding: 0 18px;
}

.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(20, 60, 40, .05);
}

.form-intro {
    background: #eaf3ed;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
}

    .form-intro h2 {
        color: var(--primary-dark);
        font-size: 21px;
        margin-bottom: 5px;
    }

    .form-intro p {
        color: #52675a;
        font-size: 14px;
    }

form {
    padding: 28px;
}

.section {
    margin-bottom: 10px;
    padding: 10px 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
    font-size: 17px;
}

.section-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f2eb;
    font-size: 14px;
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    min-width: 0;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

.required {
    color: var(--danger);
}

input, select, textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    border: 1px solid #cbd7ce;
    border-radius: 6px;
    background: #fff;
    outline: none;
}

    input:focus, select:focus, textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(24, 92, 67, .10);
    }

    input[type="file"] {
        padding: 9px;
        background: #fbfcfb;
    }

textarea {
    min-height: 100px;
    resize: vertical;
}

.help-text {
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px;
}

.upload-box {
    border: 1px dashed #9eb9a5;
    border-radius: 8px;
    padding: 18px;
    background: #f8fbf8;
}

    .upload-box p {
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 12px;
    }

.file-status {
    margin-top: 10px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 5px;
}

.alert {
    display: none;
    padding: 13px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

    .alert.error-alert {
        background: #fff0ef;
        border: 1px solid #f3c2be;
        color: #8f2019;
    }

    .alert.info-alert {
        background: #eaf3ed;
        border: 1px solid #c7dfcf;
        color: #185c43;
    }

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}

    .consent input {
        width: 17px;
        height: 17px;
        min-height: auto;
        margin-top: 4px;
        flex-shrink: 0;
    }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 22px;
}

button {
    padding: 12px 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

    .btn-primary:disabled {
        opacity: .65;
        cursor: wait;
    }

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border-color: #b8cbbd;
}

footer {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

@@media (max-width: 650px) {
    .page-header h1 {
        font-size: 21px;
    }

    main {
        margin: 18px auto;
        padding: 0 10px;
    }

    form {
        padding: 20px 16px;
    }

    .form-intro {
        padding: 20px 16px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .full-width {
        grid-column: auto;
    }

    .form-actions button {
        flex: 1;
    }
}

.btn-Track {
    background: #779777;
    color: white;
    font-weight: bold;
}

    .btn-Track:hover {
        background: #b3a6a6;
        color: black;
        font-weight: bold;
    }

.track-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .03);
}

.track-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d7e0ec;
}

.track-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #e8f0ff;
    color: #175cd3;
}

    .track-icon svg {
        width: 21px;
        height: 21px;
    }

.track-heading {
    flex: 1;
    min-width: 0;
}

    .track-heading h1 {
        margin: 0 0 4px;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 700;
    }

    .track-heading p {
        margin: 0;
        color: #667085;
        font-size: 12px;
    }

.close-button {
    align-self: flex-start;
    border: 0;
    padding: 2px;
    background: transparent;
    color: #667085;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.track-intro {
    margin: 18px 0 12px;
    color: #475467;
    font-size: 12px;
}

.field-label {
    display: block;
    margin-bottom: 5px;
    color: #344054;
    font-size: 12px;
}

.search-row {
    display: flex;
    gap: 8px;
}

    .search-row input {
        width: 70%;
        min-width: 0;
        height: 38px;
        padding: 0 13px;
        border: 1px solid #cfd4dc;
        border-radius: 10px;
        outline: none;
        color: #101828;
        font: inherit;
        background: #fff;
    }

        .search-row input:focus {
            border-color: #84adff;
            box-shadow: 0 0 0 3px rgba(23, 92, 211, .1);
        }

    .search-row button {
        padding: 0 18px;
        border: 0;
        border-radius: 10px;
        background: #175cd3;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        margin-left: 5%;
    }

.status-banner-pending {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 12px 11px;
    border-radius: 8px;
    background: #edecd1;
    color: #677408;
}

.status-banner-reject {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 12px 11px;
    border-radius: 8px;
    background: #edd1d1;
    color: #dc3545;
}

.status-banner-success {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 12px 11px;
    border-radius: 8px;
    background: #eaf7ee;
    color: #087443;
}

.status-symbol {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.status-copy {
    flex: 1;
    min-width: 0;
}

.status-title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
}

.status-description {
    margin: 0;
    color: #47715b;
    font-size: 10px;
}

.status-badge {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 12px;
    background: #ffe7d6;
    color: #c2410c;
    font-size: 10px;
    line-height: 1.2;
}

.application-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 13px;
    padding: 16px 0 17px;
    border-bottom: 1px solid #d7e0ec;
}

.application-info-Full {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 24px;
    row-gap: 13px;
    padding: 16px 0 17px;
}

.remark-full-row {
    grid-column: 1 / -1;
    width: 100%;
}

    .remark-full-row strong {
        display: block;
        color: #101828;
        font-size: 13px;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

    .remark-full-row small {
        display: block;
        margin-bottom: 3px;
        color: #667085;
        font-size: 9px;
        letter-spacing: .2px;
    }

.info-item small {
    display: block;
    margin-bottom: 3px;
    color: #667085;
    font-size: 10px;
    letter-spacing: .2px;
}

.info-item strong {
    display: block;
    color: #101828;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

section {
    padding: 10px 0;
    overflow: hidden;
}

small {
    text-transform: uppercase;
}

.progress-section {
    padding-top: 19px;
}

    .progress-section h2 {
        margin: 0 0 16px;
        font-size: 13px;
        font-weight: 600;
    }

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    min-height: 40px;
}

.timeline-marker {
    position: relative;
    width: 14px;
    flex: 0 0 14px;
    display: flex;
    justify-content: center;
}

    .timeline-marker::after {
        content: "";
        position: absolute;
        top: 16px;
        bottom: -1px;
        width: 1px;
        background: #d7e0ec;
    }

.timeline-item:last-child .timeline-marker::after {
    display: none;
}

.timeline-dot {
    z-index: 1;
    display: block;
    width: 13px;
    height: 13px;
    margin-top: 1px;
    border-radius: 50%;
    border: 1.5px solid #98a2b3;
    background: #fff;
}

.timeline-item.completed .timeline-dot {
    display: grid;
    place-items: center;
    border: 0;
    color: #079455;
    background: transparent;
}

    .timeline-item.completed .timeline-dot svg {
        width: 15px;
        height: 15px;
    }

.timeline-item.current .timeline-dot {
    border: 2px solid #d97706;
    background: #fff;
    box-shadow: inset 0 0 0 3px #fff;
}

    .timeline-item.current .timeline-dot::before {
        content: "";
        width: 5px;
        height: 5px;
        display: block;
        margin: 2px;
        border-radius: 50%;
        background: #d97706;
    }

.timeline-item.upcoming .timeline-dot {
    border-color: #98a2b3;
    background: #98a2b3;
}

.timeline-content {
    padding-bottom: 12px;
}

    .timeline-content strong {
        display: block;
        margin-bottom: 5px;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 600;
    }

    .timeline-content p {
        margin: 0;
        color: #667085;
        font-size: 10px;
        line-height: 1.4;
    }

.sample-note {
    margin: 2px 0 0;
    color: #667085;
    font-size: 10px;
}

.message {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
}

    .message.error {
        display: block;
        color: #b42318;
        background: #fef3f2;
        border: 1px solid #fecdca;
    }

@@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .track-card {
        padding: 13px;
        border-radius: 12px;
    }

    .track-heading h1 {
        font-size: 15px;
    }

    .application-info {
        column-gap: 12px;
    }

    .status-banner {
        align-items: flex-start;
    }

    .status-badge {
        margin-top: 1px;
    }
}

.search-loader {
    text-align: center;
    padding: 25px 10px;
    margin-top: 15px;
    background: #f8faff;
    border: 1px solid #e1e9f5;
    border-radius: 12px;
}

.loader-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border: 4px solid #dbeafe;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spinLoader 0.7s linear infinite;
}

.search-loader p {
    margin: 0;
    color: #344767;
    font-size: 13px;
    font-weight: 500;
}

@@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}

.no-records-container {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    background: #ffffff;
    font-family: Arial, sans-serif;
}

.no-records-card {
    width: 100%;
    max-width: 480px;
    text-align: center;
    padding: 35px 25px;
    border: 1px solid #e8eaf3;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fafaff);
    box-shadow: 0 10px 35px rgba(31, 41, 55, 0.06);
}

.no-records-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5;
}

    .no-records-icon i {
        font-size: 18px;
    }

    .no-records-icon .error-badge {
        position: absolute;
        right: 0;
        bottom: 2px;
        width: 31px;
        height: 31px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid #fff;
        border-radius: 50%;
        background: #fee2e2;
        color: #dc2626;
        font-size: 15px;
    }

.no-records-title {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.no-records-description {
    max-width: 390px;
    margin: 0 auto 20px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.no-records-hint {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    padding: 11px 15px;
    border-radius: 10px;
    background: #f1f5ff;
    color: #4f46e5;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

    .no-records-hint i {
        margin-top: 2px;
        font-size: 16px;
    }

@@media (max-width: 576px) {
    .no-records-container {
        padding: 20px 12px;
    }

    .no-records-card {
        padding: 28px 18px;
    }

    .no-records-title {
        font-size: 23px;
    }

    .no-records-description {
        font-size: 14px;
    }
}

.btn-Track {
    background: #779777;
    color: white;
    font-weight: bold;
}

    .btn-Track:hover {
        background: #b3a6a6;
        color: black;
        font-weight: bold;
    }

.crossBtn {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    color: red;
    border-radius: 50%;
    font-size: 14px;
    border: 1px solid red;
}

.li_success {
    padding: 10px;
    background: #dff7da;
    margin: 10px;
    width: 100%;
}

.li_danger {
    padding: 10px;
    background: #edd1d1;
    margin: 10px;
    width: 100%;
}

.li_warning {
    padding: 10px;
    background: #f7f5db;
    margin: 10px;
    width: 100%;
}

.li_dark {
    padding: 10px;
    background: #dddddd;
    margin: 10px;
    width: 100%;
}

.viewbtn {
    background: #519f7f;
    padding: 5px 13px;
    margin-top: 15px;
    line-height: 3;
    font-size: 10px;
    color: white;
    border-radius: 6px;
}
.remark-full-row h6 {
    background: #eaf7ee;
    padding: 8px 4px;
    border-radius: 5px;
    color: #407a7a;
    font-weight: 700;
}