html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F4F4FA !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Pink Blob (StyledVector3) */
body::before {
    content: '';
    position: absolute;
    width: 948px;
    height: 741px;
    left: 659px;
    top: 279.23px;
    transform: rotate(-36deg);
    transform-origin: top left;
    opacity: 0.14;
    background: #F13AF6;
    filter: blur(244.45px);
    z-index: -1;
    pointer-events: none;
}



/* Job Search Page Specific Styles */
.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Search Section */
.search-section {
    background: transparent;
    padding: 130px 0 40px;
}

.search-header {
    margin-bottom: 32px;
}

.search-header h1 {
    display: none;
    /* Hidden in design */
}

/* Search Controls Container to align inputs horizontally */
.search-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-end;
}

.search-box {
    flex: 1;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Labels for inputs */
.search-box label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-left: 12px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #333;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    /* Left padding for icon */
    border: 1px solid #333;
    border-radius: 50px;
    /* Pill shape */
    font-size: 16px;
    background: rgba(255, 255, 255, 0.4);
    outline: none;
    color: #333;
    transition: all 0.2s;
}

.search-input:focus {
    background: white;
    border-color: #000;
}

.search-input::placeholder {
    color: #333;
    opacity: 1;
}

/* Filters */
.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 50px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-weight: 400;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.filter-btn.active {
    background: transparent;
    color: #333;
    border-color: #333;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

/* Icon adjustments */
.filter-icon {
    font-size: 16px;
    display: flex;
    /* Align icon better */
}

/* Count badge inside filter */
.filter-count {
    background: #000;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
}

/* Clear All Button */
.clear-btn {
    border: none;
    background: none;
    color: #333;
    padding: 0 10px;
    font-weight: 500;
    text-decoration: none;
}

.clear-btn:hover {
    background: none;
    text-decoration: underline;
    color: #000;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    min-width: 200px;
    z-index: 1000;
}

.dropdown-content.show {
    display: block;
}

/* Filter Options */
.filter-option {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-option:hover {
    background: #F4F4FA;
    border-radius: 8px;
}

.filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #F45B69;
}

.filter-option label {
    font-size: 15px;
    cursor: pointer;
    flex: 1;
}

/* Skills Dropdown */
.skills-dropdown {
    min-width: 320px;
}

.search-skills {
    margin-bottom: 12px;
}

.skills-search {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.skills-search:focus {
    border-color: #F45B69;
}

.selected-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F4F4FA;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
}

.remove-skill {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #676767;
}

.remove-skill:hover {
    color: #F45B69;
}


/* Job Listings */
.job-listings {
    padding: 0 0 80px;
    /* Reduced top padding as search section separation is sufficient */
    background: transparent;
}

.job-listing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: none;
    /* Removed shadow as per flat design in image */
    border: none;
    transition: all 0.3s;
}

/* Add hover effect only if needed, image shows static state but subtle lift is nice */
.job-listing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.job-header {
    margin-bottom: 24px;
}

.job-title {
    font-size: 28px;
    font-weight: 400;
    /* Regular weight as per image */
    margin-bottom: 16px;
    color: #000;
}

.job-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid #E5E5E5;
    /* Separator line */
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #333;
    font-weight: 400;
}

.meta-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    color: #333;
}

.job-content {
    margin-bottom: 32px;
}

.job-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.job-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 95%;
    /* Prevent text from hitting right edge too hard */
}

.learn-more-btn {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 12px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    margin-left: auto;
    width: fit-content;
}

.learn-more-btn:hover {
    background: #FFC5C5;
    color: black;
    border-color: #000;
    /* Ensure border remains black or matches design intent */
}

/* Responsive Design for Jobs Page */
@media (max-width: 768px) {
    .jobs-container {
        padding: 0 20px;
    }

    .search-section {
        padding: 100px 0 30px;
    }

    /* Search inputs - stack vertically */
    .Frame214 {
        flex-direction: column !important;
        width: 100% !important;
        gap: 16px !important;
    }

    .Frame207,
    .Frame208 {
        width: 100% !important;
    }

    /* Filter buttons */
    .Frame213 {
        gap: 12px !important;
    }

    .Frame224 {
        gap: 8px !important;
    }

    .Frame209,
    .Frame197,
    .Frame210,
    .Frame211 {
        font-size: 16px !important;
        padding: 10px 16px !important;
    }

    .Frame209 .Filters,
    .Experience,
    .Skills,
    .Qualification,
    .JobType {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    /* Dropdown positioning */
    .dropdown-content {
        left: 0;
        right: 0;
        width: calc(100vw - 40px) !important;
        max-width: 400px;
    }

    .skills-dropdown {
        min-width: auto !important;
        width: calc(100vw - 40px) !important;
    }

    /* Job cards */
    .Frame222 {
        padding: 24px !important;
        gap: 24px !important;
    }

    .UxDesignerYoutubePaidDigitalGoods {
        font-size: 24px !important;
        line-height: 28px !important;
    }

    .Frame219 {
        gap: 12px !important;
    }

    .Youtube,
    .MumbaiIndia,
    .FullTime {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .About {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    .Frame221 div:last-child {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .ClearAll {
        font-size: 16px !important;
        line-height: 24px !important;
    }
}

@media (max-width: 480px) {
    .jobs-container {
        padding: 0 16px;
    }

    .search-section {
        padding: 80px 0 20px;
    }

    /* Role and Location labels */
    .Role,
    .Location {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    /* Search inputs */
    .Frame197 input {
        font-size: 16px !important;
    }

    /* Filter buttons - smaller */
    .Frame209,
    .Frame197,
    .Frame210,
    .Frame211 {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }

    .Frame209 .Filters,
    .Experience,
    .Skills,
    .Qualification,
    .JobType {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    /* SVG icons smaller */
    .Frame209 svg,
    .Frame197 svg,
    .Frame210 svg,
    .Frame211 svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Job cards */
    .Frame222 {
        padding: 20px !important;
        gap: 20px !important;
    }

    .UxDesignerYoutubePaidDigitalGoods {
        font-size: 20px !important;
        line-height: 24px !important;
    }

    .Frame216,
    .Frame217,
    .Frame218 {
        gap: 6px !important;
    }

    .Frame216 svg,
    .Frame217 svg,
    .Frame218 svg {
        width: 20px !important;
        height: 20px !important;
    }

    .Youtube,
    .MumbaiIndia,
    .FullTime {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .About {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .Frame221 div:last-child {
        font-size: 14px !important;
        line-height: 22px !important;
    }

    .Button3 {
        padding: 10px 20px !important;
    }

    .Button3 .Label {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .ClearAll {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    /* Dropdown content */
    .dropdown-content {
        width: calc(100vw - 32px) !important;
        padding: 12px !important;
    }

    .filter-option {
        padding: 8px 4px !important;
    }


    .filter-option label {
        font-size: 14px !important;
    }
}

/* Button Hover Animation from jobs.js */
.hover-btn-anim:hover {
    background-color: #FFC5C5 !important;
}

.hover-btn-anim:hover .Label {
    color: black !important;
}