/* general styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}
.container-mid {
    max-width: 960px;
}

.container-small {
    max-width: 800px;
}

#logo {
    font-size: 1.7rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #000;
    letter-spacing: -1px;
    text-decoration: none;
}

#logo img {
    width: 2rem;
    height: 2rem;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
    margin-right: 15px;
}

.signup-container,
.signin-container {
    max-width: 450px;
    width: 100%;
    padding: 2rem;
    margin-top: 2rem;
}

.landing-section {
    padding: 2rem;
    margin-top: 2rem;
}

.job-feed-card {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.card-img-top {
    object-fit: contain;
    border-bottom: 1px solid lightgrey;
}

h2,
h3,
.card-title {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.button-group {
    margin-top: 2rem;
}

.btn {
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.button-group .btn-sign,
.card .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    margin-left: 1rem;
}

.footer {
    background-color: #f8f9fa;
}

.footer p {
    font-size: 0.875rem;
}

/* home */
#home-container h2 {
    font-size: 2rem;
    font-weight: bold;
}
#home-page h1 {
    font-size: 3.5rem;
    font-weight: 800;
}
#home-page h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a4a4a;
}
@media (max-width: 768px) {
    #home-page h1 {
        font-size: 2rem;
        font-weight: 800;
    }
    #home-page h2 {
        font-size: 1rem;
    }
}
#home-page {
    height: 80vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
#home-main-img {
    width: 30%;
}
@media (max-width: 768px) {
    #home-main-img {
        width: 75%;
    }
}

/* how it works page */
#how-it-works {
    text-align: center;
    max-width: 500px;
    margin-top: 100px;
}

#how-it-works h2 {
    font-weight: bold;
    margin: 60px 0 30px 0;
}

#how-it-works .step-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 0.9rem;
}

#how-it-works .step-box p {
    margin-bottom: 0;
}

#how-it-works .step-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

#how-it-works .arrow-down {
    font-size: 24px;
    margin: 0;
}

/* why jobi page */
#why-jobi-page {
    max-width: 960px;
}
#why-jobi-page .card {
   min-height: 17rem;
}
#why-jobi-page .job-feed-card {
    border: none;
}
#why-jobi-page .card-text {
    text-align: left;
}
#why-jobi-page .card-img-top {
    width: 85px;
    border: none;
    margin: 25px 0 0 0;
}
#why-jobi-page .card p {
    margin: 0 1.5rem;
    font-size: 0.9rem;
}
/* pricing */
#pricing {
    max-width: 960px;
    margin: 0 auto;
    padding: 100px 20px 40px 20px;
    text-align: center;
}
#pricing .pricing-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 30rem; /* Set minimum height for uniform card size */
    display: flex;
    flex-direction: column;
    border: 1px solid lightgrey;
}
#pricing .currency {
    font-size: 1.5rem;
    font-weight: 300;
    position: absolute;
    margin: -0.4rem -1rem;
}
#pricing .price {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1rem;
    margin-top: 1rem;
}
#pricing p {
    font-size: 0.9rem;
}
#pricing .btn {
    margin-left: 0;
}
#pricing .price-subtext {
    font-size: 0.8rem;
    color: gray;
}

/* client reviews */
.testimonials-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}
.testimonial-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.profile-image {
    width: 60px;
    height: 60px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
}
.client-name {
    font-weight: bold;
    margin: 0;
}
.client-role {
    font-size: 0.9rem;
    color: gray;
}

/* user settings styles */
.user-settings-container {
    max-width: 600px;
    width: 100%;
    padding: 2rem;
}

.button-group .btn {
    padding: 0.625rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    margin-left: 1rem;
}

/* My plan */
#my-plan #pricing {
    padding: 0 20px 40px 20px;
}

/* 404 */
.not-found-container {
    padding: 2rem;
    text-align: center;
}

.not-found-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: left;
}

.not-found-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.not-found-container .btn-success {
    padding: 0.625rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    float: left;
    border-radius: 5px;
}

/* feed */
.feed-settings-container h4 {
    margin-top: 0;
    margin-bottom: 0;
}
.mobile.feed-settings-container .card {
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.mobile.feed-settings-container .card-text {
    margin-left: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
}

.form-check-input {
    cursor: pointer;
}

.form-check-label {
    font-size: 1rem;
    cursor: pointer;
}

.switchToggle input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}

.switchToggle label {
    cursor: pointer;
    text-indent: -9999px;
    width: 60px;
    max-width: 60px;
    height: 30px;
    background: #d1d1d1;
    display: block;
    border-radius: 100px;
    position: relative;
}

.switchToggle label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.switchToggle input:checked + label, .switchToggle input:checked + input + label {
    background: #198754;
}

.switchToggle input + label:before, .switchToggle input + input + label:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 35px;
    width: 26px;
    height: 26px;
    border-radius: 90px;
    transition: 0.3s;
    text-indent: 0;
    color: #fff;
}

.switchToggle input:checked + label:before, .switchToggle input:checked + input + label:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 20px;
    width: 26px;
    height: 26px;
    border-radius: 90px;
    transition: 0.3s;
    text-indent: 0;
    color: #fff;
}

.switchToggle input:checked + label:after, .switchToggle input:checked + input + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.switchToggle label:active:after {
    width: 60px;
}

.toggle-switchArea {
    margin: 10px 0 10px 0;
}

.notification-form {
    display: flex;
    flex-direction: column;
}

.notification-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    margin-top: 0.6rem;
}

.switchToggle input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.switchToggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Make sure switch is vertically centered */
    margin-right: 1.2rem;
}
.mobile .switchToggle {
    margin-right: 0;
}
.mobile .badge {
    /*padding: 0;*/
}

.switchToggle label {
    cursor: pointer;
    text-indent: -9999px;
    max-width: 60px;
    background: #d1d1d1;
    border-radius: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px; /* Increase from 40px to 60px for 50% size increase */
    height: 28px; /* Increase from 20px to 30px for 50% size increase */
}

.switchToggle input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.notification_channel_name {
    font-size: 1.2rem;
}

/* feed filters */
.feed-filters-form {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem !important;
}

.select2-container {
    z-index: 1055 !important;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.job-listing-card {
    margin-bottom: 1rem;
}

.jobs-found-interval {
    color: grey;
}

.job-listing-card .job-link {
    text-decoration: none;
}
.job-listing-card .job-link:hover {
    text-decoration: underline;
}

.fixed-bottom {
    z-index: 1030;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.tags .badge {
    font-size: 0.875rem;
    padding: 0.4rem 0.7rem;
}

.price-range input[type=text] {
    padding: 0.375rem 0.375rem 0.375rem 1.5rem
}

.price-range .currency {
    position: absolute;
    padding: 0.42rem 0.5rem;
}

.mobile .fa-brands, .mobile .fa-regular {
    font-size: 1.7rem;
}

.mobile .flex-grow-1 {
    font-size: 1.2rem;
}

.pagination .page-link {
    color: #000;
    background-color: #fff;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #218838; /* Darker success color for hover */
    border-color: #1e7e34; /* Darker success border color for hover */
}

.modal-header button.close {
    font-size: 2rem;
    background-color: #fff;
    border: none;
    color: #000;
    margin: 0;
    padding: 0 0.5rem;
}

.pagination .page-item.active .page-link {
    color: #fff;
    background-color: #198754;
    border-color: #1e7e34;
}

.highlight {
    background-color: #ffff00d4;
}

.more-less {
    margin: 0;
    padding: 0 0 0 0.5rem;
}

/* desktop styles */
.desktop {
    display: block !important;;
}

.mobile {
    display: none !important;
}

.desktop-flex {
    display: flex !important;;
}

.mobile-flex {
    display: none !important;
}


/* mobile styles */
@media (max-width: 768px) {
    h2,
    h3,
    .card-title {
        font-size: 1.5rem;
    }

    .signup-container,
    .signin-container,
    .landing-section {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .signup-form input,
    .signin-form input {
        height: 44px;
        padding: 0.375rem 0.75rem;
    }

    .button-group .btn-sign,
    .card .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .desktop {
        display: none !important;;
    }

    .mobile {
        display: block !important;
    }

    .desktop-flex {
        display: none !important;;
    }

    .mobile-flex {
        display: flex !important;
    }
}
