﻿.job-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
    .job-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        filter: brightness(1.05);
    }

    .job-card img {
        max-height: 70px;
    }

.text-wrap-auto {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* or inline-block */
    max-width: 100%;
}

.job-card-span-fontsize-1 {
    font-size: 11px;
}

.job-tags-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
    max-width: 100%;
    padding: 0px 12px 0 0px; /* 👈 right padding added */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .job-tags-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .job-tags-wrapper::after {
        content: "";
        flex: 0 0 16px; /* 👈 dummy space at end */
    }

.job-tag {
    background-color: #dddbdb;
    color: #5a5a5a;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0; /* prevent shrinking */
}

.salary-box {
    border-radius: 8px;
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
}

.apply-btn {
    background: #00796b;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    border: none;
}

    .apply-btn:hover {
        background: #00695c;
    }

.badge-custom {
    background: #f1f3f4;
    font-size: 14px;
    margin: 0px 5px 8px 0;
    border-radius: 8px;
    padding: 5px 10px;
    display:inline-block;
}
/* Job description collapse */
.job-description {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    text-align:justify-all;
}

    .job-description.expanded {
        max-height: none;
    }

.show-more-btn {
    color: #00796b;
    font-weight: 600;
    cursor: pointer!important;
}
#jobDesc div {
    margin-top: 10px;
    position: relative;
    padding-left: 20px;
}
    #jobDesc div::before {
        content: "•"; /* Dard circle (bullet) */
        position: absolute;
        left: 0;
        color: #00796b; /* apni theme ka color */
        font-weight: bold;
        font-size: 22px;
        line-height: 1;
    }
.job-detail-box {
    /*background-color: #f8f9fa;*/ /* Lighter background for a cleaner look, similar to the second image's background */
    /*border: 1px solid #dee2e6;*/ /* Softer border */
    /*border-radius: 8px;*/ /* Rounded corners */
    padding: 5px; /* Spacing inside the box */
    color: #343a40; /* Darker text for better readability */
    display: flex; /* Use flexbox for better alignment control */
    flex-wrap: wrap; /* Allow items to wrap */
    align-items: flex-start; /* Align items to the start of the cross axis */
}

    .job-detail-box i {
        font-size: 1rem; /* Icon size */
        margin-right: 8px; /* Space between icon and label */
        color: #6c757d; /* Icon color */
    }

.detail-label {
    font-size: 0.9rem; /* Smaller font for the label */
    color: #6c757d; /* Lighter color for the label, similar to the second image */
    line-height: 1; /* Adjust line height if needed */
}

.detail-value {
    font-size: 1rem; /* Slightly larger font for the value */
    color: #343a40; /* Darker color for the value */
    margin-top: 5px; /* Space between label and value */
    margin-left: 28px; /* Indent the value to align with the label text, taking icon width + margin into account */
    display: block; /* Make it a block element to go on a new line */
    width: 100%; /* Occupy full width to push subsequent content to next line */
}
.toast-message {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    top: 30px; /* यहाँ बदलाव है */
    font-size: 17px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .toast-message.show {
        visibility: visible;
        -webkit-animation: fadein-top 0.5s, fadeout-top 0.5s 2.5s;
        animation: fadein-top 0.5s, fadeout-top 0.5s 2.5s;
    }

@-webkit-keyframes fadein-top {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes fadein-top {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout-top {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout-top {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}


