/* Main Container */
.sw-recruitment-wrapper {
    font-family: "Inter", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Tabs */
.sw-tab-heading {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.sw-tab-heading .nav-tabs {
    border: none;
    gap: 2rem;
    display: inline-flex;
    justify-content: center;
    position: relative;
}

.sw-tab-heading .nav-item {
    margin: 0;
}

.sw-tab-heading .nav-tabs .nav-link {
    color: #2D3746;
    border: none;
    padding: 1rem 2rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.sw-tab-heading .nav-tabs .nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #002C51;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sw-tab-heading .nav-tabs .nav-link.active {
    color: #002C51;
    font-weight: 600;
    background: transparent;
}

.sw-tab-heading .nav-tabs .nav-link.active:after {
    transform: scaleX(1);
}

/* Tab Content */
.sw-tab-content {
    position: relative;
}

.sw-tab-content .tab-pane {
    transition: opacity 0.15s linear;
}

.sw-tab-content .tab-pane.fade {
    opacity: 0;
}

.sw-tab-content .tab-pane.fade.show {
    opacity: 1;
}

/* Table Styles */
.sw-tab-content .table {
    background: white;
    border: 1px solid #002C51;
}

.sw-tab-content .table thead {
    background-color: #002C51;
    color: white;
}

.sw-tab-content .table th {
    font-weight: 500;
    padding: 1rem 1.5rem;
    white-space: nowrap;
    border-bottom: none;
}

.sw-tab-content .table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-color: #002C51;
}

/* Column Widths */
.sw-tab-content .table th:nth-child(1),
.sw-tab-content .table td:nth-child(1) {
    width: 8%;
}

.sw-tab-content .table th:nth-child(2),
.sw-tab-content .table td:nth-child(2) {
    width: 35%;
}

.sw-tab-content .table th:nth-child(3),
.sw-tab-content .table td:nth-child(3) {
    width: 15%;
    text-align: center;
}

.sw-tab-content .table th:nth-child(4),
.sw-tab-content .table td:nth-child(4) {
    width: 12%;
    text-align: center;
}

.sw-tab-content .table th:nth-child(5),
.sw-tab-content .table td:nth-child(5) {
    width: 15%;
}

.sw-tab-content .table th:nth-child(6),
.sw-tab-content .table td:nth-child(6) {
    width: 15%;
}

/* Table Row Styles */
.sw-tab-content .table tbody tr {
    background-color: white;
    transition: background-color 0.3s ease;
}

.sw-tab-content .table tbody tr:nth-child(even) {
    background-color: #F7F7F7;
}

.sw-tab-content .table tbody tr:hover {
    background-color: #F7F7F7;
}

/* Button Styles */
.sw-tab-content .btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
}

.sw-tab-content .btn:focus {
    box-shadow: none;
}

.sw-tab-content .btn-primary {
    background-color: #002C51;
    border-color: #002C51;
}

.sw-tab-content .btn-primary:hover {
    background-color: #001f3a;
    border-color: #001f3a;
}

.sw-tab-content .btn-secondary {
    background-color: #EAEAEA;
    border-color: #EAEAEA;
    color: #2D3746;
    cursor: not-allowed;
}

.sw-tab-content .btn-secondary:hover {
    background-color: #EAEAEA;
    border-color: #EAEAEA;
    color: #2D3746;
}

.sw-tab-content .btn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.sw-tab-content .btn.pointer-events-none {
    pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sw-tab-heading .nav-tabs {
        gap: 1rem;
    }

    .sw-tab-heading .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
    }

    .sw-tab-content .table th,
    .sw-tab-content .table td {
        padding: 0.75rem;
    }
}