/* استایل‌های عمومی */
.search-row th {
    padding: 4px;
}

.table-search {
    width: 95%;
    padding: 6px;
    background-color: #0b1d63;
    border: 1px solid #1e2f8a;
    color: white;
    border-radius: 6px;
    text-align: right;
}

.table-search::placeholder {
    color: #bbb;
    text-align: right;
}

/* استایل‌های فرم */
.form-container {
    background-color: #0b1d63;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #1e2f8a;
}

.form-container h4 {
    color: yellow;
    margin-bottom: 20px;
    text-align: right;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: yellow;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: right;
}

.form-control, .form-select {
    width: 100%;
    padding: 8px 12px;
    background-color: #1a2a70;
    border: 1px solid #3a4a9a;
    color: white;
    border-radius: 4px;
    text-align: right;
}

.form-control::placeholder {
    color: #bbb;
    text-align: right;
}

.form-select option {
    background-color: #1a2a70;
    color: white;
}

/* استایل چک‌باکس */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
    background-color: #1a2a70;
    border: 1px solid #3a4a9a;
    border-radius: 4px;
    padding: 8px 12px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 10px;
}

.checkbox-container label {
    color: white !important;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-weight: normal !important;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    width: 100%;
}

.submit-button:hover {
    background-color: #45a049;
}

/* استایل‌های جدول */
.table-responsive {
    margin-top: 20px;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #0b1d63;
    color: white;
    border: 1px solid #1e2f8a;
}

.table th, .table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #1e2f8a;
}

.table th {
    background-color: #0a155a;
    font-weight: bold;
    color: yellow;
}

.table tbody tr:hover {
    background-color: #1a2a70;
}

/* استایل دکمه‌ها */
.button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 0 3px;
}

.button2 {
    background-color: #2196F3;
    color: white;
}

.button2:hover {
    background-color: #0b7dda;
}

.button3 {
    background-color: #f44336;
    color: white;
    border: none;
}

.button3:hover {
    background-color: #da190b;
}

/* نشانگر وضعیت فعال */
.active-badge {
    background-color: #4CAF50;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-block;
}

.inactive-badge {
    background-color: #f44336;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-block;
}

/* نشانگر وضعیت حقوق بگیر */
.salary-badge {
    background-color: #ff9800;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-block;
}

/* استایل کارت پرسنل */
.personnel-summary {
    background-color: #1a2a70;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    color: white;
}

.summary-item {
    text-align: center;
    flex: 1;
}

.summary-label {
    color: yellow;
    font-size: 14px;
}

.summary-value {
    font-size: 18px;
    font-weight: bold;
}

hr {
    border: 1px solid #1e2f8a;
    margin: 20px 0;
}

/* استایل دکمه افزودن - تمام عرض */
.add-button-container {
    margin-bottom: 20px;
    width: 100%;
}

.add-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.add-button:hover {
    background-color: #45a049;
}

/* سلول عددی */
.numeric-cell {
    font-family: monospace;
    direction: ltr;
    text-align: right;
}

/* استایل فوتر */
.footer-links {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #0b1d63;
    color: white;
    margin-top: 30px;
    border-radius: 8px;
    flex-wrap: wrap;
}

.footer-links div {
    text-align: center;
    min-width: 150px;
    margin: 10px;
}

.footer-links div h4 {
    color: yellow;
    margin-bottom: 10px;
}

.footer-links div ul {
    list-style: none;
    padding: 0;
}

.footer-links div ul li {
    margin: 5px 0;
}

.footer-links div ul li a {
    color: #bbb;
    text-decoration: none;
}

.footer-links div ul li a:hover {
    color: yellow;
}














