/* Base Styles */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text-primary-password {
    color: #418b87 !important;
}
/* Modal Styles */
.modal {
    max-height: 100%;
    overflow-y: auto;
    /*overflow: hidden !important;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 40px 0;
    z-index: 9999;
    justify-content: center;
    align-items: flex-start; /* لبدء المحتوى من الأعلى مع padding */
    box-sizing: border-box;
}

.modal-content {
    max-width: 700px;
    margin: 20px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
@media (max-width: 600px) {
    .modal-content {
        position: absolute;
        left: 0;
        top: 10%;
        height: auto;
    }
}

.modal-content1 {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 2px solid black;
}

/* Logo */
.modal-logo {
    position: absolute;
    top: 40px;
    right: 50px;
    z-index: 1000;
    width: 70px !important;
    height: auto !important;
}
@media (max-width: 600px) {
    .modal-logo {
        top: 25px;
        right: 40px;
        width: 25px;
        height: auto;
    }
}

.modal-logo img {
    max-width: 80px;
    height: auto;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(65, 139, 135, 0.25);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
}

/* Card Styles */
.info-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 2px solid black;
}
.info-card1 {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    border-radius: 10px; /* حذف التكرار */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    /* لتحديد عرض مناسب */
    max-width: 400px; /* أو أي عرض يناسب تصميمك */
    width: 90%; /* يستجيب مع الشاشات الصغيرة */

    /* لجعل العنصر في منتصف الشاشة عمودياً وأفقياً */
    position: relative;
    margin: 100px auto; /* مسافة من الأعلى + مركزة أفقياً */
    max-width: 400px;

    /* للتأكد من أن العنصر يظهر فوق كل شيء */
    z-index: 1050;
}

/* Button Styles */
.btn-primary {
    background-color: #418b87 !important;
    border-color: #418b87 !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #356f6c !important;
    border-color: #356f6c !important;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border-radius: 30px;
    padding: 10px 25px;
}

/* Table Styles */
.service-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.service-table th {
    background-color: #f8f9fa;
    padding: 12px 15px;
    font-weight: 600;
}

.service-table td {
    padding: 12px 15px;
    background-color: white;
    border-top: 1px solid #dee2e6;
}

.service-table tr:first-child td {
    border-top: none;
}

/* Pricing Card */
.pricing-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.pricing-body {
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

/* Document Upload */
.document-upload {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.document-upload:hover {
    border-color: #418b87;
}

.document-upload i {
    font-size: 40px;
    color: #6c757d;
    margin-bottom: 10px;
}

.document-upload label {
    cursor: pointer;
    font-weight: 500;
}

.document-preview {
    max-width: 100%;
    max-height: 150px;
    margin-top: 10px;
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        margin: 10px;
    }

    .row {
        flex-direction: column;
    }

    .col-md-6,
    .col-md-4 {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Pagination */
.pagination .page-link {
    border-radius: 20px;
    margin: 0 5px;
    border: none;
    color: #495057;
}

.pagination .page-item.active .page-link {
    background-color: #418b87;
    color: white;
}
.section-title {
    position: absolute;
    top: 80px;
    left: 32%;
    transform: translateX(-50%);
    font-size: clamp(20px, 3vw, 30px);
    color: #418b87;
    /* Animation */
    animation: wipeDown 0.8s ease-out forwards;
    overflow: hidden; /* مهم لضبط القص */
}

.section-title1 {
    position: absolute;
    top: 80px;
    left: 35%;
    transform: translateX(-50%);
    font-size: clamp(15px, 3vw, 25px);
    color: #418b87;
    /* Animation */
    animation: wipeDown 0.8s ease-out forwards;
    overflow: hidden; /* مهم لضبط القص */
}

/* Section Titles */
/* .section-title {
    color: #418b87;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    font-size: clamp(20px, 3vw, 30px);
    }*/

/* Note Box */
.note-box {
    background-color: #e7f5ff;
    border-left: 4px solid #418b87;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.note-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.note-box li {
    margin-bottom: 8px;
}
.mb-4 {
    text-align: justify;
}
.justify-content-end-password {
    justify-content: center !important;
}
.document-upload-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 0 10px;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* اللون الذي تريده */
    background-color: hsl(183, 34%, 26%, 0.8); /* لون مع شفافية */

    /* تأثير الضباب */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
}
body.modal-open {
    overflow: hidden;
}
/*أجهزة أصغر من 768px*/
@media (max-width: 768px) {
    body::before {
        background-size: contain;
    }
}

/*  أجهزة أصغر من 480px*/
@media (max-width: 780px) {
    body::before {
        background-color: hsl(183, 34%, 26%, 0.8); /* لون مع شفافية */
    }
}
@keyframes wipeDown {
    from {
        clip-path: inset(0 100% 0 0); /* يبدأ مخفيًا من الأعلى */
    }
    to {
        clip-path: inset(0 0 0 0); /* يظهر بالكامل */
    }
}

@keyframes popup {
    from {
        transform: scale(0.6) translate(-50%, -50%);
        opacity: 0;
    }
    to {
        transform: scale(1) translate(-50%, -50%);
        opacity: 1;
    }
}

.card {
    width: 100%;
    max-width: 100%; /* يمكنك تعديل العرض حسب الحاجة */
    height: 100%;
}

.wrapper {
    position: absolute; /* أو absolute حسب الحاجة */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    animation: popup 0.8s ease-out forwards;
    overflow: hidden;
    z-index: 999; /* لتكون فوق باقي العناصر */
}

.wrapper2 {
    position: absolute; /* أو absolute حسب الحاجة */
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100% !important;
    min-height: 55% !important;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    animation: popup 0.8s ease-out forwards;
    overflow: hidden;
    z-index: 999; /* لتكون فوق باقي العناصر */
}

@media (max-width: 400px) {
    .wrapper {
        padding: 15px !important;
        top: 55%;
    }
}
@media (max-height: 800px) {
    .wrapper {
        padding: 15px !important;
        top: 60%;
    }
}
@media (max-height: 700px) {
    .wrapper {
        padding: 15px !important;
        top: 65%;
    }
}

.header {
    display: flex;
    align-items: center; /* لجعل العناصر تصطف عموديًا في الوسط */
    gap: 0px !important; /* مسافة بين اللوغو والعنوان */
}
.wrapper-logo {
    position: absolute;
    top: 50px;
    right: 55px;
    z-index: 1000;
    width: 70px !important;
    height: auto !important;
}
@media (max-width: 600px) {
    .wrapper-logo {
        top: 55px;
        right: 45px;
        width: 50px !important;
        height: auto !important;
    }
}

.forget-logo {
    position: absolute;
    top: 45px;
    right: 35px;
    z-index: 1000;
    width: 70px !important;
    height: auto !important;
}
@media (max-width: 600px) {
    .wrapper-logo {
        top: 55px;
        right: 45px;
        width: 50px !important;
        height: auto !important;
    }
}

.box {
    background-color: rgba(238, 238, 238, 0); /* 0.5 تعني شفافية 50% */
    padding: 50px;
}
.box1 {
    background-color: rgba(238, 238, 238, 0); /* 0.5 تعني شفافية 50% */
    padding: 40px;
}
.box2 {
    background-color: rgba(238, 238, 238, 0); /* 0.5 تعني شفافية 50% */
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000000;
}
.input-field {
    position: relative;
    border-bottom: 2px solid #ccc;
    margin: 15px 0;
}
.input-field label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #000000;
    font-size: 16px;
    pointer-events: none;
    transition: 0.15s ease;
}
.input-field input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #000000;
}
.input-field input:focus ~ label,
.input-field input:valid ~ label {
    font-size: 0.8rem;
    top: 10px;
    transform: translateY(-120%);
}
.forget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0 35px 0;
    color: #000000;
}
#remember {
    accent-color: #000000;
}
.forget label {
    display: flex;
    align-items: center;
}

.forget label p {
    display: inline;
    margin-left: 8px; /* مسافة صغيرة بين النص والـ checkbox */
}
.wrapper a {
    color: #000000;
    text-decoration: none;
}
.wrapper a:hover {
    text-decoration: underline;
}
button {
    background: #356f6c;
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 16px;
    border: 2px solid transparent;
    transition: 0.3s ease;
}
button:hover {
    color: #000000;
    border-color: #419fac;
    background: rgba(194, 191, 191, 0.15);
}
.register {
    text-align: center;
    margin-top: 30px;
    color: #000000;
}

/* الكلاس الرئيسي */
.custom-checkbox {
    display: flex;
    align-items: center; /* محاذاة عمودية للوسط */
    gap: 8px; /* مسافة بين المربع والنص */
    cursor: pointer;
    font-size: 16px;
    color: rgb(12, 12, 12);
    user-select: none;
    line-height: 1; /* يساعد على المحاذاة الدقيقة */
}
/* إخفاء الـ input الأصلي */
.custom-checkbox input {
    display: none;
}

/* شكل المربع */
.custom-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0; /* يمنع الضغط عليه في flex */
    transition: all 0.2s ease;
}

/* علامة الصح */
.custom-checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid rgb(0, 0, 0);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.logo-group {
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* لضمان الترتيب لليمين */
    gap: 30px;
    z-index: 1000;
}
@media (max-width: 600px) {
    .logo-group {
        gap: 40px;
        flex-direction: row; /* أو column حسب الحاجة */
        align-items: center;
    }

    .logo-group img {
        width: 70px !important;
        height: auto !important;
    }
}
@media (max-width: 420px) {
    .logo-group {
        gap: 30px;
        flex-direction: row; /* أو column حسب الحاجة */
        align-items: center;
    }

    .logo-group img {
        width: 60px !important;
        height: auto !important;
    }
}

.top-logos {
    display: flex;
    gap: 30px;
}

.logo-group img {
    width: 100px;
    height: auto;
}
/* كل صورة بقياس خاص */
.logo-small {
    width: 120px !important;
    height: 70px !important;
    margin-top: 25px !important;
}

.logo-medium {
    width: 130px !important;
    height: 100px !important;
}

.logo-large {
    width: 80px;
}
.alert {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-family: "Cairo", sans-serif;
}

.alert-success {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    border-color: #badbcc !important;
}

/* تأثير الخروج */
.page-exit {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.98);
    }
}

/* يمكنك أيضًا عمل تأثير دخول */
body {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.c1 {
    display: flex;
    gap: 30px; /* مسافة بين الروابط */
    align-items: center; /* محاذاة عمودية وسط */
     justify-content: center !important;
}

.tooltip {
  z-index: 99999 !important;
}
.tooltip.show {
  opacity: 1 !important;
}


/* تخصيص المودال */
.modal1-content {
    background-color: #f0fdf4; /* خلفية خضراء فاتحة */
    border: 2px solid #34d399; /* حدود بلون النجاح */
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* رأس المودال */
.modal1-header {
    background-color: transparent;
    border-bottom: none;
    justify-content: center;
}

/* العنوان */
.modal1-title {
    font-size: 1.5rem;
    color: #10b981; /* لون نص النجاح */
    font-weight: bold;
}

/* جسم الرسالة */
.modal1-body {
    font-size: 1.1rem;
    color: #065f46; /* لون أغمق للقراءة */
    padding: 10px 20px;
}

/* زر الإغلاق */
.modal1-footer {
    border-top: none;
    justify-content: center;
}

.btn-primary {
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #059669;
}


.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #772828;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: #772828;
    background: none !important;
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.thank-you-message {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.note-message {
    font-size: 1rem;
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
}

.custom-profile-btn {
    background-color: transparent;
    border: 1px solid #0d6efd; /* نفس لون Bootstrap Primary */
    color: #0d6efd;
    transition: all 0.3s ease-in-out;
}

.custom-profile-btn:hover {
    background-color: #0d6efd;
    color: white;
}

