body {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    font-family: 'Tajawal', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.login-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in-out;
}

.card-title {
    font-weight: 700;
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.card-subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
    text-align: center;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
}

.forgot-password-link {
    color: #007bff;
    font-size: 0.9rem;
    transition: color 0.3s ease-in-out;
}

.forgot-password-link:hover {
    color: #0056b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-input-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  direction: ltr; /* مهم جداً */
}

.code-input {
  width: 40px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.2s;
}

.code-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}



