﻿/* تنسيق خلفية الصفحة */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* مسار الصورة - تأكد من صحة المجلد */
    background-image: url('../Images/bg02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* إضافة طبقة تعتيم خفيفة فوق الصورة لجعل النص أوضح */
    position: relative;
}

    /* إضافة طبقة تعتيم (Overlay) */
    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0); /* تعتيم بنسبة 40% */
        z-index: 0;
    }

/* تعديل الـ Card ليكون فوق طبقة التعتيم */
.login-card {
    position: relative;
    z-index: 1;
    background: white;
    padding: 2.5rem;
    border-radius: var(--pat-radius, 8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 700px;
}

    /* لمسة جمالية للعنوان والحقول */
    .login-card h3 {
        color: var(--pat-primary, #121212);
        text-align: center;
        margin-bottom: 1.5rem;
        font-weight: bold;
    }

.form-control {
    margin-bottom: 15px;
    padding: 12px;
}

.btn-pat-action {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    background-color: var(--pat-accent, #d32f2f);
    color: white;
    border-radius: var(--pat-radius, 8px);
    cursor: pointer;
    transition: background 0.3s;
}

    .btn-pat-action:hover {
        background-color: #b71c1c;
    }
