:root {
    --yp-text: #172033;
}
* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--yp-text);
    background: linear-gradient(135deg, #f5f7fb 0%, #eef3fa 100%);
}
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

.yp-full-wrapper { min-height: 100vh; background: linear-gradient(135deg, #f5f7fb 0%, #eef3fa 100%); }
.yp-container { padding: 30px 4vw; width: 100%; max-width: 1400px; margin: 0 auto; }
.yp-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.yp-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yp-gal-btn {
    background: #0ea5e9;
    color: #fff;
    border: 0;
    border-radius: 11px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
}
.yp-gal-btn:hover { background: #0284c7; }
.yp-cal-btn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; background: #0f766e; line-height: 1.15; }
.yp-cal-btn:hover { background: #0d655e; }
.yp-cal-btn.is-soon { background: #b45309; }
.yp-cal-btn.is-soon:hover { background: #92400e; }
.yp-cal-warn { font-size: 11px; font-weight: 800; }
.yp-cal-overlay { align-items: center; padding: 8px; }
.yp-cal-box { width: min(520px, calc(100vw - 16px)); margin: 0 auto; padding: 12px; max-height: calc(100vh - 16px); }
.yp-cal-box .yp-gal-head { margin-bottom: 6px; }
.yp-cal-box .yp-gal-head h2 { font-size: 16px; }
.yp-cal-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.yp-cal-nav { width: 32px; height: 32px; border-radius: 8px; background: #f1f5f9; color: #0f172a; text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.yp-cal-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.yp-cal-totals div { border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; gap: 0; }
.yp-cal-totals span { font-size: 11px; font-weight: 800; }
.yp-cal-totals strong { font-size: 15px; }
.yp-cal-totals .is-odeme { background: #fff7ed; color: #9a3412; }
.yp-cal-totals .is-alacak { background: #f0fdf4; color: #166534; }
.yp-cal-money { font-size: 13px; font-weight: 800; white-space: nowrap; }
.yp-cal-money b { font-size: 15px; }
.yp-cal-weekdays, .yp-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.yp-cal-weekdays { margin-bottom: 4px; color: #64748b; font-size: 11px; font-weight: 800; text-align: center; }
.yp-cal-day { height: 40px; min-height: 0; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; border-radius: 6px; padding: 2px 3px; text-align: left; cursor: pointer; }
.yp-cal-num small { margin-left: 3px; color: #64748b; font-size: 9px; }
.yp-cal-day.is-out { background: #f8fafc; color: #94a3b8; }
.yp-cal-day.is-today { border-color: #0f766e; }
.yp-cal-day.is-selected { outline: 2px solid #0f766e; }
.yp-cal-num { display: block; font-size: 12px; font-weight: 800; }
.yp-cal-chip { display: block; margin-top: 2px; border-radius: 999px; padding: 1px 5px; font-size: 10px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yp-cal-chip.is-odeme { background: #ffedd5; color: #9a3412; }
.yp-cal-chip.is-alacak { background: #dcfce7; color: #166534; }
.yp-cal-legend .yp-cal-chip { display: inline-block; }
.yp-cal-more { display: block; font-size: 10px; font-weight: 800; color: #64748b; }
.yp-cal-popup { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .45); }
.yp-cal-popup[hidden] { display: none !important; }
.yp-cal-popup-box { width: min(420px, 100%); background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); display: flex; flex-direction: column; gap: 8px; }
.yp-cal-popup-box h3 { margin: 0; font-size: 18px; }
.yp-cal-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: #0f172a; border: 1px solid #e2e8f0; }
.yp-cal-item[hidden] { display: none !important; }
.yp-cal-item.is-odeme { background: #fff7ed; }
.yp-cal-item.is-alacak { background: #f0fdf4; }
.yp-cal-item .yp-cal-who { color: #0f172a; font-size: 16px; font-weight: 800; }
.yp-cal-note { color: #64748b; font-size: 12px; font-weight: 700; }
.yp-cal-item.is-odeme .yp-cal-money { color: #9a3412; }
.yp-cal-item.is-alacak .yp-cal-money { color: #166534; }
.yp-cal-empty { margin: 0; color: #64748b; font-size: 14px; }
.yp-gal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, .55);
    padding: 16px;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
}
.yp-gal-box {
    width: min(920px, 100%);
    margin: 24px auto 40px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
.yp-gal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.yp-gal-head h2 { margin: 0; font-size: 18px; color: #1e293b; }
.yp-gal-close {
    width: 40px;
    height: 40px;
    border: 0;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}
.yp-brand { display: flex; align-items: center; gap: 15px; }
.yp-brand-logo { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #172033, #3b4c6d); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 900; box-shadow: 0 7px 18px rgba(25,38,65,.18); }
.yp-brand-title { font-size: 22px; font-weight: 850; line-height: 1.1; letter-spacing: -0.5px; }
.yp-brand-sub { font-size: 13px; color: #8992a4; margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.yp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.yp-cep-hatirlat { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 16px; padding: 10px 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; color: #9a3412; text-decoration: none; font-size: 13px; font-weight: 800; }
.yp-cep-hatirlat b { background: #c2410c; color: #fff; min-width: 36px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.yp-stat { background: #fff; border: 1px solid rgba(222,228,238,.9); border-radius: 16px; padding: 15px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 13px rgba(26,39,65,.035); color: inherit; text-decoration: none; }
a.yp-stat:hover { border-color: #3275e8; box-shadow: 0 6px 16px rgba(50,117,232,.12); }
.yp-stat-left { display: flex; align-items: center; gap: 12px; }
.yp-stat-icon { width: 35px; height: 35px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; }
.yp-stat-label { font-size: 13px; color: #7c869a; font-weight: 700; }
.yp-stat-value { font-size: 22px; font-weight: 900; color: #1c2639; }
.yp-stat:nth-child(1) .yp-stat-icon { background: #fff2dc; color: #e88a18; }
.yp-stat:nth-child(2) .yp-stat-icon { background: #e8f1ff; color: #3275e8; }
.yp-stat:nth-child(3) .yp-stat-icon { background: #ffe9ed; color: #df5267; }
.yp-stat:nth-child(4) .yp-stat-icon { background: #e8faf4; color: #1aaf79; }
.yp-alarm-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: linear-gradient(135deg, #fff8eb, #fff4e8); border: 1px solid #f5dfba; border-radius: 16px; margin-bottom: 20px; cursor: pointer; box-shadow: 0 4px 15px rgba(232, 138, 24, 0.1); }
.yp-alarm-left { display: flex; align-items: center; gap: 12px; }
.yp-alarm-bell { width: 36px; height: 36px; border-radius: 10px; background: #ffedd0; color: #d98200; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.yp-alarm-title { font-size: 15px; font-weight: 850; color: #79520d; }
.yp-alarm-text { font-size: 13px; color: #9a7a42; }
.yp-alarm-btn { background: #e99520; color: #fff; border: 0; padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 850; }
.yp-usage { padding: 16px 20px; background: linear-gradient(135deg, #eef4ff, #f4f0ff); border: 1px solid #d5def5; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(76, 99, 180, 0.08); }
.yp-usage.is-empty { background: linear-gradient(135deg, #fff1f2, #fff7ed); border-color: #fecdd3; }
.yp-usage-title { font-size: 15px; font-weight: 850; color: #1e3a8a; }
.yp-usage.is-empty .yp-usage-title { color: #9f1239; }
.yp-usage-text { font-size: 13px; color: #64748b; margin-top: 2px; }
.yp-usage-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.yp-usage-meter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 12px 14px; }
.yp-usage-kind { font-size: 12px; font-weight: 800; color: #64748b; width: 100%; }
.yp-usage-left { font-size: 22px; font-weight: 900; color: #1c2639; }
.yp-usage-of { font-size: 13px; color: #94a3b8; font-weight: 700; }
.yp-usage-buy { background: #4f46e5; color: #fff !important; border: 0; padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; margin-left: auto; text-decoration: none !important; display: inline-flex; align-items: center; }
.yp-usage-buy:hover { background: #4338ca; }
.yp-usage-wait { margin-left: auto; font-size: 12px; font-weight: 800; color: #b45309; background: #fffbeb; padding: 6px 10px; border-radius: 999px; }
.yp-usage-flash { margin-bottom: 14px; padding: 12px 16px; border-radius: 12px; background: #ecfdf5; color: #065f46; font-weight: 700; border: 1px solid #6ee7b7; transition: opacity .35s ease, transform .35s ease; }
.yp-usage-flash.is-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.yp-usage-flash.is-gone, .ym-flash.is-gone, .ym-error.is-gone, [data-flash].is-gone { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.yp-pay { max-width: 920px; }
.yp-pay-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.yp-pay-card { background: #fff; border: 1px solid #e5e9f1; border-radius: 18px; padding: 22px; box-shadow: 0 7px 22px rgba(20,32,56,.05); }
.yp-pay-title { margin: 0 0 8px; font-size: 18px; font-weight: 850; color: #172033; }
.yp-pay-text { margin: 0 0 16px; font-size: 13px; color: #64748b; line-height: 1.45; }
.yp-pay-rows { margin: 0; display: grid; gap: 10px; }
.yp-pay-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.yp-pay-rows dt { color: #64748b; font-weight: 700; }
.yp-pay-rows dd { margin: 0; font-weight: 850; color: #172033; }
.yp-pay-total { padding-top: 10px; border-top: 1px solid #eef2f7; font-size: 16px !important; }
.yp-pay-pos { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.yp-pay-pos label { display: block; font-size: 12px; font-weight: 800; color: #64748b; margin: 0 0 6px; }
.yp-pay-pos input { width: 100%; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #94a3b8; }
.yp-pay-pos-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yp-pay-pos-wait { margin: 4px 0 0; font-size: 12px; color: #b45309; font-weight: 700; }
.yp-pay-submit { width: 100%; background: #4f46e5; color: #fff; border: 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 850; cursor: pointer; }
.yp-pay-submit:hover { background: #4338ca; }
.yp-pay-submit:disabled { opacity: .45; cursor: not-allowed; background: #4f46e5; }
@media (max-width: 800px) { .yp-pay-grid { grid-template-columns: 1fr; } }
.yp-bill { max-width: 1040px; }
.yp-bill-section { margin-top: 16px; }
.yp-bill-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.yp-bill-plan { border: 1px solid #e5e9f1; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fbfcfe; }
.yp-bill-plan.is-current { border-color: #4f46e5; box-shadow: 0 0 0 2px rgba(79,70,229,.15); }
.yp-bill-plan-name { font-weight: 850; color: #172033; font-size: 16px; }
.yp-bill-plan-price { font-weight: 850; font-size: 22px; color: #4f46e5; }
.yp-bill-plan-price small { font-size: 12px; color: #64748b; font-weight: 700; }
.yp-bill-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yp-bill-form label { display: block; font-size: 12px; font-weight: 800; color: #64748b; margin: 0 0 5px; }
.yp-bill-form input[type=text], .yp-bill-form input[type=email], .yp-bill-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #dbe2ec; border-radius: 10px; background: #fff; font-size: 14px; color: #172033; }
.yp-bill-form .is-wide { grid-column: 1 / -1; }
.yp-bill-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #475569; margin: 10px 0; }
.yp-bill-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.yp-bill-table th, .yp-bill-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #eef2f7; }
.yp-bill-table th { color: #64748b; font-size: 12px; }
.yp-bill-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #f1f5f9; color: #475569; }
.yp-bill-badge.is-ok { background: #dcfce7; color: #166534; }
.yp-bill-badge.is-bad { background: #fee2e2; color: #991b1b; }
.yp-bill-iframe { width: 100%; min-height: 640px; border: 0; border-radius: 14px; background: #fff; }
.yp-bill-alert { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 14px; padding: 14px 16px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.yp-bill-mandate { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; border-radius:14px; padding:12px 14px; font-size:13px; font-weight:700; margin:12px 0; }
.yp-bill-mandate-stop { max-width:180px; background:#fff; color:#b91c1c; border:1px solid #fecaca; }
@media (max-width: 700px) { .yp-bill-form { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .yp-usage-meters { grid-template-columns: 1fr; } }
.yp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 15px; align-items: stretch; }
.yp-card { --accent: #4d7cff; --soft: #edf3ff; position: relative; display: flex; align-items: center; gap: 15px; min-height: 92px; box-sizing: border-box; padding: 18px; background: #fff; border: 1px solid #e5e9f1; border-radius: 18px; text-decoration: none !important; color: #172033; overflow: hidden; box-shadow: 0 7px 22px rgba(20,32,56,.05); transition: transform .2s ease, box-shadow .2s ease; }
.yp-card:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.yp-card:after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; right: -50px; bottom: -50px; background: var(--soft); opacity: .72; pointer-events: none; }
.yp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(25,39,65,.12); }
.yp-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex: none; z-index: 1; }
.yp-icon img { width: 28px; height: 28px; object-fit: contain; }
.yp-content { flex: 1; min-width: 0; z-index: 1; }
.yp-title { display: block; font-size: 15px; font-weight: 850; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yp-desc { display: block; font-size: 12px; color: #8a93a4; margin-top: 5px; font-weight: 600; }
.yp-arrow { position: absolute; right: 15px; top: 15px; font-size: 18px; font-weight: 900; color: #c3c9d5; z-index: 2; }
.yp-badge { position: absolute; right: 12px; bottom: 12px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; z-index: 2; }
.yp-card.tema-blue { --accent: #3d78ee; --soft: #eaf1ff; }
.yp-card.tema-cyan { --accent: #10a9c7; --soft: #e6f8fb; }
.yp-card.tema-orange { --accent: #ee8c20; --soft: #fff1df; }
.yp-card.tema-indigo { --accent: #5868d9; --soft: #eceeff; }
.yp-card.tema-purple { --accent: #8b5cf6; --soft: #f1ebff; }
.yp-card.tema-pink { --accent: #e84e9a; --soft: #ffedf6; }
.yp-card.tema-violet { --accent: #7558e8; --soft: #eeebff; }
.yp-card.tema-amber { --accent: #e7a019; --soft: #fff5db; }
.yp-card.tema-emerald { --accent: #10b981; --soft: #d1fae5; }
.yp-card.tema-green { --accent: #16a34a; --soft: #dcfce7; }
.yp-card.tema-teal { --accent: #14b8a6; --soft: #ccfbf1; }
.yp-card.tema-red { --accent: #ef4444; --soft: #fee2e2; }
.yp-card.tema-sky { --accent: #0ea5e9; --soft: #e0f2fe; }
.yp-card.tema-fuchsia { --accent: #d946ef; --soft: #fae8ff; }
.yp-card.tema-slate { --accent: #64748b; --soft: #f1f5f9; }
.yp-card.tema-logout { --accent: #b91c1c; --soft: #fee2e2; }

.ym-page { max-width: 1100px; margin: 16px auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.05); }
.ym-head { background: #0f172a; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ym-head h1, .ym-head h2 { color: #ffffff !important; margin: 0; font-size: 16px; font-weight: 800; text-transform: uppercase; }
.ym-home-btn { background: #475569; color: #fff !important; text-decoration: none; padding: 10px 15px; border-radius: 5px; font-weight: 700; font-size: 13px; border: none; display: inline-flex; align-items: center; }
.ym-home-btn:hover { background: #334155; }
.ym-body { padding: 16px; }
.ym-flash { background: #22c55e; color: #fff; padding: 12px 16px; border-radius: 5px; font-weight: 800; margin-bottom: 16px; text-align: center; }
.ym-error { background: #ef4444; color: #fff; padding: 12px 16px; border-radius: 5px; font-weight: 800; margin-bottom: 16px; text-align: center; }
.ym-btn { background: #3b82f6; color: #fff; border: none; border-radius: 5px; padding: 10px 15px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; font-size: 13px; }
.ym-btn.dark { background: #0f172a; }
.ym-btn.amber { background: #f59e0b; }
.ym-btn.red { background: #ef4444; }
.ym-inp, .ym-sel, .ym-txt {
    width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 5px; font-size: 14px; font-weight: 600; color: #334155; height: auto; min-height: 44px;
}
.ym-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.ym-table th { background: #1e293b; color: #fff; text-align: left; padding: 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; border: none; white-space: nowrap; }
.ym-table td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; font-weight: 600; color: #1e293b; vertical-align: middle; }
.ym-table tbody tr:nth-child(even) { background: #f8fafc; }
.ym-table tbody tr:hover { background: #eff6ff; }
.ym-grid { display: grid; gap: 12px; }
.ym-grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ym-muted { color: #64748b; font-size: 13px; }
.ym-box { background: #f8fafc; padding: 15px; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 14px; }
.motor-item { background: #fff; border: 1px solid #e2e8f0; margin-bottom: 10px; padding: 15px; border-radius: 6px; border-left: 5px solid #3b82f6; display:flex; justify-content:space-between; align-items:center; gap: 12px; }
.motor-item:hover { background: #f8fafc; border-left-width: 8px; }
.tag { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; background: #eee; color: #555; margin-right: 5px; }
.tag-kw { background: #dcfce7; color: #166534; }
.search-area { background: #eff6ff; padding: 15px; border-radius: 8px; border: 1px solid #dbeafe; margin-bottom: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.ym-login-wrapper { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 20px; }
.ym-login-box { background: #fff; border-radius: 24px; padding: 40px 30px; width: 100%; max-width: 400px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); text-align: center; }
.ym-login-title { font-size: 28px; font-weight: 900; margin: 0 0 5px; }
.ym-login-subtitle { font-size: 14px; color: #64748b; margin-bottom: 30px; font-weight: 600; }
.ym-form-group { margin-bottom: 20px; text-align: left; }
.ym-form-label { display: block; font-size: 12px; font-weight: 800; color: #475569; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.ym-form-input { width: 100%; padding: 16px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 16px; background: #f8fafc; font-weight: 700; }
.ym-login-btn { width: 100%; padding: 16px; background: #2563eb; color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; }
.ym-login-footer { margin-top: 25px; font-size: 12px; color: #94a3b8; font-weight: 600; }

.yp-top .ym-home-btn { background: #334155; border-color: #475569; color: #fff !important; cursor: pointer; transition: background .15s ease, transform .1s ease; }
.yp-top .ym-home-btn:hover { background: #dc2626; border-color: #dc2626; }
.yp-top .ym-home-btn:disabled, .yp-top .yp-gal-btn:disabled { cursor: wait; }

:root {
    --ym-primary: #2563eb;
    --ym-primary-dark: #1d4ed8;
    --ym-primary-soft: #eff6ff;
    --ym-success: #059669;
    --ym-warning: #d97706;
    --ym-danger: #dc2626;
    --ym-dark: #0f172a;
    --ym-title: #1e293b;
    --ym-text: #475569;
    --ym-muted: #64748b;
    --ym-border: #e2e8f0;
    --ym-border-dark: #cbd5e1;
    --ym-bg: #f8fafc;
    --ym-card: #ffffff;
    --ym-radius: 18px;
    --ym-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    --ym-shadow-sm: 0 5px 18px rgba(15, 23, 42, 0.06);
}

.ym-form-box { width: 100%; max-width: 1100px; margin: 24px auto; padding: 0 16px 40px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ym-text); }
.ym-head-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 24px 28px; border-radius: 22px; margin-bottom: 20px; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16); position: relative; overflow: hidden; }
.ym-head-row::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -120px; border-radius: 50%; background: rgba(59,130,246,0.18); }
.ym-title-wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 15px; }
.ym-title-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 15px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); font-size: 25px; flex-shrink: 0; }
.ym-title { margin: 0; color: #fff; font-size: 21px; font-weight: 900; letter-spacing: -0.3px; }
.ym-subtitle { margin-top: 4px; color: #94a3b8; font-size: 12px; font-weight: 600; }
.ym-home-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; color: #fff !important; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15); border-radius: 11px; text-decoration: none !important; font-size: 13px; font-weight: 800; }
.ym-section { background: var(--ym-card); border: 1px solid var(--ym-border); border-radius: var(--ym-radius); padding: 23px; margin-bottom: 18px; box-shadow: var(--ym-shadow-sm); }
.ym-section-head { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; margin-bottom: 20px; border-bottom: 1px solid #eef2f7; }
.ym-section-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ym-primary-soft); color: var(--ym-primary); font-size: 19px; flex-shrink: 0; }
.ym-section-title { margin: 0; color: var(--ym-title); font-size: 15px; font-weight: 900; }
.ym-section-desc { margin: 3px 0 0; color: var(--ym-muted); font-size: 12px; font-weight: 500; }
.ym-row { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.ym-row:last-child { margin-bottom: 0; }
.ym-col { flex: 1; min-width: 220px; }
.ym-lbl { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; color: var(--ym-title); font-size: 12px; font-weight: 900; }
.ym-required { color: var(--ym-danger); }
.ym-inp, .ym-sel, .ym-txt { width: 100%; height: 52px; padding: 0 15px; border: 1.5px solid var(--ym-border-dark); border-radius: 12px; background: #fff; color: var(--ym-dark); font-size: 14px; font-weight: 600; outline: none; }
textarea.ym-inp { min-height: 120px; height: auto; padding: 14px 15px; }
.ym-inp:focus, .ym-sel:focus { border-color: var(--ym-primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.10); }
.ym-type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; background: #f1f5f9; border: 1px solid var(--ym-border); border-radius: 14px; margin-bottom: 20px; }
.ym-type-option { position: relative; cursor: pointer; margin: 0; }
.ym-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.ym-type-option span { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; color: #64748b; font-size: 13px; font-weight: 800; }
.ym-type-option input:checked + span { background: #fff; color: var(--ym-primary); box-shadow: 0 3px 10px rgba(15,23,42,0.08); }
.ym-phone-wrap { display: flex; height: 52px; border: 1.5px solid var(--ym-border-dark); border-radius: 12px; overflow: hidden; background: #fff; }
.ym-phone-prefix { min-width: 78px; display: flex; align-items: center; justify-content: center; gap: 6px; background: #f8fafc; border-right: 1px solid var(--ym-border); color: #334155; font-size: 13px; font-weight: 900; }
.ym-phone-inp { width: 100%; border: none !important; outline: none !important; padding: 0 14px; background: transparent; font-size: 16px; font-weight: 800; }
.ym-sms-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 17px; background: #f8fafc; border: 1px solid var(--ym-border); border-radius: 14px; }
.ym-sms-main { display: flex; align-items: center; gap: 12px; }
.ym-sms-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #dbeafe; font-size: 18px; }
.ym-checkbox-lbl { cursor: pointer; display: flex; align-items: center; gap: 9px; color: var(--ym-title); font-size: 13px; font-weight: 800; }
.ym-sms-desc { color: var(--ym-muted); font-size: 11px; text-align: right; }
.ym-sms-phone { border-color: #f59e0b !important; background: #fffdf5; }
.ym-sms-prefix { background: #fef3c7; color: #92400e; }
.ym-camera-btn { min-height: 135px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 20px; border: 2px dashed #93c5fd; border-radius: 16px; background: linear-gradient(135deg, #eff6ff, #f8fbff); color: #1d4ed8; cursor: pointer; text-align: center; }
.ym-note-box { position: relative; }
.ym-note-badge { position: absolute; right: 12px; top: 38px; padding: 4px 7px; border-radius: 6px; background: #f1f5f9; color: #64748b; font-size: 9px; font-weight: 900; }
.ym-btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ym-save-btn { min-height: 58px; width: 100%; border: none; border-radius: 14px; color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.btn-devam { background: linear-gradient(135deg, #059669, #10b981); }
.btn-bitir { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.ym-success { background: linear-gradient(135deg, #ecfdf5, #f0fdf4); color: #166534; padding: 22px; text-align: center; border-radius: 18px; margin-bottom: 20px; font-weight: 800; border: 1px solid #bbf7d0; }
.ym-error { background: #fee2e2; color: #991b1b; padding: 12px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 16px; }
.ym-flash { background: #dcfce7; color: #166534; padding: 12px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 16px; }
.ym-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; align-items: center; }
.ym-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.ym-section { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 15px; margin-bottom: 14px; box-shadow: none; }
.ym-link { color: #1d4ed8; font-weight: 800; text-decoration: none; }
.ym-chip { display: inline-flex; padding: 4px 8px; border-radius: 8px; font-size: 11px; font-weight: 900; }
.ym-chip.f { background: #dcfce7; color: #166534; }
.ym-chip.s { background: #ffedd5; color: #9a3412; }
.ym-price-alis { color: #059669; font-weight: 900; }
.ym-price-satis { color: #e11d48; font-weight: 900; }
.chk-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chk-lbl { display: flex; align-items: center; gap: 6px; background: #f8fafc; border: 1px solid #e2e8f0; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.yp-del-btn { display: inline-block; margin-top: 8px; color: #b91c1c; font-size: 11px; font-weight: 800; text-decoration: none; }
.chk-lbl input { accent-color: #2563eb; }
.chk-lbl input:checked + span { color: #2563eb; font-weight: 800; }
.chk-lbl:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.yp-staff-add { border-top: 5px solid #2563eb; }
.yp-staff-title { display: block; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; margin-bottom: 15px; font-weight: 800; color: #1e293b; }
.yp-staff-lbl { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #64748b; }
.yp-staff-name { font-weight: 900; font-size: 16px; color: #1e293b; margin-bottom: 3px; }
.yp-staff-user { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 4px; background: #f1f5f9; color: #64748b; font-size: 13px; }
.yp-staff-passive td { background: #fef2f2; }
.yp-staff-actions { margin-top: 10px; }
.yp-staff-actions summary { cursor: pointer; font-size: 12px; font-weight: 800; color: #475569; }
.yp-staff-actions form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.yp-staff-actions .ym-btn { padding: 8px 12px; font-size: 12px; }
.yp-staff-actions .ym-inp { padding: 8px 10px; font-size: 13px; }
.yp-staff-save { width: 100%; margin-top: 20px; padding: 18px; border: none; border-radius: 10px; background: #16a34a; color: #fff; font-size: 17px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 15px rgba(22, 163, 74, .3); }
.yp-staff-save:hover { background: #15803d; }
.ym-btn { background: #2563eb; color: #fff; border: none; border-radius: 10px; padding: 12px 18px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.ym-btn.amber { background: #d97706; }
.ym-btn.red { background: #b91c1c; }
.ym-btn.dark { background: #0f172a; }
.ym-devam-card { display: flex; align-items: center; gap: 15px; background: #fffbeb; border: 1px solid #fcd34d; border-left: 5px solid #f59e0b; padding: 16px 18px; border-radius: 16px; margin-bottom: 20px; }
@media (max-width: 1024px) { .yp-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .yp-top { flex-wrap: wrap; }
    .yp-actions { width: 100%; }
    .yp-gal-btn, .yp-top .ym-home-btn { flex: 1; justify-content: center; }
    .yp-cal-btn { align-items: center; text-align: center; }
    .yp-cal-day { height: 36px; }
    .yp-gal-box { margin: 8px auto 24px; padding: 14px; }
    .yp-container { padding: 15px 3vw; }
    .yp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .yp-card { padding: 15px 12px; flex-direction: column; text-align: center; }
    .yp-arrow { display: none; }
    .yp-badge { top: 8px; right: 8px; bottom: auto; }
    .ym-btn-group, .ym-sms-card { grid-template-columns: 1fr; display: grid; }
    .ym-head-row { flex-direction: column; align-items: flex-start; }
}
/* iOS Safari zooms the page when a focused field is smaller than 16px. */
@media (hover: none) and (pointer: coarse) {
    :root :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]), select, textarea) { font-size: 16px !important; }
}
.yp-canli .yp-gal-btn { background: #bae6fd; color: #0c4a6e; border: 1px solid #0369a1; }
.yp-canli .yp-gal-btn:hover { background: #7dd3fc; }
.yp-canli .yp-cal-btn { background: #99f6e4; color: #134e4a; border-color: #0f766e; }
.yp-canli .yp-cal-btn:hover { background: #5eead4; }
.yp-canli .yp-cal-btn.is-soon { background: #ffedd5; color: #9a3412; border-color: #c2410c; }
.yp-canli .yp-cal-btn.is-soon:hover { background: #fed7aa; }
.yp-canli .yp-account-btn { background: #bfdbfe; color: #1e3a8a; border-color: #1d4ed8; }
.yp-canli .yp-account-btn:hover { background: #93c5fd; }
.yp-canli .yp-stat:nth-child(1) { background: #f5e1d8; border-color: #c2410c; }
.yp-canli .yp-stat:nth-child(2) { background: #e8ddf9; border-color: #6d28d9; }
.yp-canli .yp-stat:nth-child(3) { background: #f4dbdb; border-color: #b91c1c; }
.yp-canli .yp-stat:nth-child(4) { background: #d7e9e4; border-color: #047857; }
.yp-canli .yp-stat:nth-child(1) .yp-stat-icon { background: #c2410c; color: #fff; }
.yp-canli .yp-stat:nth-child(2) .yp-stat-icon { background: #6d28d9; color: #fff; }
.yp-canli .yp-stat:nth-child(3) .yp-stat-icon { background: #b91c1c; color: #fff; }
.yp-canli .yp-stat:nth-child(4) .yp-stat-icon { background: #047857; color: #fff; }
.yp-canli .yp-stat-label, .yp-canli .yp-stat-value, .yp-canli .yp-title { color: #172033; }
.yp-canli .yp-card { background: var(--soft); border-color: var(--accent); }
.yp-canli .yp-icon { background: var(--accent); }
.yp-canli .yp-desc { color: #334155; }
.yp-canli .yp-card.tema-green { --accent: #15803d; --soft: #bbf7d0; }
.yp-canli .yp-card.tema-blue { --accent: #1d4ed8; --soft: #bfdbfe; }
.yp-canli .yp-card.tema-orange { --accent: #c2410c; --soft: #fed7aa; }
.yp-canli .yp-card.tema-indigo { --accent: #4338ca; --soft: #c7d2fe; }
.yp-canli .yp-card.tema-purple { --accent: #6d28d9; --soft: #ddd6fe; }
.yp-canli .yp-card.tema-amber { --accent: #b45309; --soft: #fde68a; }
.yp-canli .yp-card.tema-violet { --accent: #5b21b6; --soft: #ddd6fe; }
.yp-canli .yp-card.tema-red { --accent: #b91c1c; --soft: #fecaca; }
.yp-canli .yp-card.tema-emerald { --accent: #047857; --soft: #a7f3d0; }
.yp-canli .yp-card.tema-cyan { --accent: #0e7490; --soft: #a5f3fc; }
.yp-canli .yp-card.tema-sky { --accent: #0369a1; --soft: #bae6fd; }
.yp-canli .yp-card.tema-teal { --accent: #0f766e; --soft: #99f6e4; }
.yp-canli .yp-card.tema-fuchsia { --accent: #a21caf; --soft: #f5d0fe; }
.yp-canli .yp-card.tema-pink { --accent: #be185d; --soft: #fbcfe8; }
.yp-canli .yp-card.tema-slate { --accent: #1e3a8a; --soft: #dbeafe; }
