/* ══════════════════════════════════════════════
   CBSağlık Revir - Site Styles
   ══════════════════════════════════════════════ */

/* Genel */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.bg-silver {
    background-color: #e2e8f0 !important;
}

/* Navbar Customizations */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.custom-navbar-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.logo-icon-container {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1b65d4 0%, #112a46 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(27, 101, 212, 0.2);
}

.nav-link-custom {
    color: #5a6674;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 1.1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link-custom i {
    color: #909bb0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-link-custom:hover {
    color: #112a46;
    background-color: #f0f4f8;
    transform: translateY(-1px);
}

.nav-link-custom:hover i {
    color: #1b65d4;
}

.nav-link-custom.active {
    background-color: #eef4ff;
    color: #1b65d4 !important;
    font-weight: 600;
}

.nav-link-custom.active i {
    color: #1b65d4 !important;
}

.user-badge-container {
    background-color: #f8fafc; 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    height: 42px;
    transition: all 0.2s;
}

.user-badge-container:hover {
    background-color: #f1f5f9;
}

.user-avatar {
    background: #e2e8f0;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.user-badge-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a3a5f;
    max-width: 170px;
}

.logout-btn-solid {
    background-color: #ffffff;
    color: #cd213c;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    height: 42px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.logout-btn-solid i {
    color: #cd213c;
    font-size: 1.1rem;
    margin-right: 0.4rem !important;
}

.logout-btn-solid:hover {
    background-color: #fef2f2;
    color: #b81d36;
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(254, 202, 202, 0.3);
}

/* Kartlar */
.card {
    border-radius: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Giriş Sayfası */
.card-header.bg-primary {
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

/* Form Elemanları */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Badge */
.badge {
    font-weight: 500;
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}

/* Yazdırma */
@media print {

    .navbar,
    footer,
    .btn {
        display: none !important;
    }
}