/* Responsive Styles */
@media (min-width: 600px) {
    .header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
      }
      .last-grid {
          grid-template-columns: 1fr 1fr;
      }
  }

@media (max-width: 1024px) {
    .job-title {
        font-size: 37px;
    }

    .job-listings {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title {
        font-size: 37px;
    }
    .job-details-section .job-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .job-details-section .apply-btn {
        margin-left: 0;
        margin-right: auto;
    }

}
@media (max-width: 1200px) and (min-width:901px){
	.similar-job-card .job-header a.bookmark-btn{
	position: absolute;
    width: 40px !important;
    right: 15px;
	}
	.similar-job-card .job-details, .job-listings .job-details {
    grid-template-columns: repeat(1, 1fr);
}
	.similar-job-card .job-header {
    flex-direction: column;
}
	.similar-jobs{
		position:relative;
	}
	.similar-job-card .job-header .logo {
    width: 42px;
    height: 42px !important;
}
}
@media (max-width: 1120px) and (min-width: 768px){
.filter-option label {
    word-break: break-word;
}
.filter-buttons {
    height: auto;
    flex-direction: column;
}
.filter-container .filter-header .filter-buttons button,
.filter-buttons a.clear-btn{
    height: 40px;
}
.job-grids.grid-view.active {
    grid-template-columns: repeat(1, 1fr);
}
}

@media (max-width: 1200px){
    .job-listings {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .edit-profile-form .col-50{
        width: 100%;
    }
	.similar-job-card .job-header .logo {
    width: 42px !important;
}
	.similar-job-card .job-header a.bookmark-btn{
		width:40px !important;
	}
    #job-search-form{
        display: block;
    }
.experience-dropdown{
	border:1px solid #e5e5e5;
	border-width:1px 0px;
	padding:6px 0px;
    }
	
	.search-box .search-inputs .search-field,
	.location-input.location-search-container{
		padding:10px 0px;
	}
    .edit-profile-form .row {
        flex-direction: column;
        gap: 0;
    }

    .edit-profile-form .button-group {
        flex-direction: column;
        gap: 10px;
    }
	  .my-profile-container {
        flex-direction: column;
        gap: 0;
    }
    .my-profile-nav,
    .my-profile-content {
        width: 100%;
        min-width: unset;
    }
    .job-details-container {
        display: flex;
        flex-direction: column;
    }
    .similar-jobs {
        width: 100%;
        margin-top: 30px;
    }
    
    .profile-menu-close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10000;
    }
    .my-profile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-radius: 0px;
    }
    .my-profile-nav.show {
    left: 0;
    }
    
    .profile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    }
    .profile-menu-overlay.show {
    display: block;
    }
    .profile-menu-btn,
    .profile-menu-close-btn {
        display: block;
        cursor: pointer;
    }
    .profile-menu-btn{
        display: block;
        cursor: pointer;
        border: 1px solid #e5e5e5;
        background: transparent;
        color: inherit;
        padding: 10px;
        border-radius: 6px;
        cursor: pointer;
        display: inline-flex;
        margin-bottom: 20px;
    }

    .job-listings {
        grid-template-columns: repeat(2, 1fr);
    }
    .career-grid.grid {
        grid-template-columns: repeat(3, 1fr);

    }
	
	/* Similer jobs slider for mobile CSS */

.slider-track {
    width: 300%;
    animation: slideCards 12s linear infinite;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    height: 100%;
}

.slider-track {
    display: flex;
    width: 100%;
    animation: slideCards 16s linear infinite;
}

.similar-job-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 30px;
    background: #fff;
    scroll-snap-align: start;
}

@keyframes slideCards {
    0% { transform: translateX(0%); }
    20% { transform: translateX(0%); }

    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }

    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }

    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }

    100% { transform: translateX(0%); }
}
.similar-job-card .job-details{
    display: flex;
}
.similar-jobs .similar-job-card{
    border-bottom: none;
    position: relative;
}
h4.similar-jobs-title{
    padding-bottom: 30px;
}
.similar-jobs {
    padding: 0px;
    box-shadow: none;
    border-radius: 0px;
    height: auto;
    width: 100%;
}

.similar-job-card a.bookmark-btn  {
    margin-right: auto;
    margin-left: 0;
    position: absolute;
    right: 20px;
}
}


@media (max-width: 768px) {
    .appliview-container{
        padding-left: 0px;
        padding-right: 0px;
    }
    .update-btn, 
    .cancel-btn,
    .change-email-container button,
    .edit-profile-form .secondary,
    .edit-profile-form .profile-btn-view{
        width: 100%;
    }
    .applied-job-view{
        display: flex;
        width: 100%;
        gap:10px;
    }
    .applied-job-view a{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-box {
        flex-direction: column;
        padding: 15px;
        width: 100%;
    }
	.login-profile-form,
    .forgot-password-profile-form {
    width: 100%;
}
.register-profile-form h2{
    font-size: 20px;
}
.job-details-section {

    padding-right: 0px;
}
.job-details-section .apply-btn {
    width: 100%;
}
.job-card .job-footer .actions,
.job-card .job-footer .apply-btn {
    width: 100% !important;
}
.job-listing-container .view-details-btn{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.heading-section-left .job-description{
    width: 100%;
}
.heading-section-left {
    min-width: 100%;
    width: 100%;
}
.job-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
}
.search-inputs{
    display: block;
  }
    .search-inputs,
    .location-input {
        width: 100%;
    }
   
    .location-input{
        display: flex;
    }
  p.job-description{
        width: 100%;
    }
    .pagination-nav {
        width: 100%;
        float: none;
    }
    .listing-wrapper {
        padding: 0px 0px 30px;
    }
    #job-search-form{
        display: block;
    }
    .divider,
    .divider-vertical {
        display: none;
    }

    .search-button {
        width: 100% !important;
    }

	.view-switcher .switcher-btns {
    display: none;
    }
    .job-title {
        font-size: 35px;
    }

    .job-description {
        width: 100%;
    }

    .job-listings {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .title {
        font-size: 35px;
    }

    .filter-container {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 324px;
        background: #FFFFFF;
        z-index: 9999;
        overflow-y: auto;
        transform: translateX(-100%);
    }

.filter-container {
    transition: transform 0.3s ease-in-out;
}
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}
.filter-close-mobile{
    position: absolute;
    top: 15px;
    right: 20px;
    width:12px;
    display: block;
}
.apply-popup {
    width: 360px;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 48%;
}
.apply-popup .form-section {
    padding: 20px 20px 0px 20px;
}
.apply-popup .apply-popup-header {
    padding: 20px;
}
.resume-section.form-section{
    padding: 20px 20px 0px 20px !important;
}
.listing-wrapper{
    flex-direction: column;
}
.filter-overlay.show {
    display: block;
}
.filter-container.show {
    transform: translateX(0);
}
.filter-container {
    background: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 4px 0px #00000040;
}
.mobile-filter-btn {
    display: block;
}
.my-profile-container {
	padding: 30px 0px;
}
.saved-jobs-container {
    padding-top: 30px;
}
.applied-job-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
}
.applied-job-title{
    width: auto;
}
.job-status {
    position: absolute;
    right: 25px;
}
.profile-card .header{
    flex-direction: column;
}
.edit-btn {
    font-size: 14px;
    padding: 0px;
    margin-right: 10px;
}
h5.profile-list-title{
    padding-bottom: 10px;
}
.profile-photo-wrapper {
    justify-content: flex-start;
    flex-direction: column;
}
.view-switcher {
    margin: 0;
}
.view-switcher {
    display: flex;
    justify-content: space-between;
}
.filter-btn-mobile img{
    width: 22px;
    margin-right: 6px;
}
.withdraw-modal .modal-buttons {
    flex-direction: column;
}
.job-details-container .job-details-section .job-header {
    align-items: flex-start;
    flex-direction: column;
}
.appliview-container.job-details-container {
    padding: 40px 0px;
}
.job-grids.grid-view.active {
    width: 100%;
    display: block;
}
.listings {
    padding: 10px 15px 30px;
}
.job-listing-container .detail {
    width: 48%;
}
a.view-jobs-btn {
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
.heading-section-right{
    width: 100%;
}

.my-profile-nav ul li  {
    padding: 10px;
}
.job-listing .job-card .job-footer .view-details-btn{
    width: 100% !important;
}
.job-listing-container .job-footer .apply-btn, .job-listing-container .job-footer a.view-details-btn {
    width: 100% !important;
}
#upload-photo-btn,
#remove-photo-btn,
button.profile-save-button{
    width: 100%;
}
	.similar-job-card .job-header {
    flex-direction: column;
}
}