.nav-tabs-wrapper {
    background-color: #EEEEEE;
    width: fit-content;
}

.nav-tabs {
    border-bottom: none;
    display: flex;
    /* Keep the tabs inline */
}


.nav-tabs .nav-link {
    color: #333;
    /* Add space between the tabs */
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    background-color: transparent;
}

.nav-tabs .nav-link.active {
    background-color: #e74c3c;
    /* Red background for active tab */
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    /* Adds a slight shadow for depth */
}

.nav-tabs .nav-link:hover {
    background-color: transparent;
    color: #333;
}

/* Persistent active state on hover */
.nav-tabs .nav-link.active:hover {
    background-color: #e74c3c;
    /* Maintain red background for active tab */
    color: #fff;
}

/* Table Styles */
table {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    margin-top: 10px;
    padding: 1rem 1rem !important;
}

.table>:not(caption)>*>* {
    padding: 1rem 1rem;
}

.tab-content>.active {
    display: block;
}

table th,
table td {
    padding: 10px 15px;
    text-align: left;
    border-top: none;
    border-bottom: 1px solid #ddd;
}

/* Remove left and right borders */
table th:first-child,
table td:first-child {
    border-left: none;
}

table th:last-child,
table td:last-child {
    border-right: none;
}

table th {
    color: #999 !important;
    font-weight: 500;
    text-transform: none;
    font-size: 17px;
}

table td {
    font-size: 17px;
    font-weight: 300;
    color: #333;
}
table td p{
    font-size: 17px;
    font-weight: 300;
    color: #333;
}
table td a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
}

table td a::before {
    content: "↗";
    font-size: 0.9em;
    color: #333;
    margin-right: 5px;
    position: absolute;
    left: -20px;
}

table td a:hover {
    text-decoration: underline;
}

.job-title {
    font-size: 17px;
    font-weight: 400;
    color: #333;
}

/* Apply link */
.apply-link {
    color: #d8353b;
    text-decoration: none;
    font-weight: bold;
}

.apply-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-link {
        margin: 5px 0;
    }

    .styled-table,
    .styled-table tbody,
    .styled-table tr,
    .styled-table td {
        display: block;
        width: 100%;
    }

    .styled-table td {
        padding-left: 50%;
        position: relative;
        text-align: right;
    }

    .styled-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        padding-right: 10px;
        font-weight: bold;
    }
}

.apply-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.apply-link:hover {
    text-decoration: underline;
}

/* Table inside tab content (fallback for basic styles) */
table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
}

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

td {
    font-size: 0.9rem;
}


.apply-link {
    color: #EC3323;
    text-decoration: none;
}

.tab-content {
    margin: inherit;
}
.tooltip-inner {
    font-size: 18px;    /* Adjust font size for the tooltip text */
    max-width: 200px;   /* Set max width for the tooltip */
}