:root {
    --bs-font-sans-serif: "Inter", sans-serif;
    --primary-color: #4FA713;
    --primary-light: #9FCC3B;
    --primary-hover: #43b02a;
    --white: #ffffff;
    --body-color: #f6f9fc;
    --gray-light: #f4f4f4;
    --gray-light-1: #f1f2f4;
    --gray-light-2: #f2f2f2;
    --text-dark: #000000;
    --text-light-dark: #333;
    --text-muted: #6c757d;
    --green-hover: #28a745;
}


body {
    font-family: var(--bs-font-sans-serif) !important;
    font-weight: normal;
    font-style: normal;
    overflow-x: hidden;
    font-size: 14px !important;
    direction: "ltr";
}

body,
p,
.line-clamp-3,
.line-clamp-2 {
    font-family: "Inter", sans-serif !important;
}

.container {
    max-width: 1120PX !important;
}

a {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 10px;
    font-weight: 500;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    color: #081828;
}

p {
    line-height: 22px;
    font-family: var(--bs-font-sans-serif) !important;
    color: #7E8890 !important;
}

.border-top {
    border-top: 1px solid #eee;
    padding-top: 18px;
}

/* Remove default focus styling */
input.form-control:focus,
textarea.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

select.form-select:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

input[type="checkbox"],
input[type="radio"] {
    border-color: var(--text-light-dark);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--text-light-dark);
}


.table th,
.table td {
    white-space: nowrap !important;
}

/* table style css  */

.custom-table thead th {
    background-color: var(--gray-light-1) !important;
    /* color: var(--white) !important; */
    padding: 10px;
    text-align: center;
}

.custom-table tbody tr {
    background-color: var(--gray-light-2) !important;
    text-align: center;
}

.custom-table {
    border-collapse: collapse;
    width: 100%;
}

.custom-table th,
.custom-table td {
    border: 1px solid var(--gray-light-2) !important;
}



.background-light-color {
    background-color: var(--primary-light) !important;
    color: var(--white) !important;
}

.background-color {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-color {
    color: var(--primary-color);
}

li a {
    text-decoration: none;
    color: var(--text-dark);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.ul_title li a {
    color: var(--text-light-dark) !important;
}

/* Text truncation */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* card hover effect css */

.custom-card {
    transition: all 0.3s ease;
}

.custom-card:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 0px !important;
}
.job-ready-post-image-height{
    max-height: 400px;
}


/* Buttons */

.theme-btn {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--white) !important;
    padding: 8px 24px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
}

.theme-btn:hover {
    opacity: 0.7;
}

.hover-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--white);
    padding: 8px 24px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
}

.hover-btn:hover {
    border: 1px solid var(--primary-color);
    color: var(--white);
    background-color: var(--primary-color);
}

.job-btn {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
}

/* .job-btn:hover {
    opacity: 0.7;
} */


.job-hover-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--white);
    padding: 5px 20px;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
}

.job-hover-btn:hover {
    border: 1px solid var(--primary-color);
    color: var(--white);
    background-color: var(--primary-color);
}


/* Border utility */
.border-bottom {
    width: 50px;
    border: 2px solid var(--white);
    margin: 10px 0;
}

.heading-bottom {
    width: 50px;
    height: 2px;
    background-color: var(--white);
}

.heading-bottom-light {
    width: 50px !important;
    height: 2px;
    background-color: var(--text-dark);
}

.border-dashed {
    border: 2px dashed #ccc !important;
}


.dashboard-active {
    border-left: 4px solid var(--primary-color);
    background-color: #E7F0FA;
}

.dashboard-active a {
    color: var(--primary-color) !important;
    font-weight: 500;
}


.profile-card {
    background-color: #E05151;
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

.pagination .page-link {
    color: var(--text-light-dark);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: var(--primary-hover);
    border-radius: 2px;
}

/* Mobile menu */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--white);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1050;
}

.mobile-slide-menu.active {
    right: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Footer */
.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: var(--green-hover);
    text-decoration: none;
}

.social-icon a {
    font-size: 16px;
    color: #081828;
    height: 40px;
    width: 40px;
    text-align: center;
    display: block;
    line-height: 40px;
    background: #E8ECF1;
    border: none;
    border-radius: 4px;
    position: relative;
    z-index: 3;
}

.social-icon a:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

/* Register page css  */

.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.register-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    padding: 2rem;
}

.register-card .form-label {
    font-weight: 500;
}

/* Login Page css  */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    padding: 2rem;
}

.login-card .form-label {
    font-weight: 500;
}

/* Home Page - Hero Section */
.home-hero-section {
    background: var(--primary-color);
}

.hero-section input::placeholder,
.hero-section select {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-section .form-control:focus,
.hero-section .form-select:focus {
    box-shadow: none;
}

.search-bar {
    background-color: var(--white) !important;
    box-shadow: none;
}

/* Upload CV section */
.resume-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    padding: 80px 0;
    position: relative;
}


.resume-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.resume-section .container {
    position: relative;
    z-index: 2;
}


.common-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 2rem;
    position: relative;
}




.map-responsive {
    overflow: hidden;
    padding-bottom: 30%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    width: 100%;
    height: 100%;
}


.latest-jobs-title h4 a {
    font-size: 18px;
    font-weight: 500;
    color: #081828;
}


.latest-jobs-btn {
    max-width: 150px;
}

.latest-jobs-descriptions {
    height: 80px;
}

.latest-jobs-descriptions p {
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.badge-btn {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 5px;
    margin-right: 3px;
    position: relative;
    background: #2042e314;
    color: #2042e3;
    padding: 5px 10px;
    border-radius: 3px;
}

.category-btn a {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 5px;
    margin-right: 3px;
    position: relative;
    background: #2042e314;
    color: #2042e3;
    padding: 5px 10px;
    border-radius: 3px;
}

.job-tags li {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 5px;
    margin-right: 3px;
    position: relative;
    background: #2042e314;
    color: #2042e3;
    padding: 5px 10px;
    border-radius: 3px;
}

.job-tags li a {
    color: #2042e3;
    text-decoration: none;
}

.job-tags li a:hover {
    text-decoration: underline;
}

.job-type {
    font-size: 12px;
    margin-bottom: 5px;
    margin-right: 3px;
    position: relative;
    background-color: #E7F0FA;
    color: #0A65CC !important;
    padding: 5px 10px;
}

.latest-blogs-heading {
    height: 37px;
}


/* Blogs card end */

/************************************************

           ==Subscription Cards CSS==

*************************************************/

.row.g-3>.col-md-4:nth-child(2)>.subscription-card {
    border: 1px solid var(--primary-color) !important;
    position: relative;
    border-radius: 0 0 4px 4px;
}

.row.g-3>.col-md-4:nth-child(2)>.subscription-card::before {
    content: 'Recommendation';
    position: absolute;
    top: -29px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    padding: 0.3rem 0;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.row.g-3>.col-md-4:nth-child(2) .subs-btn {
    background-color: var(--primary-color) !important;
    color: var(--white);
}


.payment-btn {
    transition: all 0.3s ease-in-out;
}

.payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/************************************************

           ==Create Job CSS==

*************************************************/


.create-hero-section {
    background-image: url('/job-ready-images/images/contact-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 2rem;
    position: relative;
}

/* candidate dashboard css  */

.mt-overlap {
    margin-top: 80px !important;
}

/* Custom dropdown */
.custom-dropdown .custom-dropdown-menu {
    display: none;
    min-width:fit-content;
}

.custom-dropdown-menu li a {
    /* font-weight: 600; */
    /* color: #555; */
    padding: 5px 10px;
    font-size: 14px;
}
.custom-dropdown-menu li:hover {
    
    color: #fff;
     background-color: #43b02a;
}

.custom-dropdown.show .custom-dropdown-menu {
    display: block;
}



/* For desktop: open dropdown on hover */
@media(min-width:992.999px){
    .mobile-custom-design{
        display: none;
    }

}
@media (max-width: 992px) {
     .custom-dropdown {
        display: none ;
    }
    .mobile-custom-design{
        display: flex;
        flex-direction: column;
        gap: 10px;
        list-style-type: none;
        padding: 10px 0px;
    }
}



/* ==================================   Media Queary ================================ */


@media (max-width: 768px) {
    .card.position-absolute {
        position: static !important;
        transform: none !important;
        margin-top: 15px;
    }

    .mt-overlap {
        margin-top: 20px;
    }

    .search-bar {
        background-color: transparent !important;
        box-shadow: none;
    }

    .search-btn {
        background-color: var(--white) !important;
        color: var(--text-dark) !important;
    }
}


@media(max-width:320px) {
    .jobs-card {
        height: 240px !important;
    }
}