.index-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.main-content {
    flex: 1;
    background: #F8F9FA;
}

.dashboard-container {
    padding: 0;
    margin: 0;
    width: 100%;
}
.dashboard-title {
    font-size: 35px;
    margin-bottom: 8px;
    margin-left: 0;
}

.filter-card {
    background: #FFFFFF;
    border: 1px solid #F4F4F4;
    border-radius: 4px;
    padding: 16px;
    gap: 8px;
    width: 100%;
    min-height: 160px;
    margin-bottom: 20px;
}

.filter-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
    margin-bottom: 8px;
    height: 22px;
}

.filter-options {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    width: 100%;
    height: 65px;
    margin-bottom: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    height: 65px;
    flex: 1;
}

.filter-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 150%;
    color: #000000;
    height: 25px;
    margin-bottom: 0;
}

.radio-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    height: 20px;
}

.radio-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    height: 20px;
}

.radio-item input[type="radio"] {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border: 1px solid #505050;
    border-radius: 50%;
    margin: 0;
    position: relative;
}

.radio-item input[type="radio"]:checked {
    background: #898989;
    border: 1px solid #898989;
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-label {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #000000;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.filter-select {
    height: 39px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #A0AEC0;
    padding: 0 20px;
}

.filter-select:focus {
    border-color: #1D9191;
    box-shadow: 0 0 0 0.2rem rgba(29, 145, 145, 0.25);
}

.search-section {
    width: 100%;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
    font-size: 14px;
    z-index: 2;
}

.search-input {
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #000000;
    padding: 0 16px 0 40px;
}

.search-input::placeholder {
    color: #A0AEC0;
}

.search-input:focus {
    border-color: #1D9191;
    box-shadow: 0 0 0 0.2rem rgba(29, 145, 145, 0.25);
}

.job-listings-section {
    width: 100%;
}

.job-listings-title {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    color: #000000;
    margin-bottom: 12px;
    margin-left: 2px;
    letter-spacing: -0.2px;
}

.job-cards-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.job-card {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 4px;
    padding: 10px 16px;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 90px;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.job-card-content {
    width: 100%;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.job-info {
    display: flex;
    gap: 10px;
    flex: 1;
}

.company-logo {
    flex-shrink: 0;
}

.company-img {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.job-details {
    flex: 1;
}

.job-title {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 130%;
    color: #000000;
    margin: 0 0 2px 0;
}

.company-name {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    color: #000000;
    margin: 0 0 4px 0;
}

.job-description {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    color: #000000;
    margin: 0 0 4px 0;
}

.job-meta {
    margin-top: 4px;
}

.location-type {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 120%;
    color: #666666;
}

.job-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    line-height: 120%;
    text-align: center;
}

.status-badge.active {
    background: #28A745;
    color: #FFFFFF;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #E7E7E7;
}

.job-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.publication-date,
.application-count {
    font-family: 'Red Hat Display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 120%;
    color: #666666;
}

.job-actions {
    display: flex;
    gap: 6px;
}

.btn-incele {
    background-color: #3d8ed5 !important;
    border-color: #3d8ed5 !important;
    color: white !important;
    min-width: 110px;
    max-width: 130px;
    height: 32px;
    font-size: 14px;
    padding-top: 2px;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-incele:hover {
    background-color: #2d7bc5 !important;
    border-color: #2d7bc5 !important;
    color: white !important;
}
.btn-basvur {
    background-color: #1d9191 !important;
    border-color: #1d9191 !important;
    color: white !important;
    min-width: 130px;
    max-width: 150px;
    height: 32px;
    font-size: 14px;
    padding-top: 2px;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-basvur:hover {
    background-color: #167a7a !important;
    border-color: #167a7a !important;
    color: white !important;
}
.vr-long {
    border-left: 1.5px solid #ccc;
    height: 48px;
    min-height: 48px;
    align-self: stretch;
}

/* Grid düzenlemeleri sadece belirli durumlar için */
.index-container .card {
    margin-right: 0;
}

.index-container .row {
    margin-right: 0;
}

.index-container .col,
.index-container .col-md-6,
.index-container .col-md-2,
.index-container .col-auto {
    padding-right: 8px;
}


.filter-select-thin {
    height: 36px !important;
    font-size: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 36px;
}

@media (max-width: 1200px) {
    .dashboard-container {
        padding: 16px 0 0 8px;
    }
    .filter-options {
        flex-wrap: wrap;
        height: auto;
        gap: 12px;
    }
    .filter-group {
        min-width: 200px;
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .index-container {
        flex-direction: column;
    }
    .dashboard-container {
        padding: 8px 0 0 4px;
    }
    .dashboard-title {
        font-size: 18px;
    }
    .filter-options {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .filter-group {
        flex: 1 1 100%;
    }
    .radio-group {
        justify-content: space-between;
    }
    .job-header {
        flex-direction: column;
        gap: 8px;
    }
    .job-footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        width: 100%;
    }
    .job-actions {
        justify-content: center;
        width: 100%;
    }
    .job-actions .btn {
        min-width: 90px;
        max-width: 100%;
        height: 28px;
        font-size: 13px;
        flex: 1;
    }
    .btn-basvur, .btn-incele {
        min-width: 100px;
        max-width: 100%;
        font-size: 13px;
        flex: 1;
    }
    .job-description {
        display: block;
        margin-top: 4px;
    }
    .vr-long {
        height: 40px;
        min-height: 40px;
    }
    .filter-select-thin {
        height: 28px !important;
        font-size: 13px;
    }
    
    /* Index2 sayfası için buton düzenlemeleri */
    .job-panel .btn {
        width: 100% !important;
        min-width: 100% !important;
        font-size: 14px !important;
        padding: 12px 8px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 576px) {
    .dashboard-container {
        padding: 4px 0 0 2px;
    }
    .filter-card {
        padding: 8px;
    }
    .radio-group {
        flex-wrap: wrap;
        gap: 12px;
    }
    .job-card {
        padding: 6px 8px;
    }
    .job-actions {
        width: 100%;
        justify-content: space-between;
    }
    .job-actions .btn {
        flex: 1;
        margin: 0 4px;
    }
    .btn-basvur, .btn-incele {
        flex: 1;
        margin: 0 4px;
    }
    
    /* Index2 sayfası için buton düzenlemeleri */
    .job-panel .btn {
        width: 100% !important;
        min-width: 100% !important;
        font-size: 13px !important;
        padding: 12px 8px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Updateadvert sayfası için buton hover düzenlemeleri */
    .btn-outline-primary:hover {
        background-color: #1D9191 !important;
        border-color: #1D9191 !important;
        color: white !important;
    }
    
    /* Updateadvert sayfası için özel buton hover düzenlemeleri */
    .updateadvert .btn-outline-primary:hover,
    .btn-outline-primary[style*="#1D9191"]:hover {
        background-color: #1D9191 !important;
        border-color: #1D9191 !important;
        color: white !important;
    }
    
    /* Değişiklikleri Kaydetmeden Çık butonu için özel hover */
    .btn-outline-primary[style*="border: 2px solid #1D9191"]:hover {
        background-color: white !important;
        border-color: #1D9191 !important;
        color: #1D9191 !important;
    }
}

/* Layout Grid Stilleri */
.layout-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Duyurular için özel grid düzenlemesi */
.duyurular-section {
    height: fit-content;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 120px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Duyurular footer'ının üst kısımda sabit kalması için */
.duyurular-footer {
    margin-bottom: 16px;
    flex-shrink: 0;
    background: white;
    padding: 16px 0 8px 0;
    border-bottom: 1px solid #F4F4F4;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Index sayfası duyuruları için özel düzenleme */
.index-duyurular {
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    max-height: calc(100vh - 120px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Jobs sayfası duyuruları için özel düzenleme */
.jobs-grid-row .duyurular-section,
.jobs-page .duyurular-section {
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    max-height: calc(100vh - 120px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Jobs sayfası için ana container düzenlemesi */
.jobs-page {
    background: #F8F9FA;
}

/* Jobs sayfası row düzenlemesi - flex yerine normal bootstrap kullan */
.jobs-page .index-grid-row {
    display: block !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.jobs-page .index-grid-row::after {
    content: "";
    display: table;
    clear: both;
}

/* Jobs sayfası column düzenlemesi */
.jobs-page .index-grid-row > [class*="col-"] {
    float: left !important;
    position: relative !important;
    min-height: 1px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Responsive grid ayarları - Jobs sayfası için */
@media (min-width: 992px) {
    .jobs-page .index-grid-row .col-lg-9 {
        width: 75% !important;
        float: left !important;
    }

    .jobs-page .index-grid-row .col-lg-3 {
        width: 25% !important;
        float: right !important;
    }
}

@media (max-width: 991px) {
    .jobs-page .index-grid-row .col-lg-9,
    .jobs-page .index-grid-row .col-lg-3 {
        width: 100% !important;
        float: none !important;
    }
}

/* Profile sayfası için grid sistemi */
.profile-grid-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.profile-grid-row > [class*="col-"] {
    flex-shrink: 0 !important;
    width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin: 0 !important;
}

/* Profile sayfası için container override */
.profile-grid-row .container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Profile sayfası için dashboard container override */
.profile-grid-row .dashboard-container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Profile sayfası için col-12 zorlaması */
.profile-grid-row .col-12 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 15px !important;
}

/* Profile sayfası için alt kartlar (3-3-3-3 grid) */
.profile-grid-row .row.g-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.profile-grid-row .row.g-3 > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Profile sayfası için col-md-3 kartları */
.profile-grid-row .col-md-3 {
    flex: 0 0 auto !important;
    width: 25% !important;
    max-width: 25% !important;
}

@media (max-width: 767px) {
    .profile-grid-row .col-md-3 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Profile summary section mobil düzenlemesi */
    .profile-grid-row .row.g-3 {
        gap: 0.5rem !important;
    }
    
    /* Profile completion ve image arasındaki boşluğu azalt */
    .profile-grid-row .col-md-2 {
        margin-bottom: 0.5rem !important;
    }
    
    /* Vertical divider'ları mobilde gizle */
    .profile-grid-row .col-auto .border-start {
        display: none !important;
    }
    
    /* Profile summary card içindeki gap'i azalt */
    .profile-grid-row .card-body .row.g-3 {
        gap: 0.5rem !important;
    }
    
    /* Profile completion section mobil düzenlemesi */
    .profile-grid-row .col-md-2 .d-flex.flex-column {
        gap: 0.5rem !important;
    }
    
    /* Profile completion section margin azaltma */
    .profile-grid-row .col-md-2 .mb-2 {
        margin-bottom: 0.25rem !important;
    }
}

/* Duyurular scroll bar gizleme */
.index-duyurular::-webkit-scrollbar {
    display: none !important;
}

.index-duyurular {
    -ms-overflow-style: none !important;  /* IE ve Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* Çarpı butonu stilleri */
.close-btn {
    min-width: 24px !important;
    min-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.close-btn i {
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Çarpı butonu hover efekti */
.close-btn:hover {
    background-color: #333 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Tüm scroll bar'ları gizle */
.duyurular-section::-webkit-scrollbar,
.duyurular-grid::-webkit-scrollbar,
.index-duyurular::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

.duyurular-section,
.duyurular-grid,
.index-duyurular {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* Duyurular responsive düzenlemeleri */
@media (max-width: 1200px) {
    .index-duyurular .duyurular-footer button {
        font-size: 13px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 768px) {
    .index-duyurular .duyurular-footer button {
        font-size: 12px !important;
        padding: 8px 0 !important;
    }
    
    .index-duyurular .card-title {
        font-size: 13px !important;
    }
    
    .index-duyurular .card-text {
        font-size: 11px !important;
    }
    
    /* Duyurular footer'ının alt kısımda kalması için */
    .duyurular-footer {
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
}

/* Duyurular scroll bar stilleri */
.duyurular-section::-webkit-scrollbar,
.duyurular-grid::-webkit-scrollbar {
    width: 6px;
}

.duyurular-section::-webkit-scrollbar-track,
.duyurular-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.duyurular-section::-webkit-scrollbar-thumb,
.duyurular-grid::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.duyurular-section::-webkit-scrollbar-thumb:hover,
.duyurular-grid::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Scroll bar gizleme */
.duyurular-grid::-webkit-scrollbar {
    display: none;
}

.duyurular-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: calc(100% - 66px);
    overflow-y: auto;
}

/* Bootstrap grid sistemini korumak için */
.container-fluid .row {
    margin-left: -15px;
    margin-right: -15px;
}

.container-fluid .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Index sayfası için özel grid sistemi */
.index-grid-row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.index-grid-row::after {
    content: "";
    display: table;
    clear: both;
}

.index-grid-row > [class*="col-"] {
    float: left !important;
    position: relative !important;
    min-height: 1px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Responsive grid ayarları - Index sayfası için */
@media (min-width: 992px) {
    .index-grid-row .col-lg-9 {
        width: 75% !important;
        float: left !important;
    }

    .index-grid-row .col-lg-3 {
        width: 25% !important;
        float: right !important;
    }
}

@media (max-width: 991px) {
    .index-grid-row .col-lg-9,
    .index-grid-row .col-lg-3 {
        width: 100% !important;
        float: none !important;
    }
}

.layout-grid {
    display: grid;
    grid-template-areas: 
        "header header"
        "sidebar main";
    grid-template-rows: 58px 1fr;
    grid-template-columns: 252px 1fr;
    min-height: 100vh;
    position: relative;
}

/* Header Section */
.header-section {
    grid-area: header;
    background: white;
    z-index: 1001;
}

/* Sidebar Section */
.sidebar-section {
    grid-area: sidebar;
    width: 252px;
    height: calc(100vh - 58px);
    overflow-y: auto;
}

/* Main content section position */
.main-content-section {
    grid-area: main;
    padding: 20px;
    min-height: calc(100vh - 58px);
    background: #f8f9fa;
    margin: 0;
    position: relative !important;
}

/* Jobs sayfası main content düzenlemesi */
.main-content-section .jobs-page {
    margin: -20px;
    padding: 20px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .layout-grid {
        grid-template-areas: 
            "header"
            "main";
        grid-template-rows: 58px 1fr;
        grid-template-columns: 1fr;
    }
    
    .sidebar-section {
        display: none; /* Mobilde sidebar gizli */
    }
    
    .main-content-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .layout-grid {
        grid-template-rows: 50px 1fr;
    }
    
    .main-content-section {
        padding: 10px;
    }
}

/* AdvertDetail sayfası için responsive düzenlemeler */
@media (max-width: 768px) {
    /* Başvuru butonu responsive düzenlemesi */
    .advertdetail-page .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .advertdetail-page .btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* Benzer ilanlar kısmı için üst boşluk */
    .advertdetail-page .col-lg-4 {
        margin-top: 30px;
    }
    
    /* Benzer ilanlar kartı için boşluk */
    .advertdetail-page .similar-jobs {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .advertdetail-page .d-flex.justify-content-between {
        gap: 20px;
    }
    
    .advertdetail-page .col-lg-4 {
        margin-top: 40px;
    }
}

/* Hamburger Menu Stilleri */
.hamburger-menu-btn {
    background-color: #1D9191 !important;
    border-color: #1D9191 !important;
    color: white !important;
    z-index: 1020;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: absolute;
    top: 15px;
    left: 15px;
}

.hamburger-menu-btn:hover {
    background-color: #167a7a !important;
    border-color: #167a7a !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hamburger-menu-btn i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger-menu-btn {
        display: flex !important;
    }
    
    .main-content-section {
        padding: 15px;
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .main-content-section {
        padding: 10px;
        padding-top: 60px;
    }

    .hamburger-menu-btn {
        top: 12px;
        left: 12px;
        width: 35px;
        height: 35px;
    }

    .hamburger-menu-btn i {
        font-size: 16px;
    }
}