/* ===========================================
   نظام بنك معلومات الموظفين
   المديرية العامة لتربية كربلاء المقدسة
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Cairo",sans-serif;
}

body{
    background:#eef3f8;
    direction:rtl;
}

/* ===========================
   الهيدر
=========================== */

.header{
    width:100%;
    background:#0F4C81;
    color:#fff;
    padding:12px 30px;
    box-shadow:0 3px 12px rgba(0,0,0,.25);
}

.header-content{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
}

.logo{
    width:100px;
    height:100px;
    object-fit:contain;
    flex-shrink:0;
}

.header-text{
    text-align:center;
}

.header h3{
    margin:2px 0;
    font-size:18px;
    font-weight:700;
}

.header h1{
    margin:8px 0 6px;
    font-size:30px;
    color:#ffffff;
    font-weight:700;
}

.sub-title{
    font-size:17px;
    font-weight:bold;
    margin-top:4px;
}

.developer{
    margin-top:6px;
    font-size:13px;
    color:#dfe8f2;
    line-height:1.5;
}
/* ===========================
   البطاقات
=========================== */

.card{

    background:white;

    border-radius:12px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:0 0 15px rgba(0,0,0,.12);

}

.card-title{

    color:#0F4C81;

    margin-bottom:20px;

    border-bottom:2px solid #0F4C81;

    padding-bottom:10px;

}

/* ===========================
   شبكة الحقول
=========================== */

.grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

/* ===========================
   عناصر الإدخال
=========================== */

label{

    display:block;

    margin-bottom:6px;

    font-weight:bold;

}

input,
select{

    width:100%;

    height:45px;

    border:1px solid #bbb;

    border-radius:8px;

    padding:8px;

    font-size:16px;

}

input:focus,
select:focus{

    border-color:#0F4C81;

    outline:none;

}

/* ===========================
   الخطوات
=========================== */

.steps{

    display:flex;

    justify-content:space-between;

    margin-bottom:30px;

}

.step{

    flex:1;

    margin:5px;

    padding:15px;

    text-align:center;

    background:#d9d9d9;

    border-radius:10px;

    font-weight:bold;

}

.step.active{

    background:#0F4C81;

    color:white;

}

/* ===========================
   الأزرار
=========================== */

.buttons{

    margin-top:30px;

    display:flex;

    justify-content:space-between;

}

.btn{

    border:none;

    border-radius:8px;

    padding:12px 35px;

    cursor:pointer;

    font-size:18px;

}

.btn-primary{

    background:#0F4C81;

    color:white;

}

.btn-success{

    background:#1B8A3D;

    color:white;

}

.btn-secondary{

    background:#777;

    color:white;

}

/* ===========================
   رسائل النظام
=========================== */

.alert{

    padding:15px;

    border-radius:8px;

    margin-bottom:20px;

}

.alert-danger{

    background:#ffe4e4;

    color:#c40000;

}

.alert-success{

    background:#e7ffe7;

    color:#006600;

}

/* ===========================
   Responsive Design
=========================== */

@media (max-width:992px){

    .grid{
        grid-template-columns:repeat(2,1fr);
    }

    .header-content{
        flex-direction:column;
        gap:15px;
    }

    .logo{
        width:80px;
        height:80px;
    }

    .header h1{
        font-size:24px;
    }

    .header h3{
        font-size:16px;
    }

    .sub-title{
        font-size:15px;
    }

    .developer{
        font-size:12px;
    }

    .container-card{
        padding:15px;
    }

    .form-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .grid{
        grid-template-columns:1fr;
    }

    .steps{
        flex-direction:column;
    }

    .container{
        width:98%;
        margin:15px auto;
    }

    .container-card{
        padding:12px;
    }

    .form-grid{
        grid-template-columns:1fr;
        gap:10px;
    }

    .form-group label{
        font-size:13px;
    }

    .form-group input,
    .form-group select{
        height:38px;
        font-size:13px;
    }

    .save-btn,
    .back-btn{
        width:100%;
        margin-top:10px;
        text-align:center;
    }

    .header{
        padding:10px;
    }

    .header h1{
        font-size:20px;
    }

    .header h3{
        font-size:14px;
    }

    .sub-title{
        font-size:13px;
    }
.container-card{
    border-radius:10px;
}

.card{
    padding:15px;
}

input,
select{
    font-size:14px;
}

.save-btn,
.back-btn{
    font-size:14px;
    padding:10px;
}

.logo{
    width:70px;
    height:70px;
}

}