/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, #007bff, #00aaff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Container for Login */
.login-container {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.logo img {
    width: 120px;
    margin-bottom: 20px;
}

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

input {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.contact-admin a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.contact-admin a:hover {
    text-decoration: underline;
}

/* تنسيق الرسالة */
#messageBox {
    margin-top: 15px;
    font-weight: bold;
}

/* Sidebar Styles */
.sidebar {
    height: 100%;
    width: 250px;
    background-color: #007bff; /* الأزرق */
    color: white;
    position: fixed;
    left: -250px;
    top: 0;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2); /* ظل لإعطاء عمق للقائمة */
}

.sidebar h2 {
    color: #fff;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #444;
}

/* Countries Section */
.countries-section {
    margin-left: 250px;
    padding: 20px;
}

/* Table Styles */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: white;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: 100%;
        position: fixed;
        left: -100%;
        transition: left 0.3s ease;
    }

    .countries-section {
        margin-left: 0;
    }
}
