.done {
    text-align: center;
    border: 1px solid #d1e7dd;
    margin-bottom: 7px;
    margin-top: 5px;
    border-radius: 5px;
    color: #0f5132;
    background-color: #d1e7dd;
    padding: 2px;
}

.alert-card {
    background-color: #fff3cd; /* خلفية اللون الأحمر الفاتح */
    border: 1px solid #fff3cd; /* حدود حمراء */
    border-radius: 5px; /* حواف دائرية */
    padding: 20px;
    display: flex;
    align-items: center;
    width:100%;
    margin: 20px auto;
    font-size: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف حول الكرت */
}

.error {
    text-align: center;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    margin-bottom: 7px;
    margin-top: 5px;
    border-radius: 5px;
    padding: 5px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, rgba(255, 223, 186, 0.5), rgba(255, 255, 255, 0.9)), 
                url('path/to/your/background-image.jpg'); /* استبدل بمسار الصورة */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
    direction: rtl;
    margin: 0;
}

.Area-form {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
}

.logo {
    margin-bottom: 15px;
}

.logo img {
    max-width: 100px;
}

.platform-name {
    font-size: 30px;
    color: #a97c3d;
    margin-bottom: 5px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    font-family: 'Georgia', serif;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

.input-group {
    margin-bottom: 5px;
    text-align: right;
    
}

.parent-eye {
        position: relative;
}

.pass-eye {
   position: absolute;
   left: 18.5px;
   top: 18.5px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

select {

    -webkit-appearance: none; /* إزالة السهم الافتراضي */
    -moz-appearance: none;    /* إزالة السهم الافتراضي */
    appearance: none;         /* إزالة السهم الافتراضي */
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;

}


.Area-error{
 
    text-align: right;
    padding-right: 30px;



}

input:focus {
    border-color: #d4af37;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #d4af37;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #b5942a;
}

.footer {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

.register-link {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.register-link a {
    color: #d4af37;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.teacher-link {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.teacher-link a {
    color: #d4af37;
    text-decoration: none;
}

.teacher-link a:hover {
    text-decoration: underline;
}

.Area-small{
    color: #b0b4c2;
    margin-bottom: 7px;
}

/* The Group starts here */


.Basic-form-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.Basic-form-group input[type="text"],
.Basic-form-group input[type="email"],
.Basic-form-group input[type="password"],
.Basic-form-group input[type="date"],
.Basic-form-group input[type="tel"],
.Basic-form-group select {
   
    /* code */

}

.Basic-form-group .half-width {
    width: 100%;
}


@media (max-width: 768px) {
    .Basic-form-group {
        flex-direction: column; 
    }
    
    .Basic-form-group input[type="text"],
    .Basic-form-group input[type="email"],
    .Basic-form-group input[type="password"],
    .Basic-form-group input[type="date"],
    .Basic-form-group input[type="tel"],
    .Basic-form-group select,
    .Basic-form-group .half-width {
        width: 100%; 
    }
}


/* The Group ends here */