/* استایل هدر */
.header {
    background-color: #007bff;
    color: white;
    padding: 15px;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
}

.header-left h1 {
    margin: 0;
}

.header-right {
    font-size: 14px;
    position: relative;
    display: inline-block;
}

/* استایل برای dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* استایل برای جدول‌ها */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff; /* رنگ پس‌زمینه جدول */
    border-radius: 8px;
    overflow: hidden; /* برای گرد شدن گوشه‌ها */
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

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

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}

/* استایل برای خلاصه وضعیت */
.status-summary {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.status-item {
    background-color: #007bff; /* رنگ پس‌زمینه آبی */
    padding: 20px;
    border-radius: 8px; /* گوشه‌های گرد */
    width: 200px;
    text-align: center;
    color: white; /* رنگ متن */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* سایه */
}

.status-item h3 {
    margin-bottom: 10px;
}

/* استایل برای دکمه‌ها */
button, input[type="submit"] {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover, input[type="submit"]:hover {
    background-color: #0056b3;
}

/* استایل برای فرم‌ها */
form input, form select, form button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
}

/* استایل لینک‌ها */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* استایل برای welcome box */
.welcome-box {
    background-color: #f0f8ff; /* رنگ پس‌زمینه آبی روشن */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* سایه */
}

.welcome-box span {
    font-weight: bold;
    color: #333;
}

.welcome-box .dropdown-content a {
    color: #000;
    text-decoration: none;
}

.welcome-box .dropdown-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}
