/* Контейнер GridView */
.grid-view {
    margin-bottom: 20px;
    overflow: hidden;
}

/* Строка с информацией о записях */
.summary {
    color: #6c757d;
    font-size: 0.9em;
    padding: 8px 0;
    margin-bottom: 15px;
}

/* Базовый стиль таблицы */
.table {
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;

}

/* Чередование цветов строк */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(188, 0, 0, 0.03);
}

/* Границы таблицы */
.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Стили заголовков таблицы */
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
}

/* Стили ячеек */
.table td {
    padding: 8px 12px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/* Ховер-эффект для строк */
.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

#w0.grid-view {
    margin: 20px 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Summary block */
#w0.grid-view .summary {
    display: block;
    padding: 12px 16px;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

/* Base table */
#w0.grid-view .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

/* Striped effect */
#w0.grid-view .table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfcfc;
}

#w0.grid-view .table-striped tbody tr:nth-of-type(even) {
    background-color: #f8fafb;
}

/* Borders */
#w0.grid-view .table-bordered {
    border: 1px solid #e0e0e0;
}

#w0.grid-view .table-bordered th,
#w0.grid-view .table-bordered td {
    border: 1px solid #e0e0e0;
}

/* Table header */
#w0.grid-view thead th {
    position: sticky;
    top: 0;
    background-color: #eef2f7 !important;
    color: #2c3e50;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    padding: 14px 16px;
    border-bottom: 2px solid #dee2e6;
    vertical-align: middle;
}

/* Table body */
#w0.grid-view tbody td {
    padding: 12px 16px;
    color: #4a5568;
    font-size: 15px;
    vertical-align: middle;
    transition: background-color 0.2s;
}

/* Hover effect */
#w0.grid-view tbody tr:hover td {
    background-color: #f1f5f9 !important;
    cursor: pointer;
}

/* First row top border fix */
#w0.grid-view tbody tr:first-child td {
    border-top: none;
}

/* Zebra stripes on hover */
#w0.grid-view tbody tr:hover:nth-of-type(odd) td {
    background-color: #f4f4f4 !important;
}


.grid-view {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;

}

/* Заголовок с количеством */
.summary {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.875rem;
}

/* Заголовки столбцов */
.table thead th {
    background: #f8fafc;
    color: #4a5568;
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

/* Ячейки */
.table tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #edf2f7;
}

/* Чередование строк */
.table-striped tbody tr:nth-child(odd) {
    background: #f8fafc;
}

/* Эффект наведения */
.table-hover tbody tr:hover {
    background: #ebf8ff;
}

/* Кнопки действий */
.action-column {
    white-space: nowrap;
}

.btn-action {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0 0.125rem;
    border-radius: 0.25rem;
    color: #1a3a63;
    font-size: 0.875rem;
    border: 1px solid #cbd5e0;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #ebf8ff;
    border-color: #a0aec0;
    text-decoration: none;
}

/* Пагинация */
.pagination {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.pagination li a {
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}

.pagination li.active a {
    background: #1a3a63;
    color: white;
    border-color: #1a3a63;
}
.vacancy-index {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #2d3748;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

h1 {
    font-weight: 600;
    font-size: 1.75rem;
    color: #1a202c;
    margin: 0;
}

/* Кнопка создания */
.btn-create {
    background: #1a3a63;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-create:hover {
    background: #2c5282;
    color: white;
    text-decoration: none;
}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-view-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-form{
    border-radius: 5px;
    padding: 20px;
    margin-top: 1%;

    -webkit-box-shadow: 0px 4px 8px 0px rgba(32, 32, 32, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(32, 32, 32, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(32, 32, 32, 0.2);
}