/*login*/

/* ========== GENEL ========== */
body {
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* ========== LOGIN KUTUSU ========== */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.20);
    padding: 35px 28px;
}

/* ========== MARKA ========== */
.brand-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    background: #e8f4ff;
    border-radius: 50px;
    color: #0f4c75;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.brand-dot {
    width: 10px;
    height: 10px;
    background: #0f4c75;
    border-radius: 50%;
}

/* ========== BAŞLIKLAR ========== */
.login-title {
    font-weight: 700;
    margin-top: 10px;
    font-size: 24px;
}

.login-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 25px;
}

/* ========== BUTON ========== */
.btn-primary {
    background-color: #0f4c75 !important;
    border-color: #0f4c75 !important;
    padding: 10px;
    font-weight: 600;
    letter-spacing: .5px;
}

.btn-primary:hover {
    background-color: #0b3a5a !important;
    border-color: #0b3a5a !important;
}

/* ========== INPUT ========== */
.form-control:focus {
    border-color: #0f4c75;
    box-shadow: 0 0 0 .2rem rgba(15,76,117,.25);
}

/* ========== ALT LİNKLER ========== */
.login-bottom-links a {
    color: #0f4c75;
    font-size: 13px;
    font-weight: 500;
}

.login-bottom-links a:hover {
    text-decoration: underline;
}

/*ADMİN*/
/* ========== PANEL GENEL ========== */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ========== SIDEBAR ========== */
.app-sidebar {
    width: 240px;
    background: #0f4c75;
    color: #ffffff;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    margin-bottom: 20px;
}

.sidebar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbe1fa;
    display: inline-block;
    margin-right: 6px;
}

.sidebar-title {
    font-weight: 600;
    font-size: 16px;
    display: block;
}

.sidebar-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.sidebar-nav {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    color: #f1f5f9;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 4px;
    transition: background .15s, transform .05s;
}

.sidebar-link span:first-child {
    width: 22px;
}

.sidebar-link:hover {
    background: rgba(187, 225, 250, 0.15);
    text-decoration: none;
    transform: translateX(1px);
}

.sidebar-link.active {
    background: #3282b8;
}

.sidebar-separator {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 12px 0;
}

.sidebar-logout {
    margin-top: auto;
    background: rgba(220, 53, 69, 0.15);
}

/* ========== ANA ALAN ========== */
.app-main {
    flex: 1;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
}

/* TOPBAR */
.app-topbar {
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

/* CONTENT */
.app-content {
    padding: 20px;
}

/* KARTLAR */
.app-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px 16px 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.app-card-title {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 6px;
}

.app-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.app-card-desc {
    font-size: 12px;
    color: #9ca3af;
}

/* KUTU (GENEL) */
.app-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* HIZLI LİNKLER */
.quick-link {
    padding: 6px 10px;
    border-radius: 999px;
    background: #e5f1ff;
    color: #0f4c75;
    font-size: 13px;
    text-decoration: none;
}

.quick-link:hover {
    background: #d0e4ff;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .app-sidebar {
        display: none; /* İlk aşamada mobilde gizleyelim, sonra menü butonu koyarız */
    }
}



/* Ayarlar başlığı */
.sidebar-section-title {
    padding: .25rem .75rem;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .7;
    display: flex;
    align-items: center;
    gap: .35rem;
}

/* Ayarlar alt linkleri */
/* =====================================
   SIDEBAR SUBMENU (ÇAKIŞMASIZ FINAL)
===================================== */

/* Grup */
.sidebar-group {
    margin-top: .25rem;
}

.sidebar-link-has-children {
    cursor: pointer;
}

/* Açık olan grup başlığı hafif vurgulu */
.sidebar-group.open > .sidebar-link-has-children {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

/* Alt menü container */
.sidebar-submenu {
    margin: 0.15rem 0 0.35rem;
    padding: 0.15rem 0;
    margin-left: 1.5rem;
    padding-left: 0.25rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

/* ALT MENÜ LİNKLERİ */
.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem 0.35rem 2.2rem; /* soldan boşluk */
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    opacity: 0.9;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

/* Küçük nokta */
.sidebar-sublink span:first-child {
    width: 12px;
    font-size: 11px;
    opacity: 0.8;
}

/* Hover efekti */
.sidebar-sublink:hover,
.sidebar-sublink:focus {
    background: rgba(255, 255, 255, 0.10);
    transform: translateX(2px);
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

/* HOVER sırasında iç span'lar da aynı rengi alsın */
.sidebar-sublink:hover span,
.sidebar-sublink:focus span {
    color: inherit;
}

/* Aktif link */
.sidebar-sublink.active {
    background: #ffffff;
    color: #111827 !important;
    font-weight: 600;
}

/* Aktif noktayı mavi yap */
.sidebar-sublink.active span:first-child {
    color: #2563eb !important;
    opacity: 1;
}

/* Açık grubun sol çizgisi daha belirgin */
.sidebar-group.open > .sidebar-submenu {
    border-left-color: rgba(255, 255, 255, 0.35);
}




/* Rezervasyon formu layout */
.rez-container {
    max-width: 960px;
    margin: 30px auto;
}

.rez-card {
    border-radius: 0.75rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 0;
}

.rez-header {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #fff;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 1.1rem 1.4rem;
}

.rez-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.rez-header small {
    opacity: 0.9;
}

/* Bölüm başlıkları */
.form-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    margin-top: 1rem;
}

.form-section-sub {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.6rem;
}

/* Araç kartları */
.arac-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

.arac-card label {
    margin: 0;
    width: 100%;
    cursor: pointer;
}

.arac-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.arac-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.arac-price {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}
