﻿/* ============================================================
   🌿 SAGLIKSOFT GLOBAL UI STYLE SHEET
   Version: 7.0 (LoginDP Edition • Fully Optimized)
   Bootstrap 5.3 — Inter Font — Glassmorphism System
============================================================ */

/* ------------------------------------------------------------
   BRAND TOKENS
------------------------------------------------------------ */
:root {
    /* Brand colors */
    --brand: #06b6d4;
    --brand-600: #0891b2;
    --brand-700: #0e7490;
    /* Typography */
    --ink: #0f172a;
    --muted: #64748b;
    /* Surfaces */
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    /* Borders / shadows */
    --border-soft: rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* ------------------------------------------------------------
   BASE
------------------------------------------------------------ */
html, body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--surface);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
}

/* ------------------------------------------------------------
   GLOBAL BUTTONS
------------------------------------------------------------ */
.btn-brand {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 8px 18px;
    font-weight: 600;
    transition: background .2s ease, transform .15s ease;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

    .btn-brand:hover {
        background: linear-gradient(90deg, #08c4e8, #0aa0cb);
        transform: translateY(-1px);
    }

/* WhatsApp button */
.btn-wa {
    background: #25D366;
    color: #fff !important;
    border-radius: 10px;
}

    .btn-wa:hover {
        filter: brightness(1.05);
    }

/* ------------------------------------------------------------
   LINKS
------------------------------------------------------------ */
a {
    color: var(--brand-600);
    text-decoration: none;
}

    a:hover {
        color: var(--brand);
    }

/* ------------------------------------------------------------
   CARDS / PANELS
------------------------------------------------------------ */
.card-soft,
.doctor-card,
.info-card,
.stats-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* ------------------------------------------------------------
   LOGIN PAGE
------------------------------------------------------------ */
body.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(1200px 800px at 90% -10%, rgba(10, 132, 255, .18), transparent), radial-gradient(1000px 700px at -10% 110%, rgba(52, 199, 89, .12), transparent), linear-gradient(135deg, #cfe6ff 0%, #ffe7f4 45%, #dff7ff 100%);
}

/* Login shell */
.login-shell {
    width: 100%;
    max-width: 440px;
    text-align: center;
}

    .login-shell .brand img {
        height: 42px;
    }

    .login-shell .brand small {
        color: #556177;
        font-size: .9rem;
    }

    /* Avatar */
    .login-shell .avatar {
        width: 84px;
        height: 84px;
        margin: 0 auto 16px;
        border-radius: 999px;
        background: linear-gradient(180deg, #fff, #f4f4f4);
        border: 1px solid rgba(0,0,0,.06);
        box-shadow: 0 10px 24px rgba(0,0,0,.10);
        display: grid;
        place-items: center;
    }

        .login-shell .avatar i {
            font-size: 38px;
            color: #64748b;
        }

    /* Glass Login Panel */
    .login-shell .panel {
        margin-top: 8px;
        padding: 24px;
        border-radius: 22px;
        background: rgba(255,255,255,0.18);
        border: 1px solid rgba(255,255,255,0.45);
        -webkit-backdrop-filter: blur(22px);
        backdrop-filter: blur(22px);
        box-shadow: 0 18px 40px rgba(31,38,135,0.18);
    }

.panel h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.panel .sub {
    color: #334155;
    font-size: .95rem;
    margin-bottom: 16px;
}

/* Inputs */
.login-shell .form-control {
    background: rgba(255,255,255,0.76);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 12px 14px;
}

.form-control:focus {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 0 0 .25rem rgba(0, 102, 255, .28);
}

/* Password Eye */
.password-wrap {
    position: relative;
}

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

/* Login Button */
.btn-login {
    background: linear-gradient(180deg, #0a84ff, #0a78e6);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(10,132,255,.28);
    margin-top: 6px;
}

    .btn-login:hover {
        background: linear-gradient(180deg, #2196ff, #0a84ff);
    }

/* ------------------------------------------------------------
   COOKIE BANNER (GDPR PRO v7.0)
------------------------------------------------------------ */
.cookie-banner.gdpr-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, 96%);
    padding: 20px 24px;
    z-index: 9999;
    /* Glassmorphism + Readability */
    background: rgba(255,255,255,0.82) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.60) !important;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.18);
    display: none; /* JS açacak */
}

.cookie-banner .cookie-text p,
.cookie-banner .cookie-text strong {
    color: #1e293b !important;
    font-weight: 500;
}

.cookie-banner a {
    color: var(--brand-700) !important;
    font-weight: 600;
}

.cookie-actions .btn {
    border-radius: 999px;
    font-weight: 600;
}

/* Accept */
.cookie-actions .btn-brand {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    color: #fff;
}

    .cookie-actions .btn-brand:hover {
        background: linear-gradient(90deg, #08c4e8, #0aa0cb);
    }

/* Reject */
.cookie-actions .btn-outline-secondary {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.14);
    color: #334155 !important;
}

/* Customize */
.cookie-actions .btn-light {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(0,0,0,.10);
    color: #334155 !important;
}

/* ------------------------------------------------------------
   COOKIE PREFERENCES MODAL
------------------------------------------------------------ */
#cookiePreferencesModal .modal-content {
    background: rgba(255,255,255,0.92) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 22px;
}

#cookiePreferencesModal p,
#cookiePreferencesModal h6 {
    color: #1e293b !important;
}

.badge-soft {
    background: #dff7ff !important;
    color: #036b82 !important;
}

/* Switch customization */
.form-check-input:checked {
    background-color: var(--brand-600);
    border-color: var(--brand-600);
}

/* Footer button */
#cookiePreferencesModal .btn-brand {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    color: white !important;
}
