@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.card.bg_card {
    margin-left: 60px;
    border-radius: 20px;
    width: 130px;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin-top: 15px;
}

/* Search Bar Container */
.search-bar {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    width: 600px;
    max-width: 90%;
}

/* Search & Location Fields */
.search-field, .location-field {
    display: flex;
    align-items: center;
    flex: 1;
}

.search-field i, .location-field i {
    color: #9D1B48;
    font-size: 16px;
    margin-right: 8px;
}

/* Input Fields */
.search-field input, .location-field input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #555;
    width: 100%;
}

/* Divider Line */
.divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
    margin: 0 10px;
}

/* Search Button */
.search-btn {
    background: #9D1B48;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}

.search-btn:hover {
    background: #f59227;
}
.form-container {
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 30px;
    border: 2px solid #F4F4F4; /* Added border */
}

.form-container h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
/* Headings */
.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Upload Box */
.upload-box {
    border: 2px dashed #aaa;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 25px;
    background-color: #fff;
    width:100%;
}

.upload-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
}

.file-types {
    color: gray;
    font-size: 14px;
    margin-bottom: 25px;
}

.browse-btn {
    background-color: #a31448;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.browse-btn:hover {
    background-color: #f59227;
}

/* Description Box */
.description {
    width: 100%;
    min-height: 150px;
    border: 2px solid #f4f4f4;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    margin-bottom: 25px;
    resize: vertical;
}

/* Buttons Section */
.button-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.reset {
    margin-right: 10px; /* Add some spacing between Reset and Save Task */
}
.btn {
    padding: 12px 20px;
    font-size: 14px;
    border: 1px solid black;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    min-width: 130px;
}

/* Button Colors */
.draft {
    background: none;
    color: black;
    margin-right: auto; 
}

.reset {
    background: none;
    color: black;
}

.save {
    background-color: #a31448;
    color: white;
    border: 1px solid transparent;
}

.save:hover {
    background-color: #8c103e;
}

/* Job Card */
.job-card {
  
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* Hover Effect for Job Card */
.job-card:hover {
    border: 1px solid #c2185b;
    box-shadow: 0 4px 10px rgba(194, 24, 91, 0.15);
}

/* Left Section */
.job-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.job-title {
    font-size: 18px;
    font-weight:500;
}

.apply-tag {
    background: #fce4ec;
    color: #c2185b;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 48px;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #777;
    align-items: center;
}

.job-meta i {
    color: #c2185b;
    margin-right: 4px;
}

/* Right Section */
.job-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    right: 20px;
}

/* Bookmark Icon */
.bookmark {
    font-size: 18px;
    color: #A41F52;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}
/* Show the outline icon by default */
.outline {
    display: inline;
}

/* Hide the solid icon by default */
.solid {
    display: none;
}

/* On hover, swap them */
.job-actions:hover .outline {
    display: none; /* Hide outline bookmark */
}

.job-actions:hover .solid {
    display: inline; /* Show solid bookmark in the same position */
}
/* Apply Button */
.apply-btn {
    background: #c2185b;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.apply-btn span {
    display: none;
    margin-left: 5px;
    font-size: 16px;
}

/* Hover Effect for Apply Button */
.job-card:hover .apply-btn span {
    display: inline;
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: flex-end; /* Moves it to the right */
    gap: 10px;
    font-size: 16px;
    margin-top: 20px;
    color: #A41F52;
    cursor: pointer;
}




@media screen and (min-width: 320px) and (max-width: 395px) { 
    .search-bar {
        display: flex;
        align-items: center;
        background: white;
        padding: 10px 15px;
        border-radius: 50px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 100%;
    }
    .search-field input, .location-field input {
        border: none;
        outline: none;
        font-size: 12px;
        color: #555;
        width: 100%;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 395px) and (max-width: 768px) { 
    .search-bar {
        display: flex;
        align-items: center;
        background: white;
        padding: 10px 15px;
        border-radius: 50px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 100%;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}