:root {
    --rose: #cd9a95;
    --rose-deep: #bb827d;
    --rose-soft: #f5e9e7;
    --ink: #2b2622;
    --muted: #97897f;
    --line: #efe7e4;
    --bg: #faf6f5;
    --radius-lg: 24px;
    --radius-md: 14px;
    --shadow-soft: 0 14px 34px -20px rgba(120, 80, 72, .35);
    --shadow-card: 0 24px 60px -32px rgba(120, 80, 72, .45);
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

.text-rose { color: var(--rose-deep); }

/* ---------- Giriş (auth) ekranları ---------- */
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 396px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 18px 50px -34px rgba(120, 80, 72, .4);
    padding: 3rem 2.5rem;
    animation: rise .45s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.auth-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.auth-subtitle {
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---------- Form ---------- */
.form-label {
    font-weight: 600;
    font-size: .82rem;
    color: #6d635b;
}

.form-control,
.input-group-text {
    border-radius: var(--radius-md) !important;
    border: 1px solid transparent;
    background: #f7f1ef;
    color: var(--ink);
    padding: .9rem 1.05rem;
    font-size: 1rem;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.form-control::placeholder { color: #b9aaa3; }

.form-control-lg {
    padding: 1.05rem 1.15rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md) !important;
}

.input-soft .input-group-text {
    background: #f7f1ef;
    color: var(--rose-deep);
    border: 1px solid transparent;
}

.input-soft .form-control { border-left: 0; }

.form-control:focus {
    background: #fff;
    border-color: var(--rose);
    box-shadow: 0 0 0 .2rem rgba(205, 154, 149, .18);
}

.code-input {
    letter-spacing: .55rem;
    font-weight: 700;
    font-size: 1.7rem;
    text-align: center;
}

/* ---------- Butonlar ---------- */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: .8rem 1.2rem;
    letter-spacing: .01em;
}

.btn-lg {
    padding: 1rem 1.25rem;
    font-size: 1.02rem;
    border-radius: var(--radius-md);
}

.btn-brand {
    background: var(--rose);
    color: #fff;
    border: none;
    box-shadow: 0 12px 26px -16px rgba(187, 130, 125, .9);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.btn-brand:hover {
    background: var(--rose-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -16px rgba(187, 130, 125, .95);
}

.btn-brand:active { transform: translateY(0); }
.btn-brand:disabled { opacity: .6; box-shadow: none; }

.btn-soft {
    background: var(--rose-soft);
    color: var(--rose-deep);
    border: none;
}

.btn-soft:hover {
    background: #efddd9;
    color: var(--rose-deep);
}

.link-brand {
    color: var(--rose-deep);
    text-decoration: none;
    font-weight: 600;
}

.link-brand:hover { color: var(--ink); }

/* ---------- App / header ---------- */
.app-bg { min-height: 100vh; background: var(--bg); }

.navbar-clean {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.navbar-clean .navbar-logo {
    height: 34px;
    width: auto;
}

.card-elevated {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.section-title { font-weight: 700; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    background: #eef7f0;
    color: #2f8a55;
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38b06a;
    box-shadow: 0 0 0 4px rgba(56, 176, 106, .15);
}

/* ---------- Çağrı / dialpad ---------- */
.phone-display {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-align: center;
    border: 1px solid transparent;
    background: #f7f1ef;
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: .85rem 1rem;
}

.phone-display::placeholder { color: #c6b8b1; font-weight: 600; }

.phone-display:focus {
    background: #fff;
    border-color: var(--rose);
    box-shadow: 0 0 0 .2rem rgba(205, 154, 149, .18);
}

.dialpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}

.dial-key {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 600;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
    user-select: none;
}

.dial-key small {
    font-size: .58rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .15em;
    margin-top: 3px;
}

.dial-key:hover { background: var(--rose-soft); border-color: var(--rose); }
.dial-key:active { transform: scale(.94); background: #efddd9; }

.btn-call {
    background: var(--rose);
    color: #fff;
    border: none;
    box-shadow: 0 12px 26px -16px rgba(187, 130, 125, .9);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.btn-call:hover {
    background: var(--rose-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -16px rgba(187, 130, 125, .95);
}

.btn-back {
    background: #f4efed;
    color: #6d635b;
    border: none;
}

.btn-back:hover { background: #ece4e1; color: var(--ink); }

@media (max-width: 575.98px) {
    .auth-card { padding: 2rem 1.35rem; }
    .auth-logo { height: 46px; }
    .dial-key { font-size: 1.35rem; }
    .phone-display { font-size: 1.6rem; }
}
