/* ABP Web - Custom Styles */

/* Breadcrumb whitespace fix - li tagları arasındaki boşlukları kaldırır */
.breadcrumb {
    font-size: 0 !important;
}

.breadcrumb > li,
.breadcrumb > li a,
.breadcrumb .divider {
    font-size: 14px !important;
}

body {
    padding-top: 40px;
}

#wrapper {
    min-height: calc(100vh - 45px) !important;
}


.carousel a.ds-link {
    color: #18bc9c !important;
    text-decoration: none;
}

.carousel a.ds-link:hover,
.carousel a.ds-link:focus {
    color: #128f76 !important;
    text-decoration: underline;
}


.navbar-brand {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 5px 15px;
}

.navbar-brand img {
    margin-right: 8px;
}

@media (min-width: 992px) {

    .navbar-header {
        width: calc(25% - 7.5px);
    }
}

@media (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        font-size: 15px;
    }
}


.panel-heading.custom-slate-heading {
    background-color: #64748b !important;
    color: #ffffff !important;
    font-weight: 600;
    border-color: #64748b !important;
}

ul.list-group.flex-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

ul.list-group.flex-grid>li {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
}

.legend-item {
    padding: 5px;
    text-align: left;
}

@media (min-width: 768px) {
    .legend-item {
        text-align: center;
    }
}


.content table:not(.table-custom):not(.table-dersler):not(.table-details) {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 25px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content table:not(.table-custom):not(.table-dersler):not(.table-details) th,
.content table:not(.table-custom):not(.table-dersler):not(.table-details) td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.content table:not(.table-custom):not(.table-dersler):not(.table-details) tr:first-child th,
.content table:not(.table-custom):not(.table-dersler):not(.table-details) tr:first-child td {
    background-color: #64748b !important;
    color: #ffffff !important;
    font-weight: 600;
    border-color: #64748b !important;
}

.content table:not(.table-custom):not(.table-dersler):not(.table-details) tr:nth-child(even) {
    background-color: #f8fafc;
}

.content table:not(.table-custom):not(.table-dersler):not(.table-details) tr:not(:first-child):hover {
    background-color: #e3fcf6;
}


.ds-link {
    float: left;
    padding: 0 10px 0 0;
    line-height: 24px;
    width: 48%;
    position: relative;
    z-index: 20;
}

.carousel .item p {
    overflow: hidden;
}

.carousel .item img.pull-left {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    margin-left: 40px !important;
    margin-right: 20px !important;
}

.side-nav .list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 15px;
    font-size: 1.05em;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    color: #555;
}

.side-nav .list-group-item:hover {
    background-color: #e3fcf6;
    border-left: 3px solid #337ab7;
    padding-left: 20px;
    color: #337ab7;
}

.side-nav .list-group-item i {
    margin-right: 8px;
    color: #ccc;
    transition: all 0.3s ease;
}

.side-nav .list-group-item:hover i {
    color: #337ab7;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e1e8ed;
    background-color: #fff;
}

.table-custom thead th {
    background-color: #64748b;
    color: #fff;
    font-weight: 600;
    border: none !important;
    padding: 12px 15px;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    text-align: left;
}

.table-custom tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.table-custom tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-color: #f0f0f0;
    color: #555;
}

.table-custom tbody tr:hover {
    background-color: #e3fcf6;
}

.table-details td:first-child {
    font-weight: 600;
    width: 25%;
    background-color: #f8fafc;
    color: #64748b;
    border-right: 2px solid #e1e8ed;
}

.yazi-ortala {
    text-align: center !important;
}

.checklist-custom {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e1e8ed;
    background-color: #fff;
}

.checklist-custom .checklist-title {
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 20px;
    margin: 0;
    border-bottom: 2px solid #e1e8ed;
}

.checklist-custom .checklist-item {
    padding: 8px 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    display: flex;
    align-items: center;
}

.checklist-custom .checklist-item:last-child {
    border-bottom: none;
}

.checklist-custom .checklist-item:hover {
    background-color: #f8fafc;
}

.checklist-custom .checklist-item i {
    color: #5cb85c;
    font-size: 1.2em;
    margin-right: 12px;
    min-width: 20px;
}



@media (min-width: 992px) {
    .side-nav.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .side-nav-wrapper {
        position: sticky;
        top: 80px;
        z-index: 100;
    }
}

.mobile-menu-btn {
    margin-bottom: 15px;
    text-align: left;
    background-color: #64748b;
    color: white;
    border-color: #64748b;
    font-weight: 600;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus,
.mobile-menu-btn:active {
    background-color: #475569;
    color: white;
    border-color: #475569;
}

.mobile-menu-btn i.fa-bars {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .side-nav-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }

    .side-nav-wrapper>button {
        padding-left: 16px !important;
        border-radius: 0 !important;
    }

    .side-nav.collapse .list-group-item {
        padding-left: 16px !important;
        border-radius: 0 !important;
        border-left: none;
        border-right: none;
    }
}

footer {
    height: auto !important;
    min-height: 300px;
    padding-bottom: 30px;
}

.carousel-inner>.item {
    overflow: hidden;
}

@media (max-width: 767px) {
    .carousel {
        height: auto !important;
        min-height: 150px;
        padding-bottom: 20px;
    }

    .ds-link {
        width: 50% !important;
        font-size: 13px;
    }

    .carousel .item img.pull-left {
        display: none !important;
    }

    .carousel .item h1 {
        font-size: 18px;
        text-align: center;
        margin-top: 30px;
    }

    .carousel .item p {
        font-size: 13px;
        text-align: center;
        margin-bottom: 30px;
    }
}

.akademik-list .bolum>a,
.akademik-list .bolum>strong {
    font-weight: 700;
    color: #2c3e50 !important;
    font-size: 1.05em;
}

.akademik-list .bolum {
    margin-top: 8px;
    margin-bottom: 3px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 3px;
}

.akademik-list .bolum>a>i.fa-caret-right {
    color: #d9534f;
}

.akademik-list .list-title {
    margin-top: 40px !important;
    padding-top: 30px;
    border-top: 3px solid #ecf0f1;
    margin-bottom: 15px;
    border-bottom: 2px solid #337ab7;
    padding-bottom: 8px;
    display: block;
}

.akademik-list .list-title:first-child {
    margin-top: 0px !important;
    padding-top: 0px !important;
    border-top: none !important;
}

.akademik-list .list-title>a {
    font-weight: 800;
    font-size: 1.35em;
    color: #337ab7 !important;
    letter-spacing: 0.5px;
}


.content h2 {
    color: #1e3a8a;
    font-weight: 700;
    margin-top: 0 !important;
    border-bottom: 2px solid #eef2ff;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.facility-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.facility-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.facility-col {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.facility-col-full {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .facility-col {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .facility-col {
        width: 33.333%;
    }
}

.facility-card h2,
.facility-card h4 {
    color: #1e3a8a !important;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 20px;
    font-size: 1.75rem !important;
    border-bottom: 2px solid #eef2ff !important;
    padding-bottom: 12px;
}

.facility-card p,
.facility-card ul,
.facility-card ol {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.facility-card ul li,
.facility-card ol li {
    margin-bottom: 8px;
}

.facility-card .btn-contact {
    background-color: #64748b;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.2s;
    display: inline-block;
    font-size: 14px;
}

.facility-card .btn-contact:hover {
    background-color: #475569;
    color: #ffffff !important;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background-color: #64748b;
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-contact:hover {
    background-color: #475569;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.btn-contact i {
    margin-right: 10px;
}

.content h3 {
    color: #1e3a8a;
    margin-top: 28px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.5rem;
}

.content h4 {
    color: #18bc9c;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.25rem;
}


.content ul:not(.nav):not(.list-group) {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content ul:not(.nav):not(.list-group) li {
    margin-bottom: 8px;
}

.content p a:not(.btn) {
    color: #18bc9c;
    text-decoration: none;
    font-weight: 500;
}

.content p a:not(.btn):hover {
    text-decoration: underline;
    color: #128f76;
}

.btn-document {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: #18bc9c;
    color: white !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-document:hover {
    background-color: #128f76;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.btn-document i {
    margin-right: 8px;
}

.guide-img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 16px;
    transition: transform 0.2s ease;
}

.guide-img:hover {
    transform: scale(1.02);
}

.modern-table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid #e2e8f0;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.modern-table th,
.modern-table td {
    padding: 10px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    color: #334155;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tbody tr {
    transition: background-color 0.2s ease;
}

.modern-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.modern-table tbody tr:hover {
    background-color: #e3fcf6;
}

.modern-table td:first-child {
    font-weight: 600;
    color: #1e3a8a;
    width: 50%;
    border-right: 1px solid #f1f5f9;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list li i {
    color: #18bc9c;
    font-size: 24px;
    margin-right: 20px;
    margin-top: 4px;
    min-width: 28px;
    text-align: center;
}

.contact-list li .contact-text strong {
    display: block;
    color: #64748b;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-list li .contact-text span {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.35rem;
}

/* Yönetim Sayfası (yonetim_view.php) Kartları */
.management-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.management-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.management-card .mc-content {
    flex-grow: 1;
}

.management-card h4 a {
    color: #337ab7;
    text-decoration: none;
    transition: color 0.2s;
}

.management-card h4 a:hover {
    color: #23527c;
}

.management-card h4 i {
    margin-right: 5px;
    font-size: 0.9em;
}

/* Rektör (Primary) Kartı Özel Stilleri */
.management-card.primary-card {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 5px solid #337ab7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.management-card.primary-card .mc-img-wrap {
    flex-shrink: 0;
    margin-right: 25px;
}

.management-card.primary-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.management-card.primary-card h5 {
    color: #777;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 8px;
}

.management-card.primary-card h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

/* Rektör Yardımcısı / Diğer (Secondary) Kart Özel Stilleri */
.management-card.secondary-card {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid #5cb85c;
}

.management-card.secondary-card .mc-img-wrap {
    flex-shrink: 0;
    margin-right: 20px;
}

.management-card.secondary-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
}

.management-card.secondary-card h5 {
    color: #777;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 8px;
}

.management-card.secondary-card h4 {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
}



.alert-box {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.text-primary-dark {
    color: #1e3a8a !important;
}

.contact-info-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-info-card h4 {
    margin-top: 0;
    color: #1e3a8a;
    border-bottom: 2px solid #eef2ff;
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    min-width: 140px;
    color: #475569;
    font-weight: 600;
    display: inline-block;
}

.contact-item a {
    color: #18bc9c;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #128f76;
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item strong {
        margin-bottom: 4px;
    }
}

.akademik-list .bolum>a {
    font-weight: 700;
    color: #2c3e50 !important;
    font-size: 1.05em;
}

.akademik-list .bolum {
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 5px;
}

.akademik-list .bolum>a>i.fa-caret-right {
    color: #d9534f;
}

.table-dersler {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e1e8ed;
    background-color: #fff;
}

.table-dersler thead th {
    background-color: #64748b;
    color: #fff;
    font-weight: 600;
    border: none !important;
    padding: 12px 15px;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.table-dersler tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.table-dersler tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-color: #f0f0f0;
    color: #555;
}

.table-dersler tbody tr:hover {
    background-color: #e3fcf6;
}

.table-dersler tbody td a {
    color: #18bc9c;
    font-weight: 600;
    text-decoration: none;
}

.table-dersler tbody td a:hover {
    color: #128f76;
    text-decoration: underline;
}

.table-dersler-total td {
    background-color: #e2e8f0 !important;
    font-weight: 700;
    color: #64748b !important;
    font-size: 1.1em;
}

.yariyil-ad {
    color: #64748b;
    font-weight: 700;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 5px;
    display: inline-block;
}

.yazi-ortala,
.text-center {
    text-align: center !important;
}

.nav-tabs>li:not(.active)>a:hover,
.nav-tabs>li:not(.active)>a:focus,
.ders-tabs>li:not(.active)>a:hover,
.ders-tabs>li:not(.active)>a:focus {
    background-color: #e3fcf6 !important;
    border-color: #e3fcf6 #e3fcf6 #ddd !important;
}
