
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */
        font-family: 'Tajawal', 'Cairo', sans-serif;
}

body {
    background-color: #f5f5f5;

}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.image-section {
    background: url('../images/driver.png') center/cover;
    order: 2;
}

.form-section {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    order: 1;
}

.form-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: normal;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: #F4F4F4;
}

input:focus {
    outline: none;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px #B36B2A;
}

.password-field {
    position: relative;
}

.password-field img {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin-left: 0.5rem;
}

.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: #B36B2A;
    color: white;
}

.btn-primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.signup-link {
    text-align: right;
    color: #666;
    margin-top: 1rem;
}

.signup-link a {
    color: #0066CC;
    text-decoration: none;
}

.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.alert {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #eeffee;
    color: #007700;
    border: 1px solid #ccffcc;
}

.alert-danger {
    background-color: #ffeeee;
    color: #cc0000;
    border: 1px solid #ffcccc;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .image-section {
        display: none;
    }

    .form-section {
        padding: 1.5rem;
    }
}
