/* متغیرهای رنگی ایرانسل */
:root {
    --irancell-blue: #003B73; /* آبی تیره (رنگ اصلی) */
    --irancell-yellow: #FFB81C; /* زرد (رنگ تأکید) */
    --irancell-yellow-hover: #e6a719;
    --input-border: #ccc;
    --input-focus: #003B73;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    /* 🟢 تغییر مهم: حذف پس‌زمینه آبی و استفاده از خاکستری روشن */
    background-color: #f4f7f6; 
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl; 
}

.irancell-color {
    color: var(--irancell-blue);
}

.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* سایه کمی ملایم‌تر شد */
    width: 100%;
    max-width: 400px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 28px;
    border-bottom: 3px solid var(--irancell-yellow);
    display: inline-block;
    padding-bottom: 5px;
}

/* 🟢 استایل‌های Floating Label */
.form-group {
    margin-bottom: 30px;
    position: relative; 
}

.floating-label input {
    width: 100%;
    padding: 15px 10px 5px 10px; 
    border: none;
    border-bottom: 2px solid var(--input-border);
    box-sizing: border-box;
    font-size: 18px;
    background-color: transparent;
    transition: border-bottom-color 0.3s;
}

.floating-label input:focus {
    border-bottom-color: var(--input-focus);
    outline: none;
}

.floating-label label {
    position: absolute;
    top: 50%; 
    right: 10px;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none; 
    transition: 0.2s ease-out; 
    font-size: 16px;
    font-weight: normal;
}

/* حالت فعال/پر (Label به بالا منتقل می‌شود) */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: -20px; 
    font-size: 14px;
    color: var(--irancell-blue);
    background-color: #fff;
    padding: 0 5px;
    transform: translateY(0%);
}

/* استایل دکمه ورود (تم ایرانسل) */
.irancell-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--irancell-yellow); 
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.irancell-btn:hover {
    background-color: var(--irancell-yellow-hover);
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.irancell-link {
    color: var(--irancell-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.irancell-link:hover {
    color: var(--irancell-yellow);
    text-decoration: underline;
}