
body {
    font-family: 'Cairo', sans-serif;
    background-image: url('../background/mostafa3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
@font-face {
    font-family: 'Cairo';
    src: url('font/Cairo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.login-container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 45px;
    background-color: #f4f4f4;
    font-size: 16px;
    box-sizing: border-box;
    transition: 0.3s;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #6e7dff;
    background-color: #e9ebf4;
}

button[type="submit"] {
    background-color: #6e7dff;
    color: white;
    width: 200px;
    padding: 15px;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background-color: #4e61e5;
    transform: scale(1.05);
}

a {
    color: #fff;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-top: 20px;
    font-size: 16px;
}

a:hover {
    color: #ff6f61;
}

.moving-text {
    position: fixed;
    bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    direction: ltr;
}
