body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl; /* لدعم اللغة العربية */
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4cae4c;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    color: #a94442;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    text-align: center;
}

/* تصميم لوحة الموظف */
.dashboard {
    max-width: 600px;
}

.status-box {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.2em;
}

.status-in {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-out {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.clock-button {
    padding: 15px 25px;
    font-size: 1.5em;
    margin-top: 10px;
}

.logout-link {
    display: block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
}

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

/* تصميم لوحة المدير */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}

th {
    background-color: #f2f2f2;
    color: #333;
}

.map-link {
    color: #007bff;
    text-decoration: none;
}
.map-link:hover {
    text-decoration: underline;
}
