
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@300&display=swap');

/* تطبيق الخط على كل الصفحة */
body {
    font-family: 'Changa', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Changa', sans-serif;
}

body {
    overflow-x: hidden
}

:root {
    --main-color: #1996D4;
    --border-radius: 4px;
}

.main-color {
    color: var(--main-color)
}

.main-bg-color {
    background: var(--main-color);
}

.bgg-color{
    background:#E7ECF6;
}
.br-4 {
    border-radius: var(--border-radius);
}
.br-8{
    border-radius:8px
}
.br-8-0{
    border-radius:8px 0 0 8px
}
.br-0-8{
    border-radius:8px 0 0 8px
}
.w-100 {
    width: 100%;
}

.w-280 {
    width: 280px;
}

.fs-16{
    font-size:16px
}
.w-20 {
    width: 20px;
}

.width30 {
    width: 30%;
}

.h-70{
    height: 70px;
}
.float_right {
    float: right !important;
}

.padding-top--64 {
    padding-top: 64px;
}

.padding-top--24 {
    padding-top: 24px;
}

.padding-top--48 {
    padding-top: 48px;
}

.padding-bottom--24 {
    padding-bottom: 24px;
}

.padding-horizontal--48 {
    padding: 48px;
}

.padding-bottom--15 {
    padding-bottom: 15px;
}

/* تثبيت السايدبار */
.main-sidebar {
    overflow-y: auto;  
}

/* محتوى الصفحة */
.content-wrapper {
    height: 100vh;       
    overflow-y: auto;    
    padding: 20px;       
}


.field input {
    font-size: 16px;
    padding: 8px 16px;
    width: 100%;
    min-height: 44px;
    border: unset;
    border-radius: 8px;
    outline-color: rgb(84 105 212 / 0.5);
    background-color: rgb(255, 255, 255);
}

.box-shadow {
    box-shadow: rgba(60, 66, 87, 0.12) 0px 7px 14px 0px, rgba(0, 0, 0, 0.12) 0px 3px 6px 0px;
}

.placeholder {
    color: #65657b;
    right: 20%;
    line-height: 70px;
    pointer-events: none;
    position: absolute;
    transition: transform 200ms, color 200ms;
}

.input:focus~.placeholder,
.input:not(:placeholder-shown)~.placeholder {
    transform: translateY(-30px) translateX(10px) scale(0.75);
    color: #fff;
    background: #000;
    border-radius: 8px;
    width: 150px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    top: 10px;
    right: 125px
}

.custom-btn {
    border-radius: 8px;
    height: 40px;
    width: 100px;
}

.btn-1 {
    background: #1996D4;
    border: 1px solid #fff;
}

.btn-2 {
    background: #fff;
    border: none;
}

h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #777;
}

.btn-box {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

section .button {
    width: 110px;
    height: 35px;
    margin: 0 10px;
    background: #1996D4;
    border-radius: 30px;
    border: 0;
    outline: none;
    color: #fff;
    cursor: pointer;
}

#Section2 {
    left: 950px;
}

#Section3 {
    left: 950px
}

#Section4 {
    left: 950px
}

#Section5 {
    left: 950px
}

#Section6 {
    left: 950px
}

#Section7 {
    left: 950px
}

.step-row {
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.step-col {
    width: 160px;
    text-align: center;
    color: #333;
    position: relative;
}

#progress {
    position: absolute;
    height: 100%;
    width: 120px;
    background: #1996D4;
    transition: 1s;
}

#progress::after {
    content: '';
    height: 0px;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 22px solid transparent;
    position: absolute;
    left: -19px;
    top: 0;
    border-right: 20px solid #1996D4;
}


/* Valid & InValid styles */

input:invalid,
textarea:invalid {
    border: 1px solid rgb(247, 80, 80);
}

.error {
    border-color: red;
}

.error-message {
    color: red;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.buttons {
    margin-top: 20px;
}

.error-summary {
    color: red;
    margin-bottom: 20px;
}


/*Valid & InValid styles */


/*
* Main File for form with multiple steppers
Descritpion:
Author: Chris Shabani Muswamba
*/

:focus {
    outline: none;
}

.btn {
    padding-right: 20px;
    transition: 0.5;
}

h2,
h5,
ul {
    margin: 0;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#stepper-form {
    transition: all 0.3s ease;
}

.form-header {
    text-align: center;
}

.left-card {
    padding: 20px;
}

.form-control:focus {
    box-shadow: 0px 0px 7px 0px rgba(255, 255, 255, 0.7);
    border: 1px solid #ceebf7;
}


/* Show inputs values li */

.list-group-item {
    padding: 10px;
}

@media (max-width: 1500px) {
    #stepper-form {
        padding-top: 50px;
        padding-bottom: 60px;
        align-self: flex-start;
    }
    .container {
        height: auto;
    }
}


/*====Dtatatables====*/
.dataTables_wrapper .dataTables_filter input{
    width: 320px !important;
    height: 45px !important;
    position: absolute;
    top: -20px;
    bottom:0;
    border: 0;
    margin-right: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dataTables_wrapper .dataTables_filter input{
    margin-top: 13px;
}

.dataTables_wrapper .dataTables_filter select{
    margin-bottom: 5px;
}

/*Style the search label (optional)*/
.dataTables_wrapper .dataTables_filter label {
    position: absolute;
    top: -60px;
}

/* Style the search input when focused (optional) */
.dataTables_wrapper .dataTables_filter input:focus {
    /*outline: none; !* Remove outline *!*/
    /*box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); !* Add box shadow when focused *!*/
}

.dt-buttons {
    float: left;
    margin-top: -50px;
    margin-left: 1200px;
    margin-bottom: 30px;
}


/* . تأثير دخول البطاقات */
/* تأثير دخول البطاقات */
.card-body .row.br-4 {
    opacity: 0;
    transform: translateY(30px); /* يبدأ من أسفل */
    transition: all 0.6s ease-out;
}

/* عند إضافة class 'show-card' تصبح مرئية */
.card-body .row.br-4.show-card {
    opacity: 1;
    transform: translateY(0);
}


/* 2. تأثير دخول الصور داخل البطاقة */
.custom_img {
    opacity: 0;
    transform: translateX(-30px); /* يبدأ من اليسار */
    transition: all 0.6s ease-out 0.2s; /* تأخير بسيط */
}

.custom_img.show-img {
    opacity: 1;
    transform: translateX(0);
}

/* 3. تأثير دخول العناوين داخل البطاقة */
.card-body h3, .card-body h4 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.4s; /* تأخير بسيط للعناوين */
}

.card-body h3.show-title, .card-body h4.show-title {
    opacity: 1;
    transform: translateY(0);
}

/* تأثير tilt ثلاثي الأبعاد على البطاقات */
.card-body .row.br-4 {
    perspective: 1000px; /* يعطي إحساس العمق للطفرة */
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-body .row.br-4:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
/* التأثير العام لكل الأزرار داخل البطاقة */
.card-body button,
.card-body a.btn {
    transition: all 0.3s ease; /* حركة سلسة عند hover */
    transform: translateY(0);  /* وضع افتراضي */
}

/* تأثير hover على الأزرار */
.card-body button:hover,
.card-body a.btn:hover {
    transform: translateY(-3px) scale(1.05); /* رفع وزيادة حجم بسيط */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* إضافة ظل لطيف */
    filter: brightness(1.1); /* تفتيح بسيط للون */
    cursor: pointer; /* مؤشر يد */
}

/* تأثير النقر على الأزرار */
.card-body button:active,
.card-body a.btn:active {
    transform: translateY(1px) scale(0.98); /* انخفاص بسيط عند الضغط */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ألوان متدرجة لطيفه للأزرار الرئيسية */
.main-bg-color {
    background: linear-gradient(135deg, #1996D4, #53a0e7);
    color: #fff !important;
    border: none;
    transition: all 0.3s ease;
}

.main-bg-color:hover {
    background: linear-gradient(135deg, #53a0e7, #1996D4);
    filter: brightness(1.2);
}




@media (max-width: 1199px) {
    #stepper-form {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 10px;
        padding-right: 10px;
        align-self: center;
    }
}

@media (max-width: 991px) {
    #stepper-form {
        width: auto;
    }
}

@media (max-width: 767px) {
    h3 {
        text-align: center;
        margin-bottom: 40px;
        color: #777;
    }
    .btn-box {
        width: 100%;
        margin: 30px auto;
        text-align: center;
    }
    section .button {
        width: 110px;
        height: 35px;
        margin: 0 10px;
        background: #1996D4;
        border-radius: 30px;
        border: 0;
        outline: none;
        color: #fff;
        cursor: pointer;
    }
    .step-row {
        height: 40px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        position: relative;
    }
    .step-col {
        width: 160px;
        text-align: center;
        color: #333;
        position: relative;
    }
    #progress {
        position: absolute;
        height: 100%;
        width: 120px;
        background: #1996D4;
        transition: 1s;
    }
    #progress::after {
        content: '';
        height: 0px;
        width: 0;
        border-top: 20px solid transparent;
        border-bottom: 22px solid transparent;
        position: absolute;
        left: -19px;
        top: 0;
        border-right: 20px solid #1996D4;
    }
    .step-row {
        display: none;
    }
    #stepper-form {
        padding: 0;
    }
    .form-group {
        display: block;
    }
    .form-group label {
        margin-bottom: 29px;
        display: block;
    }
    .form-group label,
    .form-group .form-holder {
        width: 100%;
    }

    /*====Dtatatables====*/
    .dataTables_wrapper .dataTables_filter input{
        width: 200px !important;
    }

}

.input-login{
    width:60px; 
    border-radius:0 8px 8px 0; 
    background:#D9D9D9;
}
.bg-login{
    height:600px;
    margin-top:0;
}
.login-img{
    height:200px;
    margin-top:80px;
}
/* Toast container */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1051;
    max-width: 90vw;
}
.toast{
    position: fixed; 
    top: 20px; right: 20px; 
    min-width: 300px; 
    z-index: 1051; 
    border-radius:12px; 
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    background: transparent;
}
.toast-body {
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    display: flex;
    align-items: center;
}
.toast-success { 
    background: linear-gradient(90deg, #28a745, #218838); 
    border-radius:12px; 
    padding: 12px 16px; 
    color:#fff;
}
.toast-error { background: linear-gradient(90deg, #dc3545, #c82333); }
.toast-message { flex: 1; }
.toast-icon { font-size: 18px; margin-right: 8px; }
@media (max-width: 576px) {
    #toast-container { top: 10px; right: 10px; }
    .toast-body { padding: 8px 12px !important; }
    .toast-message { font-size: 14px; }
    .toast-icon { font-size: 16px; }
}

