﻿
/*body {
  margin-bottom: 60px;
}
*/

/*body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial;
    direction:rtl;
}*/
/* تحسين شكل البطاقات */
.bg-light-success {
    background-color: #e8f5e9;
    border-color: #c8e6c9 !important;
}

.bg-light-danger {
    background-color: #ffebee;
    border-color: #ffcdd2 !important;
}

/* إضافة تأثير عند المرور بالفارة */
.border:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: default;
}
.bg-blue {
    --bs-bg-opacity 1 : 1;
    background-color: rgb(32 87 207) !important;
}
@media print {
    .btn {
        display: none;
    }
    /* إخفاء الزر عند الطباعة */
    table {
        width: 100%;
    }
}
body {
    overflow-y: auto;
    overflow-x: hidden;
    font-family: Arial;
    direction: rtl;
}
.transition-all {
    transition: all 0.3s ease;
}

    .transition-all:hover {
        background-color: #9d2a35;
        color: #FFF;
        border-color: #000000 !important;
    }
        .hero-section {
    background: linear-gradient(rgba(5,15,40,.40), rgba(5,15,40,.40)), url('https://www.mis.bu.edu.eg/BUStudTransfer/images/banha.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}

.login-card {
    width: 420px;
    background:#fff;/*rgba(255,255,255,.12);*/ 
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 45px;
/*    border: 1px solid rgba(255,255,255,.2);*/
    box-shadow: 0 0 25px rgba(0,0,0,.4);
}

.logo {
    width: 180px;
    background: rgba(255,255,255,.95);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(255,255,255,.4);
}
}

.title {
    color: #012056;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, .5);
    font-family: cursive;
}
    .university-name {
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0,0,0,.6);
}

.form-control {
    border: solid 1px #012056;
    height: 52px;
    border-radius: 12px;
/*    border: none;*/
}
.paidDiv {
 width: 250px;
    height: 70px;
    border: 3px solid #006e96;
    background: #ffd328;
    border-radius: 12px;
    font-size: 20px;
    font-family: system-ui;
    margin: auto;
    padding: 15px;
    color: #006e96;
}
    .btn-fawry {
    width: 250px;
    height  : 70px;
    border: 3px solid #006e96;
    border-radius: 12px;
    background: url('https://www.mis.bu.edu.eg/BUStudTransfer/images/fawry.png') no-repeat center center;
    background-size: cover; /* أو contain حسب مقاس الصورة */
    cursor: pointer;
    transition: .3s;
}

    .btn-fawry:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0,0,0,.25);
    }
.btn {
    background: #0b628d;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
}
.btn-login {
    background: #012056;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: bold;
    transition: 0.3s;
    color: #fff !important;
}
    .btn-login:hover{
    background: #c9a227;
}

.register-link {
    color: #c9a638;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

    .register-link:hover {
        color: #f4791f;
    }


.top-banner {
    background: #0b1f3a;
    height: 80px;
    width: 100%;
}

.bottom-banner {
    background: #0b1f3a;
    height: 25px;
    width: 100%;
}

.register-page {
    min-height: 100vh;
    padding-top: 35px;
    padding-bottom: 35px;
}

.register-card {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 35px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 0 30px rgba(0,0,0,.4);
}

.logo {
    width: 120px;
    background: rgba(255,255,255,.95);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255,255,255,.4);
    height:auto !important;
}

.title {
    color: #012056;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,0,0,.5);
font-family: cursive;


.university {
    color: #c9a227;
    font-size: 22px;
    font-weight: bold;
}

.section-title {
    color: #0b1f3a;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 20px;
}

.form-label {
    color: #012056;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-control,
.form-select {
    height: 45px;
    border-radius: 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: white;
    color: #012056;
    border: 2px solid #012056;
}

    .form-control:focus,
    .form-select:focus {
        box-shadow: 0 0 10px #ffd54f;
    }

.btn-save {
    background: #c9a227;
    color: white;
    height: 42px;
    width: 220px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin: auto;
}

    .btn-save:hover {
        background: #b8911f;
        transform: scale(1.02);
        transition: .3s;
    }
.bg-blue {
    --bs-bg-opacity: 1;
    background-color: rgb(11 98 141) !important;
}
.main-header {
    background: #fff;
    border-bottom: 3px solid #0b628d;
}

.logo {
    border-radius: 8px;
}

.main-footer {
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    color: #555;
}
.force-half {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    display: inline-block !important;
    float: right !important;
    padding-left: 15px !important; /* بادنج متناسق بين الحقول الجانبية */
    padding-right: 15px !important;
}

.force-row {
    display: block !important;
    clear: both !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

}

/* تنسيق وتنظيم المسافات الداخلية للحقول */
.custom-input, .custom-select-styled {
    padding: 12px 15px !important;
    height: auto !important;
    border-radius: 8px !important;
}

.input-icon-wrapper {
    position: relative;
}

.custom-label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #333;
}
:root {
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --input-focus-color: #3b82f6;
    --text-muted: #6b7280;
    --border-color-soft: #e5e7eb;
}

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.is-invalid {
    border: 1px solid red !important;
}
.step-wizard-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    direction: rtl;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.wizard-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 2px solid var(--border-color-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.wizard-connector {
    height: 4px;
    background-color: var(--border-color-soft);
    flex-grow: 1;
    margin: 0 -25px;
    position: relative;
    top: -14px;
    z-index: 1;
    transition: background-color 0.4s ease;
}

.wizard-step.active .wizard-icon {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(30, 60, 114, 0.3);
}

.wizard-step.active .wizard-label {
    color: #1e3c72;
    font-weight: bold;
}

.wizard-step.completed .wizard-icon {
    background: #10b981;
    color: white;
    border-color: transparent;
}

.wizard-connector.completed {
    background-color: #10b981;
}

.card-header-gradient {
    background: var(--primary-gradient);
    border-bottom: none;
}

.step-title-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 12px;
}

.custom-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-left {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #a1a1aa;
    pointer-events: none;
    transition: color 0.3s;
}

.custom-input {
    padding-right: 42px !important;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .custom-input:focus {
        border-color: var(--input-focus-color);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    }

.custom-select-styled {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .custom-select-styled:focus {
        border-color: var(--input-focus-color);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    }

.gap-3 {
    gap: 1rem;
}

.tile-card {
    cursor: pointer;
    position: relative;
    margin: 0;
}

.tile-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tile-content {
    padding: 12px 8px;
    border: 2px solid var(--border-color-soft);
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b5563;
}

    .tile-content i {
        font-size: 1.3rem;
        color: #9ca3af;
        transition: color 0.25s;
    }

.tile-input:checked + .tile-content {
    border-color: #2563eb;
    background-color: #eff6ff;
    color: #1e40af;
}

/* التنسيقات الإضافية للـ Checkbox كروت الاستمارات */
.checkbox-tile .tile-content {
    transition: all 0.2s ease;
}

.checkbox-custom-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    position: relative;
    background-color: #fff;
    flex-shrink: 0;
    transition: all 0.2s;
}

.tile-input:checked + .tile-content .checkbox-custom-indicator {
    background-color: #2563eb;
    border-color: #2563eb;
}

    .tile-input:checked + .tile-content .checkbox-custom-indicator::after {
        content: '';
        position: absolute;
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* كارت التنبيه للتأديب باللون الأحمر */
.border-danger-hover:hover {
    border-color: #fca5a5;
}

.tile-input:checked + .tile-content.border-danger-hover {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.tile-input:checked + .tile-content .indicator-danger {
    background-color: #dc2626;
    border-color: #dc2626;
}

.tile-input:checked + .tile-content i.gender-male-icon {
    color: #3b82f6;
}

.tile-input:checked + .tile-content i.gender-female-icon {
    color: #ec4899;
}

.tile-input:checked + .tile-content i.text-warning-star {
    color: #f59e0b;
}

.tile-card:hover .tile-content {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.file-dropzone-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background-color: #f8fafc;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .file-dropzone-area:hover {
        border-color: #3b82f6;
        background-color: #f1f5f9;
    }

.file-hidden-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-icon-upload {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.file-text-instruction {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.border-danger-dashed {
    border-color: #fca5a5 !important;
    background-color: #fff5f5 !important;
}

    .border-danger-dashed:hover {
        border-color: #ef4444 !important;
    }

.border-info-dashed {
    border-color: #7dd3fc !important;
    background-color: #f0f9ff !important;
}

    .border-info-dashed:hover {
        border-color: #0ea5e9 !important;
    }

.border-warning-dashed {
    border-color: #fde047 !important;
    background-color: #fefce8 !important;
}

    .border-warning-dashed:hover {
        border-color: #eab308 !important;
    }

.btn-primary-gradient {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(30, 60, 114, 0.2);
    transition: all 0.3s ease;
}

    .btn-primary-gradient:hover {
        opacity: 0.95;
        transform: translateY(-1px);
        box-shadow: 0 10px 15px -3px rgba(30, 60, 114, 0.3);
        color: white;
    }

.btn-success-gradient {
    background: var(--success-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(17, 153, 142, 0.2);
    transition: all 0.3s ease;
}

    .btn-success-gradient:hover {
        opacity: 0.95;
        transform: translateY(-1px);
        box-shadow: 0 10px 15px -3px rgba(17, 153, 142, 0.3);
        color: white;
    }

.btn-secondary-modern {
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-secondary-modern:hover {
        background-color: #e5e7eb;
        color: #1f2937;
    }

.py-2-5 {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.small-error {
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.custom-alert {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.custom-alert-info {
    background-color: #e0f2fe;
    border-color: #bae6fd;
    color: #0369a1;
    border-radius: 8px;
    font-size: 0.9rem;
}

.animate-fade {
    animation: fadeIn 0.4s ease-in-out forwards;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


:root {
    --primary-color: #0b628d;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --bg-gradient: linear-gradient(135deg, #0b628d 0%, #002d62 100%);
    --radius: 12px;
}

body {
    background-color: #f4f6f9;
}

/* تحسين تصميم مؤشر الخطوات العلوي */
.step-wizard-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    transition: all 0.3s ease;
}

.wizard-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.wizard-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* حالات الـ Wizard */
.wizard-step.active .wizard-icon {
    background: var(--bg-gradient);
    color: #fff;
    border-color: #0b628d;
    box-shadow: 0 0 0 5px rgba(0, 86, 179, 0.2);
    transform: scale(1.05);
}

.wizard-step.active .wizard-label {
    color: var(--primary-color);
}

.wizard-step.completed .wizard-icon {
    background-color: var(--success-color);
    color: #fff;
    border-color: var(--success-color);
}

.wizard-step.completed .wizard-label {
    color: var(--success-color);
}

.wizard-connector {
    height: 4px;
    background-color: #dee2e6;
    flex: 1;
    margin: 0 -15px 25px -15px;
    position: relative;
    top: -2px;
    z-index: 1;
    transition: background-color 0.4s ease;
}

    .wizard-connector.active {
        background-color: var(--success-color);
    }

/* تخصيص الكروت والحقول لتبدو أنعم وأفخم */
.custom-input, .custom-select-styled {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    padding: 12px 35px 12px 40px !important;
    height: auto;
    font-size: 0.95rem;
    transition: all 0.25s ease-in-out;
}

    .custom-input:focus, .custom-select-styled:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
        background-color: #fff;
    }

.input-icon-wrapper {
    position: relative;
}

.input-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
    transition: color 0.25s ease;
}

.custom-input:focus + .input-icon-left {
    color: var(--primary-color);
}

.custom-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.step-title-heading {
    font-weight: 700;
    color: #2d3748;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 12px;
}

/* الـ Tiles الخاصة بالديانة */
.tile-card {
    cursor: pointer;
    margin: 0;
}

.tile-input {
    display: none;
}

.tile-content {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--secondary-color);
    background-color: #fafafa;
    font-weight: 600;
}

.tile-input:checked + .tile-content {
    border-color: var(--primary-color);
    background-color: rgba(0, 86, 179, 0.04);
    color: var(--primary-color);
}

/* تحسينات ثورية لمناطق رفع الملفات المودرن */
.file-dropzone-area {
    border: 2px dashed #cbd5e0;
    background-color: #f8fafc;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .file-dropzone-area:hover {
        border-color: var(--primary-color);
        background-color: #f1f5f9;
    }

    .file-dropzone-area.border-success-active {
        border-color: var(--success-color) !important;
        background-color: rgba(40, 167, 69, 0.03) !important;
    }

.file-icon-upload {
    font-size: 2.2rem;
    color: #a0aec0;
    margin-bottom: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.file-dropzone-area:hover .file-icon-upload {
    transform: translateY(-4px);
    color: var(--primary-color);
}

.file-hidden-input, .doc-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-text-instruction {
    font-size: 0.85rem;
    font-weight: 600;
    color: #718096;
}

.file-name-preview {
    font-size: 0.85rem;
    margin-top: 8px;
    word-break: break-all;
}

/* أزرار مخصصة متناغمة */
.btn-primary-gradient {
    background: var(--bg-gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.25);
}

    .btn-primary-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 86, 179, 0.35);
        color: #fff;
    }

.btn-success-gradient {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.25);
}

    .btn-success-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(40, 167, 69, 0.35);
        color: #fff;
    }

.btn-secondary-modern {
    background-color: #fff;
    border: 1.5px solid #cbd5e0;
    color: #4a5568;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .btn-secondary-modern:hover {
        background-color: #f7fafc;
        color: #2d3748;
        border-color: #a0aec0;
    }
.custom-checkbox-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: #fff;
    border: 2px solid #dbe3ec;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: .25s;
    user-select: none;
}

    .custom-checkbox-card:hover {
        border-color: #0d6efd;
        background: #f8fbff;
    }

.custom-checkbox-input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #adb5bd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: .25s;
    flex-shrink: 0;
}

    .checkmark i {
        font-size: 13px;
        opacity: 0;
    }

.custom-checkbox-input:checked + .checkmark {
    background: #0d6efd;
    border-color: #0d6efd;
}

    .custom-checkbox-input:checked + .checkmark i {
        opacity: 1;
    }

.checkbox-text {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}
#btnSubmit:disabled {
    opacity: .6;
    cursor: not-allowed;
}



/*stud profile heba 13-7-2026*/

.timeline {
    position: relative;
    padding-right: 35px;
}

    .timeline:before {
        content: "";
        position: absolute;
        right: 13px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #0d6efd;
    }

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}

    .timeline-item:before {
        content: "";
        position: absolute;
        right: -26px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background: #0d6efd;
    }


.file-name {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    overflow-x: auto;
}

.step {
    flex: 1;
    min-width: 90px;
    text-align: center;
    position: relative;
}

    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 20px;
        left: -50%;
        width: 100%;
        height: 3px;
        background: #e5e7eb;
        z-index: 0;
    }

    .step.completed:not(:last-child)::after {
        background: #22c55e;
    }

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: .3s;
}

.step.completed .step-icon {
    background: #22c55e;
    color: #fff;
}

.step.active .step-icon {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(37,99,235,.15);
}

.step-title {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.4;
}

@media(max-width:768px) {

    .stepper {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .step {
        min-width: 80px;
    }

    .step-title {
        font-size: 11px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}
.profile-card {
/*    background: #fff;*/
    border: 1px solid #e9ecef;
    border-radius: 14px;
/*    padding: 18px 20px;*/
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    margin-bottom: 20px;
}

.student-header {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.student-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

    .student-item i {
        font-size: 28px;
    }

.student-name {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
}

.student-item strong {
    color: #212529;
    font-weight: 600;
}

.label {
    color: #6c757d;
}

.status-area {
    margin-top: 15px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.status-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-warning {
    background: #fff3cd;
    color: #856404;
}

.status-info {
    background: #e7f3ff;
    color: #0d6efd;
}

@media (max-width:768px) {

    .student-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .student-name {
        font-size: 18px;
    }

    .student-item {
        font-size: 14px;
    }

    .status-area {
        margin-top: 12px;
    }
}

.info-card{
    border:none;
    border-radius:18px;
    transition:.3s;
}

.info-card:hover{
    transform:translateY(-4px);
}

.section-title {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    background: #003065;
    font-size: 20px;
    padding: 10px;
}


.list-group-item {
    border: 0;
    border-bottom: 1px solid #eef2f7;
    transition: all .25s ease;
    background: #fff;
}

    .list-group-item:hover {
        background: #f8fbff;
        transform: translateX(-3px);
    }

    .list-group-item:last-child {
        border-bottom: 0;
    }

.badge {
    font-weight: 600;
    padding: .55rem .9rem;
}

.btn-outline-primary,
.btn-outline-danger {
    border-radius: 8px;
}

.progress {
    border-radius: 20px;
    overflow: hidden;
}

.documents-section {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}


.status {
    font-size: 13px;
    border-radius: 20px;
    padding: 4px 12px;
}

.success {
    background: #e8f7ee;
    color: #198754;
}

.danger {
    background: #fdecec;
    color: #dc3545;
}

.warning {
    background: #fff4da;
    color: #996c00;
}

.reject-reason {
    color: #dc3545;
    font-size: 13px;
}

.document-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: #f5f7fa;
    transition: .2s;
}

    .icon-btn:hover {
        background: #0d6efd;
        color: #fff;
    }


.doc-status {
    font-size: 14px;
}

.doc-reason {
    color: #dc3545;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f4f6f9;
    transition: .2s;
}

    .icon-btn:hover {
        background: #0d6efd;
        color: #fff;
    }

.upload-inline {
    grid-column: 4;
    display: flex;
    justify-content: flex-end;
}


.upload-form {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

    .upload-form .icon-btn {
        width: 36px;
        height: 36px;
    }
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
}







.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

    .payment-row + .payment-row {
        border-top: 1px solid #edf2f7;
    }

.payment-title {
    font-weight: 600;
    color: #212529;
}

.payment-info small {
    font-size: 12px;
}

.paid-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e9f8ef;
    color: #198754;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.payment-action form {
    margin: 0;
}

.payment-action .btn {
    min-width: 110px;
}

@media (max-width:768px) {

    .payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .payment-action,
    .payment-action form,
    .payment-action .btn {
        width: 100%;
    }
}




.document-row {
    grid-template-columns: 1fr;
}

.documents-section {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.document-row {
    display: grid !important;
    grid-template-columns: minmax(170px, 2fr) 105px minmax(120px, 1fr) 82px !important;
    align-items: center;
    gap: 8px;
    min-width: 560px;
    padding: 12px 10px;
    border-bottom: 1px solid #eceff4;
}

.doc-name {
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.doc-status {
    white-space: nowrap;
    min-width: 0;
}

.doc-reason {
    min-width: 0;
    color: #dc3545;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.upload-form {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    margin: 0;
    white-space: nowrap;
}

.icon-btn {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: none;
    border-radius: 8px;
    background: #f4f6f9;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.history-icon {
    width: 40px;
    height: 40px;
    background: #e8f5e9;
    color: #28a745;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.history-title {
    font-weight: 600;
}

.history-note {
    color: #666;
}

.history-date {
    white-space: nowrap;
    color: #888;
    font-size: .9rem;
}

@media (max-width:768px) {
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .history-date {
        white-space: normal;
    }
}
/* =======================
   Mobile Timeline
======================= */
@media (max-width:768px) {

    .stepper {
        display: flex;
        flex-direction: column;
        gap: 18px;
        overflow: visible;
        padding: 5px 10px;
    }

    .step {
        display: flex;
        align-items: center;
        text-align: right;
        width: 100%;
        min-width: 0;
        position: relative;
        padding-right: 55px;
    }

        /* الخط الرأسي */
        .step:not(:last-child)::before {
            content: "";
            position: absolute;
            right: 20px;
            top: 40px;
            width: 3px;
            height: 40px;
            background: #dee2e6;
        }

        .step.completed:not(:last-child)::before {
            background: #22c55e;
        }

        /* إلغاء الخط الأفقي */
        .step::after {
            display: none !important;
        }

    .step-icon {
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
        flex-shrink: 0;
    }

    .step-title {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        color: #333;
        text-align: right;
        line-height: 40px;
    }
}