﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

body {
    margin-bottom: 60px;
    background-color: #f3f4f6;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #000000;
}

/* KARTLAR */
.card {
    background: #ffffff;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

/* BUTONLAR */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    border: none;
}

.btn-primary {
    background-color: #0f4c81 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(15, 76, 129, 0.2) !important;
}

    .btn-primary:hover {
        background-color: #0b3960 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(15, 76, 129, 0.3) !important;
    }

/* KULLANICI PROFİLİ H3/P */
.kullanici-profili h3 {
    color: #000000 !important;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.kullanici-profili p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
}

    .kullanici-profili p strong {
        color: #000000;
        font-weight: 700;
        font-size: 1rem;
    }

hr {
    border-color: #d1d5db;
    opacity: 1;
    margin: 1.5rem 0;
}

/* FORM ELEMANLARI */
label.fw-bold {
    color: #000000 !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px !important;
    display: block;
    font-weight: 700 !important;
}

.form-control, .form-select, .form-control.bg-light {
    background-color: #f9fafb !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0.6rem 0.8rem !important;
    margin-bottom: 10px !important;
    font-weight: 500;
    font-size: 0.95rem;
    color: #000000 !important;
    transition: all 0.2s;
    min-height: 45px;
    display: flex;
    align-items: center;
}

    .form-control:focus, .form-select:focus {
        background-color: #ffffff !important;
        border-color: #0f4c81 !important;
        box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15) !important;
        outline: none;
    }

/* TAKVİM BAŞLIK VE BUTONLAR */
.fc .fc-toolbar-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
}

.fc .fc-button {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #000000 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    text-transform: capitalize !important;
}

    .fc .fc-button:hover {
        background: #f3f4f6 !important;
        border-color: #0f4c81 !important;
        color: #0f4c81 !important;
    }

/* TAKVİM TABLOSUNU ORTALAMA VE ÇERÇEVELEME */
.fc-view-harness {
    margin: 0 auto !important;
    width: 100% !important;
}

.fc .fc-scrollgrid {
    border: 1px solid #e5e7eb !important; /* Dış tabloya derli toplu bir çerçeve */
    border-radius: 8px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.fc-theme-standard th {
    border: none !important;
    border-bottom: 2px solid #e5e7eb !important;
    padding: 12px 0 !important;
}

.fc-theme-standard td {
    border: 1px solid #f3f4f6 !important;
}

.fc-col-header-cell-cushion {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-transform: uppercase;
    text-decoration: none !important;
}

.fc-daygrid-day-top {
    justify-content: center !important;
    padding-top: 10px !important;
}

.fc-daygrid-day-number {
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin: 0 auto !important;
    color: #000000 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: 0.2s !important;
}

    .fc-daygrid-day-number:hover {
        background: #e5e7eb !important;
    }

.fc-day-today {
    background: transparent !important;
}

    .fc-day-today .fc-daygrid-day-number {
        background: #00aeb3 !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        box-shadow: 0 4px 8px rgba(0, 174, 179, 0.3) !important;
    }

/* RANDEVULARIM LİSTESİ */
.list-group-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
    background-color: #ffffff !important;
    padding: 1.25rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

    .list-group-item p {
        color: #000000 !important;
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
        border: none;
        padding: 0;
        display: block;
    }

    .list-group-item strong {
        color: #000000 !important;
    }

    .list-group-item a:not(.btn) {
        color: #00aeb3 !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        display: inline-block;
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
    }

        .list-group-item a:not(.btn):hover {
            color: #0f4c81 !important;
            text-decoration: underline !important;
        }

    .list-group-item a.btn {
        color: #000000 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
    }

    .list-group-item .bg-success,
    .list-group-item .alert-success {
        border-radius: 6px !important;
        padding: 10px 15px !important;
        margin-top: 15px !important;
        margin-bottom: 0 !important;
        font-weight: 500 !important;
        text-align: center !important;
        background-color: #10b981 !important;
        color: #ffffff !important;
    }

/* GİRİŞ YAP / KAYIT OL SEKMELERİ */
.nav-pills {
    background-color: #e5e7eb !important;
    padding: 5px !important;
    border-radius: 10px !important;
    display: flex;
}

    .nav-pills .nav-link {
        border-radius: 8px !important;
        color: #475569 !important;
        font-weight: 700 !important;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        background: transparent !important;
    }

        .nav-pills .nav-link:hover {
            color: #000000 !important;
        }

        .nav-pills .nav-link.active,
        .nav-pills .show > .nav-link {
            background-color: #0f4c81 !important;
            color: #ffffff !important;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
        }

/* SCROLLBAR */
.fc .fc-scroller, div[style*="overflow-y:auto"] {
    overflow-y: auto !important;
}

    .fc .fc-scroller::-webkit-scrollbar,
    div[style*="overflow-y:auto"]::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .fc .fc-scroller::-webkit-scrollbar-track,
    div[style*="overflow-y:auto"]::-webkit-scrollbar-track {
        background: transparent;
    }

    .fc .fc-scroller::-webkit-scrollbar-thumb,
    div[style*="overflow-y:auto"]::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

        .fc .fc-scroller::-webkit-scrollbar-thumb:hover,
        div[style*="overflow-y:auto"]::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

/* MOBİL UYUM */
@media (max-width: 991.98px) {
    .row.d-flex.flex-nowrap {
        flex-wrap: wrap !important;
    }

    .col-lg-8, .col-lg-4 {
        width: 100% !important;
        margin-top: 15px !important;
    }
}

/* =========================================================
   TAKVİM İÇİ ETKİNLİK KUTULARI (%100 DOLDURAN KESİN ÇÖZÜM) 
   ========================================================= */

.fc .fc-daygrid-day-frame {
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 170px !important;
}

.fc .fc-daygrid-day-bottom {
    display: none !important;
}

.fc .fc-daygrid-day-events {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fc .fc-daygrid-event-harness {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
}

.fc .fc-event,
.fc .fc-daygrid-event {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.fc .fc-event-main {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

.kadin-event {
    background: #ffcce6 !important;
    border-left: 6px solid #ff1493 !important;
}

    .kadin-event,
    .kadin-event * {
        color: #000000 !important;
    }

.erkek-event {
    background: #cce6ff !important;
    border-left: 6px solid #1e90ff !important;
}

    .erkek-event,
    .erkek-event * {
        color: #000000 !important;
    }

/* =========================================================
   KUTU İÇİ YAZI DÜZENİ (KESİN MERKEZLEME VE TOPLAMA)
   ========================================================= */
.fc .fc-event-main {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: center !important; 
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-event {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    width: 100% !important;
    gap: 8px !important; 
    margin: 0 auto !important;
}


    .custom-event * {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.1 !important;
        flex: none !important; 
        text-align: center !important;
    }


/* RANDEVU FORMU VE DİĞER DETAYLAR */
#RandevuForm .form-control,
#RandevuForm .form-select,
#RandevuForm .bg-light {
    min-height: 32px !important;
    padding: 0.3rem 0.6rem !important;
    margin-bottom: 5px !important;
    font-size: 0.85rem;
}

#RandevuForm label.fw-bold {
    font-size: 0.75rem;
    margin-bottom: 2px !important;
}

#RandevuForm .btn {
    padding: 0.5rem 1rem !important;
}

.kullanici-profili {
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #0f4c81;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

    .kullanici-profili h3 {
        color: #0f4c81 !important;
        font-weight: 800;
        margin-bottom: 1rem;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
    }

    .kullanici-profili p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
        margin: 0;
        color: #64748b;
        font-size: 0.9rem;
        font-weight: 500;
    }

        .kullanici-profili p:last-of-type {
            border-bottom: none;
            padding-bottom: 0;
        }

        .kullanici-profili p strong {
            color: #0f172a;
            font-weight: 700;
            font-size: 0.95rem;
        }

h5.text-center {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem !important;
    text-align: left !important;
}

/* KURUMSAL MENÜ */
#kurumsalMenu .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: color 0.2s ease;
}

    #kurumsalMenu .nav-link:hover {
        color: #0f4c81 !important;
    }

#kurumsalMenu .active-link {
    color: #0f4c81 !important;
    border-bottom: 2px solid #0f4c81;
}

main {
    padding-top: 3rem !important; 
    min-height: calc(100vh - 160px); 
}