﻿/* =========================================================
   Hasya Payments - Modern arayüz
   Bootstrap 3 ızgarası/form bileşenleri üzerine ince katman.
   ========================================================= */

:root {
    --hy-primary: #0a7fae;     /* logodaki mavi (#0c94c4) tonunda, beyaz yazıyla okunur */
    --hy-primary-600: #086990;
    --hy-primary-50: #e6f4fa;
    --hy-navy: #071d33;
    --hy-navy-2: #0c2a47;
    --hy-accent: #14a37f;
    --hy-accent-600: #0f8a6b;
    --hy-danger: #d9435a;
    --hy-warning: #e6a23c;

    --hy-bg: #f3f6fa;
    --hy-surface: #ffffff;
    --hy-border: #e3e8ef;
    --hy-border-strong: #cfd7e2;
    --hy-text: #1c2b3a;
    --hy-text-muted: #6b7a8c;

    --hy-radius: 12px;
    --hy-radius-sm: 8px;
    --hy-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --hy-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
    --hy-shadow-lg: 0 12px 40px rgba(7, 29, 51, .18);

    --hy-sidebar-w: 260px;
    --hy-topbar-h: 64px;
    --hy-font: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Temel ---------- */
html, body { height: 100%; }
body.hy {
    margin: 0;
    font-family: var(--hy-font);
    font-size: 14px;
    line-height: 1.55;
    color: var(--hy-text);
    background: var(--hy-bg);
    -webkit-font-smoothing: antialiased;
}
body.hy a { color: var(--hy-primary); }
body.hy a:hover, body.hy a:focus { color: var(--hy-primary-600); text-decoration: none; }
body.hy h1, body.hy h2, body.hy h3, body.hy h4 { font-family: var(--hy-font); color: var(--hy-text); }
.bold { font-weight: 600; }
.margin-bottom-10 { margin-bottom: 12px; }
.text-muted { color: var(--hy-text-muted) !important; }

/* ---------- Uygulama iskeleti ---------- */
.hy-app { min-height: 100%; }

.hy-sidebar {
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: var(--hy-sidebar-w);
    background: linear-gradient(180deg, var(--hy-navy) 0%, var(--hy-navy-2) 100%);
    color: #c9d6e4;
    display: flex;
    flex-direction: column;
    z-index: 1030;
    transition: transform .25s ease;
}
.hy-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 76px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
/* Yeni Hasya logosu (yatay); koyu zeminde beyaz sürüm kullanılır. */
.hy-brand-img { display: block; height: 42px; width: auto; flex: none; }
.hy-brand-tag {
    font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
    color: #8ea3ba; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); line-height: 26px;
}

.hy-nav { list-style: none; margin: 0; padding: 18px 12px; overflow-y: auto; flex: 1; }
.hy-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6f86a0;
    padding: 14px 12px 6px;
}
.hy-nav > li > a,
.hy-nav > li > button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 2px;
    border: 0;
    border-radius: var(--hy-radius-sm);
    background: transparent;
    color: #c9d6e4 !important;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: background .15s, color .15s;
}
.hy-nav > li > a:hover,
.hy-nav > li > button:hover { background: rgba(255,255,255,.06); color: #fff !important; }
.hy-nav > li.active > a,
.hy-nav > li.active > button { background: var(--hy-primary); color: #fff !important; box-shadow: 0 6px 16px rgba(10, 127, 174, .35); }
.hy-nav i.hy-ico { width: 20px; text-align: center; font-size: 16px; opacity: .9; }
.hy-nav .hy-caret { margin-left: auto; font-size: 12px; transition: transform .2s; }
.hy-nav li.open .hy-caret { transform: rotate(90deg); }

.hy-subnav { list-style: none; margin: 2px 0 6px; padding: 0 0 0 44px; display: none; }
.hy-nav li.open > .hy-subnav { display: block; }
.hy-subnav li a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    color: #9fb2c7 !important;
    font-size: 13.5px;
    position: relative;
}
.hy-subnav li a:before {
    content: "";
    position: absolute;
    left: -14px; top: 50%;
    width: 6px; height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #3d5674;
}
.hy-subnav li a:hover { color: #fff !important; background: rgba(255,255,255,.05); }
.hy-subnav li.active a { color: #fff !important; }
.hy-subnav li.active a:before { background: var(--hy-accent); }
.hy-subnav .hy-subnav-sep { height: 1px; margin: 6px 10px; background: rgba(255,255,255,.07); }

.hy-sidebar-footer {
    padding: 16px 22px;
    font-size: 12px;
    color: #6f86a0;
    border-top: 1px solid rgba(255,255,255,.07);
}

.hy-main {
    margin-left: var(--hy-sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Üst çubuk ---------- */
.hy-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    height: var(--hy-topbar-h);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--hy-border);
}
.hy-topbar-title { font-size: 15px; font-weight: 600; color: var(--hy-text); }
.hy-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.hy-icon-btn {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: var(--hy-text-muted);
    font-size: 17px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.hy-icon-btn:hover, .hy-icon-btn:focus { background: var(--hy-bg); color: var(--hy-text); outline: none; }
.hy-icon-btn .hy-dot {
    position: absolute;
    top: 0; right: -4px;
    min-width: 10px; height: 16px;
    padding: 0 3px;
    border-radius: 8px;
    background: var(--hy-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border: 2px solid #fff;
    box-sizing: content-box;
    pointer-events: none;
}
.hy-icon-btn > .fa { font-size: 19px; line-height: 1; }
.dropdown.open > .hy-icon-btn { background: var(--hy-primary-50); color: var(--hy-primary); }
.hy-menu-toggle { display: none; }

.hy-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 4px 4px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hy-text);
}
.hy-user:hover, .hy-user:focus { background: var(--hy-bg); outline: none; }
.hy-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hy-primary), var(--hy-accent));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    text-transform: uppercase;
}
.hy-user-name { font-weight: 600; font-size: 13.5px; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-user-role { display: block; font-size: 11.5px; color: var(--hy-text-muted); font-weight: 400; text-align: left; }

/* Açılır menüler (bootstrap dropdown üzerine) */
.hy .dropdown-menu {
    border: 1px solid var(--hy-border);
    border-radius: var(--hy-radius);
    box-shadow: var(--hy-shadow-lg);
    padding: 6px;
    margin-top: 10px;
    min-width: 220px;
}
.hy .dropdown-menu > li > a {
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--hy-text);
}
.hy .dropdown-menu > li > a:hover { background: var(--hy-bg); }
.hy .dropdown-menu > li > a i { width: 18px; color: var(--hy-text-muted); margin-right: 6px; }
.hy .dropdown-menu .divider { margin: 6px 0; background: var(--hy-border); }
.hy-notif-menu { width: 340px; padding: 0 !important; overflow: hidden; }
.hy-notif-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--hy-border); }
.hy-notif-head strong { font-size: 14px; }
.hy-notif-list { max-height: 300px; overflow-y: auto; list-style: none; margin: 0; padding: 6px; }
.hy-notif-list li a { display: flex; gap: 10px; padding: 10px; border-radius: 8px; color: var(--hy-text) !important; }
.hy-notif-list li a:hover { background: var(--hy-bg); }
.hy-notif-list .hy-notif-ico { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--hy-primary-50); color: var(--hy-primary); display: flex; align-items: center; justify-content: center; }
.hy-notif-list .hy-notif-title { font-weight: 500; font-size: 13.5px; line-height: 1.35; }
.hy-notif-list .hy-notif-date { font-size: 12px; color: var(--hy-text-muted); }
.hy-notif-empty { padding: 24px 16px; text-align: center; color: var(--hy-text-muted); }
.hy-notif-foot { display: block; text-align: center; padding: 11px; border-top: 1px solid var(--hy-border); font-weight: 500; }

/* ---------- İçerik ---------- */
.hy-content { flex: 1; padding: 28px; width: 100%; min-width: 0; }

.hy-footer {
    padding: 18px 28px;
    font-size: 12.5px;
    color: var(--hy-text-muted);
    border-top: 1px solid var(--hy-border);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* Sayfa başlığı + breadcrumb (eski .page-bar yapısı da desteklenir) */
.page-bar, .hy-page-head { margin: 0 0 20px; padding: 0; background: none; border: 0; }
.page-bar .breadcrumb, .hy-page-head .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 13px;
}
.page-bar .breadcrumb > li + li:before, .hy-page-head .breadcrumb > li + li:before {
    content: "\f105";
    font-family: FontAwesome;
    color: #a9b5c3;
    padding: 0 8px;
}
.page-bar .breadcrumb > li a, .hy-page-head .breadcrumb > li a { color: var(--hy-text-muted); }
.page-bar .breadcrumb > li a:hover { color: var(--hy-primary); }
.page-bar .breadcrumb > .active, .hy-page-head .breadcrumb > .active { color: var(--hy-text); font-weight: 500; }
.hy-page-title { font-size: 24px; font-weight: 700; margin: 6px 0 0; letter-spacing: -.3px; }
.hy-page-sub { color: var(--hy-text-muted); margin: 4px 0 0; }

/* ---------- Kartlar ---------- */
.hy-card, .portlet {
    background: var(--hy-surface);
    border: 1px solid var(--hy-border);
    border-radius: var(--hy-radius);
    box-shadow: var(--hy-shadow-sm);
    margin-bottom: 24px;
}
.hy-card-head, .portlet > .portlet-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hy-border);
    min-height: 0;
    background: none;
}
.portlet > .portlet-title > .caption, .hy-card-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--hy-text);
    float: none;
    padding: 0;
}
.portlet > .portlet-title > .caption > i, .hy-card-head h3 > i {
    width: 32px; height: 32px;
    margin-right: 10px;
    border-radius: 8px;
    background: var(--hy-primary-50);
    color: var(--hy-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.hy-card-body, .portlet > .portlet-body { padding: 20px; }
.portlet > .portlet-body.table-responsive { padding: 0; border: 0; margin: 0; }
.hy-card-head .hy-count { font-size: 12.5px; color: var(--hy-text-muted); font-weight: 500; }

/* Filtre kartı */
.filter-card { padding: 18px 20px 4px; }
.filter-card label { font-size: 12.5px; font-weight: 600 !important; color: var(--hy-text-muted); text-transform: none; }
.filter-card label strong { font-weight: 600; }
.filter-card [class*="col-"] { margin-bottom: 14px; }
.filter-row > div:has(> .btn) > label, .filter-row > div:has(> .btn) > .clearfix { display: none; }
@media (max-width: 991px) {
    .filter-row > .col-md-8 { display: none; }
    .filter-row > div:has(> .btn) { width: 50%; float: left; }
}
@media (min-width: 992px) {
    .filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; }
    .filter-row:before, .filter-row:after { display: none; }
    .filter-row > [class*="col-"] { float: none; }
    .filter-row > .col-md-8 { display: none; }
    .filter-row > .col-md-8 + .col-md-2 { margin-left: auto; }
}

/* ---------- Formlar ---------- */
.hy .form-control {
    height: 42px;
    padding: 9px 13px;
    border: 1px solid var(--hy-border-strong);
    border-radius: var(--hy-radius-sm);
    box-shadow: none;
    color: var(--hy-text);
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.hy select.form-control { padding-right: 32px; -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%236b7a8c' stroke-width='1.6' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; }
.hy .form-control:focus { border-color: var(--hy-primary); box-shadow: 0 0 0 4px rgba(10, 127, 174, .12); }
.hy .form-control[disabled], .hy .form-control[readonly] { background: #f7f9fc; color: var(--hy-text); cursor: default; }
.hy label { font-weight: 600; font-size: 13px; color: var(--hy-text); margin-bottom: 6px; }

/* ---------- Butonlar ---------- */
.hy .btn {
    height: 42px;
    padding: 0 18px;
    border-radius: var(--hy-radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    box-shadow: none !important;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .15s, border-color .15s, transform .05s;
}
.hy .btn:active { transform: translateY(1px); }
.hy .btn-block { display: flex; width: 100%; }
.hy .btn-primary { background: var(--hy-primary); border-color: var(--hy-primary); color: #fff; }
.hy .btn-primary:hover, .hy .btn-primary:focus { background: var(--hy-primary-600); border-color: var(--hy-primary-600); color: #fff; }
.hy .btn-success, .hy .btn.green { background: var(--hy-accent); border-color: var(--hy-accent); color: #fff; }
.hy .btn-success:hover, .hy .btn-success:focus, .hy .btn.green:hover { background: var(--hy-accent-600); border-color: var(--hy-accent-600); color: #fff; }
.hy .btn-danger { background: #fff; border-color: #f1c4cc; color: var(--hy-danger); }
.hy .btn-danger:hover, .hy .btn-danger:focus { background: #fdf1f3; border-color: var(--hy-danger); color: var(--hy-danger); }
.hy .btn-default, .hy .btn-outline { background: #fff; border-color: var(--hy-border-strong); color: var(--hy-text); }
.hy .btn-default:hover, .hy .btn-outline:hover { background: var(--hy-bg); }
.hy .btn[disabled] { opacity: .55; }
.hy .btn-excel { background: #fff; border-color: #b9e2cf; color: #1d7a4f; }
.hy .btn-excel:hover, .hy .btn-excel:focus { background: #eefaf4; border-color: #1d7a4f; color: #1d7a4f; }

/* ---------- Tablolar ---------- */
.table-responsive { border: 0 !important; margin: 0; }
.hy .table-modern { margin: 0; border: 0; font-size: 13.5px; }
.hy .table-modern > thead > tr > th {
    position: sticky; top: 0;
    background: #f7f9fc;
    color: var(--hy-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    border: 0;
    border-bottom: 1px solid var(--hy-border);
    padding: 12px 16px;
}
.hy .table-modern > tbody > tr > td {
    border: 0;
    border-bottom: 1px solid #eef2f6;
    padding: 12px 16px;
    vertical-align: middle;
}
.hy .table-modern > tbody > tr:hover > td { background: #f7fafd; }
.hy .table-modern > tbody > tr:last-child > td { border-bottom: 0; }
.hy .table-modern > tfoot > tr > td {
    border: 0;
    border-top: 1px solid var(--hy-border);
    background: #f7f9fc;
    padding: 14px 16px;
    font-size: 14px;
}
.hy .table-modern > tfoot strong:before { content: "Toplam  "; white-space: pre; color: var(--hy-text-muted); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.hy .table-modern .text-right, .hy .table-modern td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hy .table-modern td.neg { color: var(--hy-danger); }
.hy-table-empty { padding: 48px 20px; text-align: center; color: var(--hy-text-muted); }
.hy-table-empty i { display: block; font-size: 32px; color: #c3cdd9; margin-bottom: 10px; }

/* ---------- Bilgi listesi (Hesabım) ---------- */
.hy-profile-head { display: flex; align-items: center; gap: 18px; padding: 24px; }
.hy-profile-head .hy-avatar { width: 64px; height: 64px; font-size: 24px; }
.hy-profile-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.hy-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--hy-primary-50); color: var(--hy-primary); font-size: 12px; font-weight: 600; margin-top: 4px; }
.hy-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--hy-border); }
.hy-dl > div { padding: 16px 24px; border-bottom: 1px solid #eef2f6; }
.hy-dl dt { font-size: 12px; font-weight: 600; color: var(--hy-text-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.hy-dl dd { margin: 0; font-size: 15px; font-weight: 500; word-break: break-word; }
.hy-dl dd:empty:before { content: "—"; color: #b4bfcc; }

/* ---------- Anasayfa ---------- */
.hy-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    color: #fff;
    background: linear-gradient(120deg, var(--hy-navy) 0%, var(--hy-primary) 70%, #1a86c9 100%);
    box-shadow: var(--hy-shadow);
}
.hy-hero:after {
    content: "";
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
}
.hy-hero h1 { color: #fff !important; font-size: 26px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.3px; }
.hy-hero p { margin: 0; color: #cfe0f2; font-size: 15px; }
.hy-hero .hy-hero-date { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13px; }

.hy-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-bottom: 24px; }
.hy-tile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: var(--hy-surface);
    border: 1px solid var(--hy-border);
    border-radius: var(--hy-radius);
    box-shadow: var(--hy-shadow-sm);
    color: var(--hy-text) !important;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.hy-tile:hover { transform: translateY(-2px); box-shadow: var(--hy-shadow); border-color: #c9d8ea; }
.hy-tile-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: var(--hy-primary-50);
    color: var(--hy-primary);
}
.hy-tile-ico.green { background: #e7f7f1; color: var(--hy-accent-600); }
.hy-tile-ico.amber { background: #fdf4e4; color: #b7791f; }
.hy-tile-ico.violet { background: #f0edfc; color: #6d4fd1; }
.hy-tile strong { font-size: 15px; display: block; }
.hy-tile span { font-size: 13px; color: var(--hy-text-muted); }
.hy-tile .hy-tile-go { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--hy-primary); }

/* Özet kartları (bakiye, limit...) */
.hy-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin-bottom: 24px; }
.hy-stat {
    display: flex; flex-direction: column; gap: 4px;
    padding: 18px 20px;
    background: var(--hy-surface);
    border: 1px solid var(--hy-border);
    border-radius: var(--hy-radius);
    box-shadow: var(--hy-shadow-sm);
}
.hy-stat-label { font-size: 12.5px; font-weight: 600; color: var(--hy-text-muted); text-transform: uppercase; letter-spacing: .4px; }
.hy-stat-value { font-size: 24px; font-weight: 700; letter-spacing: -.4px; font-variant-numeric: tabular-nums; color: var(--hy-text); }
.hy-stat-sub { font-size: 12.5px; color: var(--hy-text-muted); }
.hy-stat.accent { background: linear-gradient(135deg, #e9f8f2, #fff); border-color: #bfe6d6; }
.hy-stat.accent .hy-stat-value { color: var(--hy-accent-600); }
.hy-stat .hy-meter { height: 6px; border-radius: 3px; background: #eef2f6; overflow: hidden; margin-top: 6px; }
.hy-stat .hy-meter > span { display: block; height: 100%; border-radius: 3px; background: var(--hy-primary); }
.hy-stat .hy-meter > span.warn { background: var(--hy-warning); }
.hy-stat .hy-meter > span.danger { background: var(--hy-danger); }

/* Duyurular */
.hy-announce { list-style: none; margin: 0; padding: 0; }
.hy-announce li { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #eef2f6; }
.hy-announce li:last-child { border-bottom: 0; }
.hy-announce .hy-announce-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fdf4e4; color: #b7791f; display: flex; align-items: center; justify-content: center; }
.hy-announce h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.hy-announce p { margin: 0; color: #4a5a6b; white-space: pre-line; }
.hy-announce .hy-announce-date { font-size: 12px; color: var(--hy-text-muted); margin-top: 6px; }

/* ---------- Ödeme Al ---------- */
.hy-pay { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.hy-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.hy-steps li { position: relative; padding: 0 0 22px 46px; counter-increment: s; color: var(--hy-text-muted); }
.hy-steps li:before {
    content: counter(s);
    position: absolute; left: 0; top: -2px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--hy-primary-50); color: var(--hy-primary);
    font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.hy-steps li:not(:last-child):after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 2px; background: var(--hy-border); }
.hy-steps li strong { display: block; color: var(--hy-text); }
.hy-input-group { position: relative; }
.hy-input-group .hy-prefix, .hy-input-group .hy-suffix { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; color: var(--hy-text-muted); font-weight: 600; pointer-events: none; }
.hy-input-group .hy-prefix { left: 14px; }
.hy-input-group .hy-suffix { right: 14px; }
.hy-input-group .hy-prefix + .form-control { padding-left: 44px; }
.hy-input-group .form-control.has-suffix { padding-right: 40px; }
.hy-hint { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--hy-radius-sm); background: #fff7e8; color: #8a5a12; font-size: 13px; margin-top: 10px; }
.hy-sms-box { margin-top: 18px; padding: 18px; border-radius: var(--hy-radius); background: var(--hy-primary-50); border: 1px dashed #a9c6e6; }
.hy-sms-box .form-control { font-size: 20px; letter-spacing: 6px; text-align: center; height: 50px; font-weight: 600; }
.hy-pay .hy-actions { display: flex; gap: 10px; margin-top: 14px; }
.hy-pay .hy-actions .btn { flex: 1; }
#timeOut { font-variant-numeric: tabular-nums; font-weight: 500; opacity: .85; }

/* ---------- Yükleniyor ---------- */
#dvLoader { background: rgba(7, 29, 51, .55) !important; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
#loader { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 4px solid rgba(255,255,255,.25); border-top-color: #fff; animation: hy-spin .8s linear infinite; }
@keyframes hy-spin { to { transform: rotate(360deg); } }

/* Alertify bildirimleri */
.ajs-message { border-radius: 10px !important; box-shadow: var(--hy-shadow-lg) !important; font-family: var(--hy-font); font-weight: 500; border: 0 !important; }
.ajs-message.ajs-success { background: var(--hy-accent) !important; color: #fff !important; }
.ajs-message.ajs-error { background: var(--hy-danger) !important; color: #fff !important; }

/* ---------- Hızlı tarih düğmeleri ---------- */
.hy-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 14px; }
.hy-chip {
    border: 1px solid var(--hy-border-strong);
    background: #fff;
    color: var(--hy-text-muted);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    transition: background .15s, color .15s, border-color .15s;
}
.hy-chip:hover, .hy-chip:focus { border-color: var(--hy-primary); color: var(--hy-primary); outline: none; }
.hy-chip.active { background: var(--hy-primary); border-color: var(--hy-primary); color: #fff; }

/* ---------- Tablo araçları ---------- */
.hy-table-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hy-search { position: relative; }
.hy-search i { position: absolute; left: 11px; top: 50%; margin-top: -7px; color: #93a3b5; font-size: 13px; }
.hy .hy-search .form-control { height: 36px; width: 220px; padding-left: 32px; font-size: 13px; }
.hy .table-modern > thead > tr > th.hy-sortable { cursor: pointer; user-select: none; }
.hy .table-modern > thead > tr > th.hy-sortable:hover { color: var(--hy-text); }
.hy .table-modern > thead > tr > th.hy-sortable:after { content: "\f0dc"; font-family: FontAwesome; margin-left: 6px; opacity: .3; }
.hy .table-modern > thead > tr > th.asc:after { content: "\f0de"; opacity: .9; color: var(--hy-primary); }
.hy .table-modern > thead > tr > th.desc:after { content: "\f0dd"; opacity: .9; color: var(--hy-primary); }

/* ---------- Pencere (modal) ve makbuz ---------- */
body.hy-modal-open { overflow: hidden; }
.hy-modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1060;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(7, 29, 51, .55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.hy-modal.hidden { display: none !important; }
.hy-modal-box {
    width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto;
    background: #fff; border-radius: 16px; box-shadow: var(--hy-shadow-lg);
    padding: 28px 24px 22px;
}
.hy-modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.hy-modal-actions .btn { flex: 1; }
.hy-receipt-head { text-align: center; padding-bottom: 18px; border-bottom: 1px dashed var(--hy-border-strong); }
.hy-receipt-ok { width: 56px; height: 56px; border-radius: 50%; background: #e7f7f1; color: var(--hy-accent-600); font-size: 24px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.hy-receipt-head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.hy-receipt-amount { font-size: 32px; font-weight: 700; letter-spacing: -.5px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hy-receipt-list { margin: 0; padding: 12px 0; border-bottom: 1px dashed var(--hy-border-strong); }
.hy-receipt-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 13.5px; }
.hy-receipt-list dt { color: var(--hy-text-muted); font-weight: 500; }
.hy-receipt-list dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.hy-receipt-foot { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--hy-text-muted); }

/* ---------- Hata sayfası ---------- */
.hy-error { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.hy-error-box { width: 100%; max-width: 460px; text-align: center; background: #fff; border-radius: 16px; box-shadow: var(--hy-shadow); padding: 36px 28px; }
.hy-error-logo { display: block; height: 52px; width: auto; margin: 0 auto 20px; }
.hy-error-ico { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #fdf4e4; color: #b7791f; font-size: 22px; align-items: center; justify-content: center; margin-bottom: 12px; }
.hy-error h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.hy-error p { color: var(--hy-text-muted); margin: 0; }
.hy-error-actions { display: flex; gap: 10px; justify-content: center; margin: 24px 0 18px; }
.hy-error-meta { font-size: 12.5px; }

/* ---------- Yazdırma ---------- */
@media print {
    @page { margin: 12mm; }
    body.hy { background: #fff; font-size: 11px; }
    .hy-sidebar, .hy-backdrop, .hy-topbar, .hy-footer, .filter-card, .hy-chips, .hy-table-tools .hy-search,
    .hy-table-tools .hy-icon-btn, .hy-tiles, #dvLoader, .ajs-message { display: none !important; }
    .hy-main { margin-left: 0 !important; }
    .hy-content { padding: 0 !important; max-width: none; }
    .hy-card, .portlet, .hy-stat { box-shadow: none !important; border-color: #ccc !important; break-inside: avoid; }
    .hy .table-modern > thead > tr > th { position: static; }
    .hy .table-modern > thead > tr > th.hy-sortable:after { content: none; }
    .table-responsive { overflow: visible !important; }
    a[href]:after { content: none !important; }

    /* Makbuz yazdırılırken yalnızca makbuz */
    body.hy-print-receipt .hy-app { display: none !important; }
    body.hy-print-receipt .hy-modal { position: static; background: none; padding: 0; display: block; }
    body.hy-print-receipt .hy-modal-box { box-shadow: none; max-width: 80mm; margin: 0 auto; padding: 0; }
    body.hy-print-receipt .hy-modal-actions { display: none !important; }
}

/* ---------- Mobil ---------- */
.hy-backdrop { display: none; }
@media (max-width: 991px) {
    .hy-sidebar { transform: translateX(-100%); box-shadow: var(--hy-shadow-lg); }
    .hy-main { margin-left: 0; }
    .hy-menu-toggle { display: inline-flex; }
    body.hy-nav-open .hy-sidebar { transform: none; }
    body.hy-nav-open .hy-backdrop { display: block; position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0; background: rgba(7, 29, 51, .45); z-index: 1025; }
    .hy-content { padding: 18px 16px; }
    .hy-topbar { padding: 0 12px; }
    .hy-user-text { display: none; }
    .hy-pay { grid-template-columns: 1fr; }
    .portlet > .portlet-title { flex-wrap: wrap; }
    .hy-table-tools { width: 100%; }
    .hy-search { flex: 1; }
    .hy .hy-search .form-control { width: 100%; }
    .hy-notif-menu { width: 300px; }
}

/* =========================================================
   Giriş sayfası
   ========================================================= */
.hy-login { display: flex; min-height: 100vh; background: #fff; }
.hy-login-aside {
    position: relative;
    flex: 1 1 52%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px;
    color: #fff;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 10% 110%, rgba(20, 163, 127, .35), transparent 60%),
                radial-gradient(900px 500px at 110% -10%, rgba(12, 148, 196, .55), transparent 60%),
                linear-gradient(160deg, #06192d 0%, #0a2e52 55%, #0b5f8a 100%);
}
.hy-login-aside:before {
    content: "";
    position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hy-login-aside > * { position: relative; }
.hy-login-brand { display: flex; align-items: center; gap: 14px; }
.hy-login-brand .hy-brand-img { height: 52px; }
.hy-login-brand .hy-brand-tag { color: #9fb7d0; font-size: 12px; line-height: 32px; }
.hy-login-aside h1 { color: #fff !important; font-size: 38px; line-height: 1.2; font-weight: 700; letter-spacing: -.6px; margin: 0 0 16px; max-width: 520px; }
.hy-login-aside p.lead { color: #b9cde2; font-size: 16px; max-width: 480px; margin: 0; }
.hy-login-feats { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; max-width: 460px; }
.hy-login-feats li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.hy-login-feats i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.hy-login-feats strong { display: block; font-size: 14px; }
.hy-login-feats span { font-size: 12.5px; color: #9fb7d0; }
.hy-login-aside .hy-login-meta { font-size: 13px; color: #8ea8c3; display: flex; gap: 24px; flex-wrap: wrap; }
.hy-login-aside .hy-login-meta a { color: #cfe0f2; }

.hy-login-main {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
}
.hy-login-box { width: 100%; max-width: 400px; }
.hy-login-box .hy-login-logo { display: block; height: 60px; width: auto; margin: 0 0 28px; }
.hy-login-box h2 { font-size: 28px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.4px; }
.hy-login-box .hy-login-sub { color: var(--hy-text-muted); margin: 0 0 28px; }
.hy-login-box .form-group { margin-bottom: 18px; }
.hy-login-box .form-control { height: 48px; padding-left: 44px; font-size: 15px; }
.hy-login-box .hy-field { position: relative; }
.hy-login-box .hy-field > i { position: absolute; left: 16px; top: 50%; margin-top: -8px; color: #93a3b5; font-size: 16px; }
.hy-login-box .hy-pass-toggle { position: absolute; right: 6px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border: 0; background: none; color: #93a3b5; border-radius: 8px; }
.hy-login-box .hy-pass-toggle:hover { color: var(--hy-text); background: var(--hy-bg); }
.hy-login-box .btn { height: 50px; font-size: 15px; }
.hy-check { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; color: var(--hy-text-muted) !important; cursor: pointer; margin: 0 0 22px; }
.hy-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--hy-primary); }
.hy-login-foot { margin-top: 40px; font-size: 12.5px; color: var(--hy-text-muted); text-align: center; }
.hy-login-mobile-brand { display: none; }

@media (max-width: 991px) {
    .hy-login-aside { display: none; }
    .hy-login-main { background: var(--hy-bg); }
    .hy-login-box { background: #fff; padding: 32px 24px; border-radius: 16px; box-shadow: var(--hy-shadow); }
}
