/* Styles for the Job Hunt tab redesign */

/* Main container for the two-section layout */
.jobhunt-main-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Inner tab styles - Updated for clarity and modern look */
.inner-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    width: 100%;
    margin-bottom: 1.5rem;
}

.inner-tab-link {
    flex: 1;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light, #555);
    text-align: center;
    transition: all 0.2s ease-in-out;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    /* Overlaps the container's border */
}

.inner-tab-link:hover {
    color: var(--color-primary, #1a3e6f);
    background-color: var(--color-background-accent, #f8f9fa);
}

.inner-tab-link.active {
    font-weight: 600;
    color: var(--color-primary, #1a3e6f);
    border-bottom-color: var(--color-primary, #1a3e6f);
    /* Use border-bottom-color for the active indicator */
}

/* This is no longer needed with the new border-based approach */
.inner-tab-link.active::after {
    display: none;
}

.inner-tab-content {
    display: none;
}

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

/* Section titles */
.jobhunt-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Responsive layout for the two main sections */
@media (min-width: 768px) {
    .jobhunt-main-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .jobhunt-section {
        flex: 1;
    }
}