body{
    margin: 3%;
    background-image: linear-gradient(to top left, #c9987f, #ffe8d2 , #91654e);
    font-family: "Cairo";
}

.container{
    width: 90%; /* تغيير العرض ليكون أكثر مرونة */
    max-width: 500px; /* أقصى عرض للشاشات الكبيرة */
    background-color: #00c9aa;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 8px;
    margin: 0 auto; /* توسيط العنصر */
    padding: 20px;
    box-shadow: 0 3px 5px 0 rgba(240, 240, 240, 0.3);
    animation: transitionIn-Y-over 0.5s;
}

td{
    text-align: center;
}

.header-text{
    font-weight: 600;
    font-size: 24px; /* تصغير حجم الخط للشاشات الصغيرة */
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.sub-text{
    font-size: 14px; /* تصغير حجم الخط للشاشات الصغيرة */
    color: rgb(138, 138, 138);
}

.form-label{
    color: rgb(44, 44, 44);
    text-align: right;
    font-size: 14px;
}

.label-td{
    text-align: right;
    padding-top: 10px;
}

.hover-link1{
    font-weight: bold;
}

.hover-link1:hover{
    opacity: 0.8;
    transition: 0.5s;
}

.login-btn{
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}

/* استعلامات الوسائط للتكيف مع أحجام الشاشات المختلفة */
@media only screen and (min-width: 768px) {
    .container {
        width: 70%;
    }
    
    .header-text {
        font-size: 30px;
    }
    
    .sub-text {
        font-size: 15px;
    }
}

@media only screen and (min-width: 992px) {
    .container {
        width: 45%;
    }
}

@media only screen and (max-width: 480px) {
    body {
        margin: 10px;
    }
    
    .container {
        width: 95%;
        padding: 15px;
    }
    
    .header-text {
        font-size: 20px;
    }
    
    .sub-text {
        font-size: 12px;
    }
}