﻿/* کانتینر اصلی */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* لوگو */
.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 120px;
    height: auto;
}

/* عنوان */
.text-theme {
    color: #BE0032; /* رنگ تم اصلی */
}

/* استایل فرم */
.form-container {
    padding: 20px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 8px;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1);
}

/* استایل فیلدهای ورودی */
.form-floating-label {
    position: relative;
    margin-bottom: 20px;
}

    .form-floating-label input {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #f9f9f9;
        transition: all 0.3s ease;
    }

        .form-floating-label input:focus {
            border-color: #BE0032;
            box-shadow: 0 0 6px rgba(190, 0, 50, 0.2);
            outline: none;
        }

    .form-floating-label label {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        font-size: 13px;
        color: #999;
        pointer-events: none;
        transition: all 0.3s ease;
        background-color: #f9f9f9;
        padding: 0 5px;
    }

    .form-floating-label input:focus + label,
    .form-floating-label input:not(:placeholder-shown) + label {
        top: -10px;
        font-size: 12px;
        color: #BE0032;
    }

/* دکمه ورود */
.btn-submit {
    background-color: #BE0032;
    color: #fff;
    border: none;
    font-size: 14px;
    padding: 12px 25px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(190, 0, 50, 0.2);
    transition: all 0.3s ease;
    width: 100%;
}

    .btn-submit:hover {
        background-color: #9e0029;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(190, 0, 50, 0.3);
    }

/* لینک فراموشی رمز عبور */
.forgetPass {
    font-size: 14px;
    color: #BE0032;
    text-decoration: none;
}

    .forgetPass:hover {
        color: #9e0029;
    }


.form-check-input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #BE0032;
    border-radius: 3px;
    outline: none;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #BE0032;
    border-color: #BE0032;
    box-shadow: inset 0 0 0 4px #fff; /* تیک سفید داخل چک‌باکس */
}

.form-check-input:focus {
    box-shadow: 0 0 4px rgba(190, 0, 50, 0.5);
}

/* لینک ثبت نام */
.register-link {
    font-size: 14px;
    text-decoration: none;
    color : black
}
    .register-link span {
        color: #BE0032;
    }

    .register-link:hover {
        color: #9e0029;
    }
.form-floating-label textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #f9f9f9; /* رنگ پس‌زمینه ورودی‌ها */
}

.form-floating-label textarea:focus {
    border-color: #a10054;
    box-shadow: 0 0 6px rgba(161, 0, 84, 0.2);
    outline: none;
}

.form-floating-label textarea:focus + label,
.form-floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #a10054;
}

/* عنوان فرم */
.login-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

/* خطاهای ولیدیشن */
.error {
    font-size: 12px;
    color: #BE0032;
    margin-top: 5px;
}