﻿body {
    background-color: #1a1a1a;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* وضعه خلف جميع العناصر */
    pointer-events: none; /* يمنع التأثير على تفاعل المستخدم */
}


/* نموذج تسجيل الدخول */
.login-container {
    position: relative;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 25px;
    border-radius: 10px;
    width: 350px;
    text-align: center;
    z-index: 1001; /* جعله فوق الخلفية */
    box-shadow: none !important;
}

h2 {
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

    .input-group label {
        display: block;
        font-size: 14px;
        margin-bottom: 5px;
    }

input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #222;
    color: white;
    font-size: 14px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
    z-index: 1002;
}

    button:hover {
        background-color: #0056b3;
    }

.register-link {
    color: #007bff;
    display: block;
    margin-top: 12px;
    font-size: 14px;
    text-decoration: none;
    z-index: 1002;
    position: relative;
}

    .register-link:hover {
        text-decoration: underline;
    }

.container {
    position: relative;
    z-index: 1001; /* تأكد أنه فوق الخلفية */
}

form {
    position: relative;
    z-index: 1002;
}

.text-center {
    position: relative;
    z-index: 1002;
}

/* التأكد من أن جميع العناصر قابلة للتفاعل */
form, button, input, a, .text-center {
    pointer-events: auto !important;
}




