/* Auth Pages Styling */
:root {
    --primary-color: #0088cc;
    --secondary-color: #31a24c;
    --border-color: #e5e5ea;
    --text-primary: #000;
    --text-secondary: #666;
    --bg-primary: #fff;
    --bg-secondary: #f5f5f5;
}

html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}

body {
    margin: 0;
    padding: 0;
}

.auth-body {
    background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

.auth-logo {
    margin-bottom: 30px;
}

.auth-logo i {
    font-size: 60px;
    color: #0088cc;
    margin-bottom: 15px;
}

.auth-logo h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #0088cc;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #000;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0088cc;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-left: 35px;
}

.btn-toggle-password {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
}

.btn-toggle-password:hover {
    color: #0088cc;
}

.btn-primary {
    background-color: #0088cc;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: #0077b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

#alert-container {
    margin-bottom: 20px;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 0;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #dcf8c6;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.auth-links a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: #0077b3;
    text-decoration: underline;
}

h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        padding: 15px;
    }

    .auth-card {
        padding: 25px;
    }

    .auth-logo i {
        font-size: 50px;
    }

    .auth-logo h1 {
        font-size: 24px;
    }
}
