/* ===== صفحة الدخول بالوضع الداكن ===== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 420px;
    background: #2d3748;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 40px 30px;
    border: 1px solid #4a5568;
}

.brand-logo {
    height: 100px;
    width: 100px;
    background: #f5a425;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(245, 164, 37, 0.3);
}

.brand-logo:before {
    content: "🦷";
    font-size: 40px;
    color: #1a202c;
}

.brand-title {
    font-weight: 900;
    font-size: 28px;
    color: #f5a425;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.inputs {
    text-align: left;
}

label {
    display: block;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #4a5568;
    border-radius: 8px;
    background: #1a202c;
    color: #e2e8f0;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #f5a425;
    box-shadow: 0 0 0 3px rgba(245, 164, 37, 0.2);
    background: #2d3748;
}

input::placeholder {
    color: #a0aec0;
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f5a425 0%, #e67e22 100%);
    border: none;
    border-radius: 8px;
    color: #1a202c;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(135deg, #fc3 0%, #f5a425 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 164, 37, 0.4);
}

button:active {
    transform: translateY(0);
}

/* تحسينات للـ alerts */
.alert {
    margin-top: 12px;
    margin-bottom: -14px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 60px;
    font-weight: 600;
}

.alert-danger {
    color: #fed7d7;
    background-color: #742a2a;
    border-color: #f56565;
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.2);
}

/* تأثيرات إضافية */
.container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسينات للاستجابة */
@media (max-width: 480px) {
    .container {
        width: 90%;
        margin: 20px;
        padding: 30px 20px;
    }
    
    .brand-title {
        font-size: 24px;
    }
    
    input, button {
        padding: 12px;
    }
}