﻿:root {
    --bg: #ffffff;
    --text: #222;
    --muted: #6b7280;
    --primary: #0b5cff;
    --accent: #16a34a;
    --warn: #f59e0b;
    --error: #dc2626;
    --card: #f8fafc;
    --border: #D9D9D9;
    --secondry: #A28A65;
}

/* Extra Light */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-ExtraLight.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-ExtraLight.woff') format('woff');
    font-weight: 200;
}

/* Light */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-Light.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-Light.woff') format('woff');
    font-weight: 300;
}

/* Regular */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-Regular.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-Regular.woff') format('woff');
    font-weight: 400;
}

/* Medium */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-Medium.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-Medium.woff') format('woff');
    font-weight: 500;
}

/* Bold */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-Bold.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-Bold.woff') format('woff');
    font-weight: 700;
}

/* Extra Bold */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-ExtraBold.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-ExtraBold.woff') format('woff');
    font-weight: 800;
}

/* Black */
@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/tajawal/Tajawal-Black.woff2') format('woff2'), url('/fonts/tajawal/Tajawal-Black.woff') format('woff');
    font-weight: 900;
}


:lang(ar), [dir="rtl"] {
    font-family: 'Tajawal', sans-serif;
}


/* Global Layout */
html, body {
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
    margin: 0;
    height: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 24px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .title {
    font-size: 22px;
    font-weight: 700;
}


html[lang="ar"] .title {
    text-align: right;
}

html[lang="en"] .title {
    text-align: left;
}


.badge {
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
}

/* Card */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
    min-height: 600px;
}

/* Inputs */
label {
    font-size: 16px;
    color: #374151;
    font-weight: 600;
    display: block;
    line-height: 140%;
    margin-bottom: 6px;
    padding-left: 14px;
    padding-right: 14px;
}

input[type=text],
input[type=date],
input[type=email],
input[type=tel],
input[type=number],
input[type=password],
select,
textarea {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #fff;
    outline: none;
    box-shadow: none;
}


/* Focus shadow */
/*input[type=text]:focus,
input[type=date]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=password]:focus,
select:focus,
textarea:focus {
    border-color: #A28A65;
    box-shadow: 0 0 0 3px rgba(162, 138, 101, 0.35);
}*/


input[readonly] {
    background: #f8fafc;
    color: #111827;
    border-color: #e5e7eb;
}

select:disabled,
input:disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

/* Notes and Hints */
.hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

/* Buttons */
.actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

button {
/*    appearance: none;
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;*/
}

/*.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
*/

/*button, btn {
    outline: none;
}

    button:focus,
    button:focus-visible,
    button:active,
    btn:focus,
    btn:focus-visible,
    btn:active {
        outline: none;
        box-shadow: none;
    }*/


button,
button:focus,
button:focus-visible,
button:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

/* Firefox specific */
button::-moz-focus-inner {
    border: 0;
}


.btn {
    min-width: 140px;
    padding: 12px 24px;
    border-radius: 97px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


.btn-primary {
    background-color: #E3E3E3;
    color: #000;
    border-color: #767676;
}

.btn-primary:hover {
    background-color: #D6D6D6;
    color: #000;
}

.btn-cst {
    background-color: #E3E3E3;
    color: #000;
    border-color: #767676;
}

.btn-cst:hover {
    background-color: #D6D6D6;
    color: #000;
}

.btn-ghost {
    background: #fff;
}

.btn-success {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}


.btn-draft {
    background-color: var(--secondry); /* #A28A65 */
    color: #FFFFFF; /* dark text */
    border: 1px solid #8c7a55;
    border-radius: 97px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-draft:hover {
    background-color: #7F6E4D;
}

.scholarship-layout input[type=text],
.scholarship-layout input[type=date],
.scholarship-layout input[type=email],
.scholarship-layout input[type=tel],
.scholarship-layout input[type=number],
.scholarship-layout input[type=password],
.scholarship-layout select,
.scholarship-layout textarea {
    border: solid #D9D9D9 1px;
    border-radius: 97px;
    width: 100%;
}
.scholarship-layout select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("/images/icons/down-arrow.svg");
/*    background: url("/images/icons/download-ico.svg") no-repeat center;*/
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 12px;
}

html[dir="rtl"] .scholarship-layout select {
    background-position: left 10px center;
}

.scholarship-layout label {
    padding-left: 14px;
    padding-right: 14px;
}
/* Upload Box */
.upload {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    padding: 14px;
    border-radius: 12px;
}

/* Document Grid */
.grid-docs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Misc */
.req {
    color: #ef4444;
}

.note {
    font-size: 12px;
    color: #1f2937;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: 8px;
}

.hidden {
    display: none !important;
}

h4 {
    margin: 12px 0 6px 0;
}

.summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    display:none;
}

.sub-heading {
    margin: 20px;
    font-weight: bold;
    font-size: x-large;
    color: #A28A65;
}

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

.draft-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1f2933;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    z-index: 9999;
}

.branding-wrapper {
/*    background-color: #f5f6f2;*/
    padding: 2rem;
    height: 100%;
    position: relative;
}

.branding-card {
    width: 50vw;
    height: 100vh;
    max-width: 600px;
    min-height: 906px;
    background-image: url('/images/branding.svg');
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    margin: auto;
    position: relative;
    margin-bottom: 4rem;
}

.login-btn {
    width: 100%;
    padding: 8px 20px;
    background-color: var(--secondry);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1rem;
}

.uaepass-login-icon {
    margin: 0 auto;
}
/* Hover */
.login-btn:hover {
    background-color: #7e6a4b;
}

/* Focus / active */
.login-btn:focus,
.login-btn:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(162, 138, 101, 0.45);
}


.login-card {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    background-color: #FFFFFF;
    border-radius: 18px;
    margin-bottom: 3rem;
}

.footer-line {
    background: linear-gradient(to right, #a28a65, #271500);
    line-height: 28px;
    color: #fff;
}

.content-bg-log {
    height: 100%;
    background-image: url('/images/login-bg-v2.webp');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}


html[dir="ltr"] .content-bg-log {
    background-image: url('/images/login-bg-v2-flipped.webp');
}


.login-title {
    color: #FFFFFF;
    line-height: 140%;
    font-size: 69px;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 20px;
}

.login-sub-title {
    font-size: 35px;
    line-height: 140%;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f3f3;
    display: grid;
    place-items: center;
}


.icon-circle-pr {
    width: 50px;
    height: 50px;
    fill: #a28a65;
}

.profile-icon {
    width: 36px;
    height: 36px;
    fill: #a28a65;
}

/* Language */
.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-pill {
    border: none;
    cursor: pointer;
}

.lang-pill.hover {
    background: #a28a65;
    color: #fff;
}


.lang-pill:focus,
.lang-pill:active,
.lang-pill:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}


/* CENTER */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-box {
    width: 270px;
    background: #f5f5f5;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.search-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
}


.search-box input:focus,
.search-box input:active,
.search-box input:focus-visible {
    outline: none;
    box-shadow: none;
}


.card-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /*min-height: 250px;*/ /* adjust if needed */
}


.card-content {
    flex-grow: 1;
    margin-bottom: 1rem;
}


.cta-btn {
    padding: 3px 60px;
    background-color: #a28a65;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {

    background-color: #808080;
}

.cta-btn:focus,
.cta-btn:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(162, 138, 101, 0.4);
}

.tooltip-card {
    position: relative;
}

.custom-tooltip {
    position: absolute;
    top: -10px; 
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #1f2937;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    max-width: 260px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000; 
}

.tooltip-card:hover .custom-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-20px);
}

/* RIGHT */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: right;
}

.org-text {
    line-height: 1.3;
}

.org-ar {
    font-size: 14px;
    font-weight: 600;
}

.org-en {
    font-size: 12px;
    color: #777;
}

.org-logo {
    height: 42px;
}


/* ============================= */
/* Scholarship Layout */
/* ============================= */

.scholarship-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    align-items: stretch;
}

/* Main content area */
.scholarship-content {
    flex: 1;
    min-width: 0;
}

/* Stepper container */
.scholarship-stepper {
    width: 240px;
    position: sticky;
    top: 100px;
    display: flex;

}

/* Vertical stepper */
.scholarship-stepper .stepper {
    flex-direction: column;
    align-items: stretch;
}

.scholarship-stepper .step {
    justify-content: flex-start;
    padding: 10px 14px;
    border-radius: 12px;
}


.scholarship-stepper #stepper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: space-between;
}


/* Progress bar orientation */
.scholarship-stepper .progress-bar {
    height: 100%;
    width: 6px;
}


/* RTL (Arabic) */
html[dir="rtl"] .scholarship-layout {

    flex-direction: row-reverse;
}

html[dir="rtl"] .declaration {
    text-align:right; 
}
/* LTR (English) */
html[dir="ltr"] .scholarship-layout {
    flex-direction: row-reverse;
}

/* ============================= */
/* Vertical Stepper Card */
/* ============================= */

.stepper-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: stretch;
    margin-bottom: 14px;
}

/* Stepper */
.vertical-stepper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}


/* Step Item */
.v-step {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    font-size: 14px;
    color: #9ca3af;
}

/* Dot */
.v-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Label */
.v-label {
    white-space: nowrap;
}

/* Active Step */
.v-step.active {
    color: #111827;
    font-weight: 700;
}

.v-step.active .v-dot {
    border: solid #a28a65 1px;
    color: #a28a65;
    background: #fff;
}

/* Completed Steps (optional future use) */
.v-step.completed .v-dot {
    background: #a28a65;
    color: #fff;
}

.v-step.completed {
    color: #000;
    font-weight: 400;
}


/* ============================= */
/* Horizontal Step Progress Bar */
/* ============================= */

.step-progress {
    margin-bottom: 20px;
}

.step-progress-track {
    width: 100%;
    height: 6px;
    background-color: #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #a28a65; /* matches stepper */
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* ============================= */
/* Declaration Checkbox Style */
/* ============================= */

.declaration {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Wrapper */
.declaration-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 97px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    /* Hover */
    .declaration-item:hover {
        border-color: #d1d5db;
        background-color: #fafafa;
    }

    /* Hide native checkbox */
    .declaration-item input[type="checkbox"] {
        display: none;
    }

/* Custom checkbox box */
.checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #9ca3af;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Check icon */
.checkmark::after {
    content: "✓";
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    display: none;
}

/* Checked state */
.declaration-item input:checked + .checkmark {
    background-color: #111827;
    border-color: #111827;
}

.declaration-item input:checked + .checkmark::after {
    display: block;
}

/* Text */
.declaration-text {
    font-size: 14px;
    color: #111827;
    line-height: 1.5;
}


/* Two-column document layout */
.doc-upload .grid {
    display: grid;
    gap: 20px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ============================= */
/* Custom File Upload (Kendo) */
/* ============================= */

.upload-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.upload-label {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* ===================================================== */
/* KENDO UPLOAD – SVG ICON FIX (FINAL) */
/* ===================================================== */

/* Force full width at every level */
.k-upload,
.k-upload .k-dropzone,
.k-upload .k-upload-button-wrap {
    width: 100% !important;
    overflow: visible !important;
}

/* Remove default Kendo visuals */
.k-upload,
.k-dropzone {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Upload button = input field */
.k-upload-button {
    position: relative !important; /*  REQUIRED */
    width: 100% !important;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 0 48px 0 14px; /* space for icon */
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #ffffff;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    
    text-align: left;
    padding-left: 12px;
}


html[dir="rtl"] .k-upload-button {
    justify-content: flex-start;
    text-align: right;
    padding-right: 12px;
}


    /* Kendo text */
    .k-upload-button .k-button-text {
        color: #9ca3af;
        font-weight: 400;
        text-align: left;
        width: 100%;
    }

    /* === SVG ICON === */
    .k-upload-button::after {
        content: "";
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        background: url("/images/icons/download-ico.svg") no-repeat center;
        background-size: contain;
        pointer-events: none;
        opacity: 0.85;
    }

    /* Hover state */
    .k-upload-button:hover {
        border-color: #a28a65;
    }
    
    



/* TEXT ALIGN RTL */
html[dir="rtl"] .k-upload-button .k-button-text {
    text-align: right;
    direction: rtl;
    width: 100%;
}

/* ============================= */
/* Upload Input With Icon */
/* ============================= */

.upload-input-wrapper {
    position: relative;
    width: 100%;
}

/* Force Kendo to stretch */
.upload-input-wrapper .k-upload,
.upload-input-wrapper .k-upload-button-wrap,
.upload-input-wrapper .k-upload-button {
    width: 100% !important;
}

/* Upload button looks like input */
.upload-input-wrapper .k-upload-button {
    height: 44px;
    padding: 0 44px 0 14px; /* space for icon */
    border: 1px solid #E3E3E3;
    border-radius: 97px;
    background: #ffffff;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #9ca3af;
}

/* The real icon */
.upload-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    opacity: 0.85;
    pointer-events: none; /* click passes to upload */
}

/* Hover */
.upload-input-wrapper .k-upload-button:hover {
    border-color: #a28a65;
}


/* Hide file list */
.k-upload-files,
.k-upload-status,
.k-upload-selected {
    display: none !important;
}


.upload-success .k-upload-button {
    border-color: #16a34a !important;
}


html[dir="rtl"] .k-upload-button {
    /*    padding-left: 46px;*/
/*    padding: 0 48px 0 14px;*/
}

html[dir="rtl"] .k-upload-button::after {
    right: auto;
    left: 14px;
}

html[dir="rtl"] .upload-icon {
    right: auto;
    left: 14px; /* move icon to LEFT */
}



.upload-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    padding-left: 14px;
    padding-right: 14px;
}

/* Align properly for RTL */
html[dir="rtl"] .upload-hint {
    text-align: right;
}


/* ============================= */
/* Submission Success Screen */
/* ============================= */

.submission-success-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.submission-success-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 40px 48px;
    max-width: 520px;
    width: 100%;
    text-align: center;
}

/* Icon container */
.success-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e9f4ec; /* light green background */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .success-icon img {
        width: 56px;
        height: 56px;
    }

/* Title */
.submission-success-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

/* Message */
.submission-success-card .hint {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 26px;
}

/* Button */
.success-btn {
    padding: 10px 28px;
    background-color: #a28a65; /* matches your theme */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.success-btn:hover {
    background-color: #7f6e4d;
}


.card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0,0,0,0.25);
}





.scholarship-layout {
    flex-direction: column !important;
}

.scholarship-stepper {
    width: 100%;
    position: static;
    order: -1;
}

/*  OVERRIDE THE REAL RULE */
.scholarship-stepper #stepper {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 0;
}

/*  Force steps horizontal */
.v-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #bfbfbf;
    font-size: 12px;
}

.v-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d1d5db;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 2px solid #d1d5db;
    margin-bottom: 6px;
}


/* LABEL */
.v-label {
    font-size: 12px;
    color: #bfbfbf;
}

/*  ACTIVE STEP (ONLY THIS HAS COLOR) */
.v-step.active .v-dot {
    background: #a28a65;
    color: #fff;
    border: 3px solid #ffffff; /* inner white ring */
    box-shadow: 0 0 0 2px #a28a65; /* outer brown ring */
}


.v-step.active .v-label {
    color: #a28a65;
    font-weight: 600;
}

/*  KEEP ALL OTHERS GREY */
.v-step.completed .v-dot {
    background: #d1d5db;
    color: #ffffff;
}

.v-step.completed .v-label {
    color: #bfbfbf;
}

/* ============================= */
/* UPDATED HORIZONTAL STEPPER */
/* ============================= */

.scholarship-stepper #stepper {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.vertical-stepper {
    position: relative;
}

/* FULL WIDTH LINE */

.vertical-stepper::before {
    content: "";
    position: absolute;
    top: 18px;
    left: calc((100% / 6) / 2);
    right: calc((100% / 6) / 2);
    height: 2px;
    background: #d1d5db;
    z-index: 1;
}



.main-error-wrapper {
    background-color: #f6f7f9;
    width: 100%;
    max-width: 100%;
    height: 87vh;
}
/* Outer card */
.main-error-card {
    background-color: #FFF;
    border-radius: 16px;
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner rounded box */
.inner-box {
    border: 1px solid #ddd;
    border-radius: 44px;
    padding: 40px 80px;
    background-color: #ffffff;
    width: 80vw;

}

/* Icon styles */
.icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: #f7e7b5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-icon {
    font-size: 36px;
    color: #d4a200;
}

/* Info box */
.info-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background-color: #fafafa;
}

.main-error-card h4 {
    font-size: 26px;
    letter-spacing: -2px;
    font-weight:bold;
    line-height:120%;
}


.info-box-custom {
    border: 1px solid #c9b79c;
    border-radius: 12px;
    padding: 20px 25px;
}


.value {
    margin-top: 4px;
}

.field-block {
    text-align: left;
}

.field-block small {
    color: #000;
    font-size: 12px;
}


html[dir="ltr"] .field-block {
    text-align: left;
}

html[dir="rtl"] .field-block {
    text-align: right;
}


.info-box-custom hr {
    margin: 12px 0;
    border-top: 1px solid #d6c8b3;
}

html[dir="ltr"] .border-start {
    border-left: 1px solid #d6c8b3 !important;
}


html[dir="rtl"] .border-start {
    border-right: 1px solid #d6c8b3 !important;
}

.info-border {
    border: solid #A28A65 1px;
    border-radius: 7px;
    text-align: left;

}

.error-mgs {
    background-color: #E3E3E3;
    border-radius: 100px;
    color: #000000 !important;
    font-size: 14px;
    padding: 18px;
}

.info-box-custom ul {
    margin: 0;
    padding-left: 20px;
}

html[dir="rtl"] .info-box-custom ul {
    padding-left: 0;
    padding-right: 20px;
    text-align: right;
}

.info-box-custom li {
    margin-bottom: 10px;
    color: #000;
    line-height: 1.5;
}

.info-box-custom .value {
    margin-top: 6px;
    color: #000;
    line-height: 1.6;
}

.info-box-custom .text-danger {
    font-size: 16px;
}

.info-box-custom .value {
    margin-top: 8px;
    line-height: 1.6;
    color: #000;
}

.info-box-custom .text-danger {
    font-size: 16px;
}

.info-box-custom hr {
    margin: 16px 0;
}

.main-error-card .btn {
    width: 100%;
    background-color: #ccc;
    border-color: #ccc;
    color: #000;
}


.main-error-card .btn:hover,
.main-error-card .btn:active {
    background-color: #bbb;
    border-color: #bbb;
}

.hide-hr {
    display: none;
}

.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none !important;
}

.modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    width: 320px;
    text-align: center;
    position: relative;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Buttons */
.modal-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

    /* Disabled */
    .modal-btn.disabled {
        background: #eee;
        color: #999;
        cursor: not-allowed;
    }

    /* Active */
    .modal-btn.active {
        background: #a28a65;
        color: #fff;
    }

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
}

.section-one ol, .d-list ol {
    list-style: decimal;
    margin: 1rem;
    padding: 1rem;
}

html[lang="ar"] .section-one ol,
html[lang="ar"] .d-list ol {
    direction: rtl;
    text-align: right;
    list-style: decimal;
    list-style-position: outside;
    margin: 1rem;
    padding-right: 1.5rem;
    padding-left: 0;
}

.d-title {
    font-weight: bold;
}


/* ======================================= */
/* Feedback Modal */
/* ======================================= */

.feedback-modal-content {
    width: 500px;
    max-width: 90%;
    min-height: 300px;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.feedback-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}


.feedback-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
    max-width: 600px;
}


.rating-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
}


.rating-star {
    font-size: 75px;
    line-height: 1;
    cursor: pointer;
    color: #d9d9d9;
    transition: all 0.2s ease;
}


    .rating-star.active {
        color: var(--secondry);
    }


    .rating-star:hover {
        transform: scale(1.1);
    }


#submitFeedbackBtn {
    min-width: 220px;
}

/* Mobile Responsive */
@media (max-width: 820px) {
    .grid-docs {
        grid-template-columns: 1fr;
    }

    .col-6, .col-4, .col-3, .col-5, .col-7 {
        grid-column: span 12;
    }

    .doc-upload .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    

    .app-header {
        flex-wrap: wrap; /* allows next line */
        gap: 12px;
    }

    /* Logo goes full width on top */
    .header-right {
        order: -1; /* move to top */
        width: 100%;
        justify-content: center;
    }

    /* Left section goes below */
    .header-left {
        width: 100%;
        flex-wrap: wrap; /* allows icons to wrap */
        justify-content: space-between;
        /*flex-direction: row;*/ /* IMPORTANT (not row-reverse) */
    }

    /* Search takes full width */
    .search-box {
        width: 100%;
        order: 2; /* move below icons */
    }

    /* Icons row spacing */
    .icon-circle {
        flex-shrink: 0;
    }

    .header-right {
        order: 3; /* push logo to bottom */
        width: 100%;
        justify-content: center;
        margin: 10px auto;
    }

    .header-left {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        order: 1;
    }

    .search-box {
        width: 100%;
        order: 2; /* stays between left and logo */
    }

    .mob-center {
        text-align: center !important;
    }

    .scholarship-layout input[type=text], 
    .scholarship-layout input[type=date], 
    .scholarship-layout input[type=email], 
    .scholarship-layout input[type=tel], 
    .scholarship-layout input[type=number], 
    .scholarship-layout input[type=password], 
    .scholarship-layout select, 
    .scholarship-layout textarea {
        font-size: 14px;
    }

    .scholarship-layout label {
        font-size: 14px;
    }

    .btn {
        min-width: 100px;
        font-size: 12px;
    }
    .btn-draft {
        font-size: 12px;
    }

    .actions {
        justify-content: center;
    }

    .login-card {
        width: 370px;
    }

    .login-title {
        font-size: 45px;
    }

    .login-sub-title {
        font-size: 25px;
    }

}


@media (max-width: 768px) {

    /* GRID layout */
    .scholarship-stepper #stepper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
        justify-items: center;
    }

    .v-step {
        position: relative;
        text-align: center;
        width: 100%;
    }

    /* REMOVE big desktop line */
    .vertical-stepper::before {
        display: none;
    }

    /* FIXED LINE BETWEEN ITEMS */
    .v-step:not(:nth-child(3n+1))::before {
        content: "";
        position: absolute;
        top: 18px;
        right: -33%;
        width: 100%;
        height: 2px;
        background: #d1d5db;
        z-index: 0;
    }

    /* ensure dot is above line */
    .v-dot {
        position: relative;
        z-index: 2;
    }

    .inner-box {
        padding: 40px 35px;
    }

    .main-error-card h4 {
        font-size: 21px;
        letter-spacing: -1px;
    }

    html[dir="rtl"] .border-start {
        border-right: 0 !important;
    }

    html[dir="ltr"] .border-start {
        border-left: 0 !important;
    }

    .hide-hr {
        display: block;
    }

    .main-error-wrapper {
        height: 100%;
    }

    .main-error-card {
        height: 100%;
    }
}