:root {
    --app-black: #050912;
    --app-black-2: #0a1020;
    --app-navy: #0b1739;
    --app-blue: #1769ff;
    --app-blue-2: #0f49c8;
    --app-cyan: #43a4ff;
    --app-bg: #f4f7fb;
    --app-text: #172033;
    --app-muted: #6b7280;
    --app-border: #dfe6f1;
    --app-radius: 1rem;
    --app-shadow: 0 14px 38px rgba(18, 33, 67, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--app-bg);
    color: var(--app-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { text-underline-offset: 3px; }
img, svg { max-width: 100%; }

/* --------------------------------------------------------------------------
   Ortak navbar ve marka
   -------------------------------------------------------------------------- */
.ustline-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: .07em;
}
.ustline-logo {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--app-blue), #60b2ff);
    color: #fff;
    box-shadow: 0 10px 24px rgba(23, 105, 255, .32);
}
.app-navbar {
    min-height: 70px;
    background: linear-gradient(120deg, #050912, #0d1a3b 68%, #153b91);
    box-shadow: 0 6px 24px rgba(5, 9, 18, .24);
}
.public-navbar {
    min-height: 76px;
    background: rgba(5, 9, 18, .94);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.navbar .nav-link {
    border-radius: .7rem;
    padding: .65rem .8rem !important;
    color: rgba(255,255,255,.78);
    font-weight: 600;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
    background: rgba(255,255,255,.10);
}
.public-nav-cta {
    color: #fff !important;
    padding: .7rem 1rem !important;
    border-radius: .8rem;
}
.app-user-area {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #fff;
}
.app-user-name { font-size: .9rem; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Genel uygulama ekranları
   -------------------------------------------------------------------------- */
.app-main { min-height: calc(100vh - 70px); }
.app-flash-wrap { max-width: 1500px; margin: 0 auto; }
.card { border-radius: var(--app-radius); }
.stat-card {
    border: 0;
    border-radius: 1.15rem;
    box-shadow: 0 8px 28px rgba(18, 33, 67, .08);
}
.stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.3rem;
}
.table-card {
    border: 0;
    border-radius: 1.15rem;
    box-shadow: 0 8px 28px rgba(18, 33, 67, .07);
    overflow: hidden;
}
.table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.table > :not(caption) > * > * {
    padding: .9rem .85rem;
    vertical-align: middle;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: .4rem;
}
.status-bekliyor { background: #f59e0b; }
.status-kabul_edildi { background: #3b82f6; }
.status-teslim_alindi { background: #8b5cf6; }
.status-teslim_edildi { background: #16a34a; }
.status-iptal { background: #dc2626; }
.request-card {
    border: 0;
    border-left: 5px solid #f59e0b;
    border-radius: 1rem;
    box-shadow: 0 8px 26px rgba(18,33,67,.08);
}
.request-card.active-job { border-left-color: #3b82f6; }
.request-card.picked { border-left-color: #8b5cf6; }
.info-line {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin-bottom: .55rem;
    overflow-wrap: anywhere;
}
.info-line i { color: #52617a; margin-top: .1rem; flex: 0 0 auto; }
.section-title { font-weight: 800; letter-spacing: -.02em; }
.empty-state { padding: 3rem 1rem; text-align: center; color: #6b7280; }
.empty-state i { font-size: 3rem; opacity: .4; }
.badge { font-weight: 600; }
.form-control, .form-select {
    border-radius: .8rem;
    border-color: #d7dfeb;
}
.form-control:focus, .form-select:focus {
    border-color: rgba(23, 105, 255, .55);
    box-shadow: 0 0 0 .22rem rgba(23, 105, 255, .12);
}
.btn { border-radius: .75rem; font-weight: 650; }
.btn-lg { border-radius: .9rem; }
.btn-primary {
    --bs-btn-bg: var(--app-blue);
    --bs-btn-border-color: var(--app-blue);
    --bs-btn-hover-bg: var(--app-blue-2);
    --bs-btn-hover-border-color: var(--app-blue-2);
}
.modal-content { border-radius: 1rem; }
.alert { border-radius: .9rem; }

/* Kurye telefon listesi */
.courier-directory-card {
    border: 1px solid #dce5f2;
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff, #f7faff);
    box-shadow: 0 8px 24px rgba(18, 33, 67, .06);
}
.courier-directory-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: .85rem;
}
.courier-contact-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem;
    border: 1px solid #e1e8f3;
    border-radius: .9rem;
    background: #fff;
}
.courier-contact-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #e9f1ff;
    color: var(--app-blue);
    font-size: 1.15rem;
}
.courier-contact-meta { min-width: 0; flex: 1; }
.courier-contact-meta strong,
.courier-contact-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.courier-status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid #dce5f2;
    border-radius: 1rem;
    background: #fff;
    color: #566176;
    box-shadow: 0 8px 24px rgba(18, 33, 67, .05);
}
.courier-status-legend > span { display: inline-flex; align-items: center; gap: .45rem; }
.status-indicator { width: 10px; height: 10px; display: inline-block; border-radius: 50%; }
.status-indicator.is-active { background: #18a467; box-shadow: 0 0 0 4px rgba(24,164,103,.12); }
.status-indicator.is-passive { background: #7b8494; box-shadow: 0 0 0 4px rgba(123,132,148,.12); }
.courier-status-card {
    padding: 1.2rem;
    border: 1px solid #dce5f2;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, #fff, #f7faff);
    box-shadow: 0 10px 28px rgba(18, 33, 67, .07);
}
.courier-status-head { display: flex; align-items: center; gap: .8rem; }
.courier-status-name { min-width: 0; flex: 1; }
.courier-status-name h5 { margin: 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.courier-status-name p { margin: .2rem 0 0; color: #6b7280; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.courier-live-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .65rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}
.courier-live-badge span { width: 8px; height: 8px; border-radius: 50%; }
.courier-live-badge.active { color: #117347; background: #e8f8f0; }
.courier-live-badge.active span { background: #18a467; box-shadow: 0 0 0 3px rgba(24,164,103,.14); }
.courier-live-badge.passive { color: #596273; background: #eef1f5; }
.courier-live-badge.passive span { background: #7b8494; }
.courier-status-details { display: grid; gap: .75rem; margin-top: 1.1rem; }
.courier-status-details > div {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .72rem .8rem;
    border: 1px solid #e4eaf3;
    border-radius: .85rem;
    background: #fff;
}
.courier-status-details .detail-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf4ff;
    color: var(--app-blue);
}
.courier-status-details small,
.courier-status-details strong { display: block; }
.courier-status-details small { color: #7b8494; font-size: .75rem; }
.courier-status-details strong { margin-top: .08rem; font-size: .92rem; }

/* --------------------------------------------------------------------------
   Public ana sayfa
   -------------------------------------------------------------------------- */
.public-body { background: var(--app-black); }
.public-main { min-height: calc(100vh - 76px); background: var(--app-black); }
.public-flash-wrap {
    position: fixed;
    top: 88px;
    left: 50%;
    width: min(920px, calc(100% - 24px));
    transform: translateX(-50%);
    z-index: 1080;
}
.hero-section {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 90px 0 100px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 22%, rgba(23,105,255,.34), transparent 33%),
        radial-gradient(circle at 14% 18%, rgba(49,136,255,.20), transparent 30%),
        linear-gradient(135deg, #050912 0%, #07101f 52%, #0a1d45 100%);
}
.hero-section::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -180px;
    bottom: -230px;
    border-radius: 50%;
    border: 1px solid rgba(67,164,255,.25);
    box-shadow: 0 0 0 80px rgba(23,105,255,.025), 0 0 0 160px rgba(23,105,255,.018);
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image:
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-brand-display {
    display: inline-flex;
    align-items: baseline;
    gap: .3em;
    margin-bottom: 1rem;
    font-size: clamp(3.8rem, 9vw, 7.2rem);
    font-weight: 950;
    line-height: .82;
    letter-spacing: -.075em;
    text-transform: uppercase;
    text-shadow: 0 18px 50px rgba(0,0,0,.34);
}
.hero-brand-ust { color: #fff; }
.hero-brand-line {
    color: #5fb2ff;
    background: linear-gradient(135deg, #78c1ff, #1769ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-cards-anchor { scroll-margin-top: 95px; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.25rem;
    color: #9bc9ff;
    font-weight: 750;
    letter-spacing: .03em;
}
.hero-kicker span {
    width: 30px;
    height: 2px;
    background: var(--app-cyan);
    box-shadow: 0 0 14px rgba(67,164,255,.8);
}
.hero-title {
    max-width: 760px;
    margin-bottom: 1.4rem;
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 750;
}
.hero-title strong { color: #54aaff; font-weight: 900; }
.hero-text {
    max-width: 700px;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.72);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-actions .btn { min-width: 180px; padding: .9rem 1.25rem; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.4rem;
    margin-top: 2rem;
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}
.hero-trust i { color: #55aaff; margin-right: .35rem; }
.hero-visual-card {
    position: relative;
    padding: 1.4rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 1.6rem;
    background: linear-gradient(155deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
    box-shadow: 0 36px 90px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
}
.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: .5rem;
}
.hero-card-label { color: #76b8ff; font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.hero-card-top h3 { margin: .45rem 0 0; font-size: 1.45rem; }
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .65rem;
    border-radius: 999px;
    background: rgba(19,199,119,.12);
    color: #63e8ad;
    font-size: .75rem;
    font-weight: 850;
}
.live-pill span { width: 8px; height: 8px; border-radius: 50%; background: #35dc94; box-shadow: 0 0 10px #35dc94; }
.route-preview {
    display: flex;
    align-items: center;
    margin: 2rem .5rem;
}
.route-point {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    font-size: 1.6rem;
}
.route-point.blue { background: linear-gradient(145deg, #1769ff, #5caeff); box-shadow: 0 15px 34px rgba(23,105,255,.32); }
.route-point.dark { background: #060a12; border: 1px solid rgba(255,255,255,.13); }
.route-line { position: relative; height: 2px; flex: 1; margin: 0 .8rem; background: rgba(255,255,255,.14); overflow: hidden; }
.route-line span { position: absolute; inset: 0; width: 42%; background: linear-gradient(90deg, transparent, #53aaff, transparent); animation: routeMove 2.2s linear infinite; }
@keyframes routeMove { from { transform: translateX(-110%); } to { transform: translateX(350%); } }
.hero-mini-cards { display: grid; gap: .7rem; }
.hero-mini-cards > div {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 1rem;
    background: rgba(3,7,15,.42);
    color: rgba(255,255,255,.76);
}
.hero-mini-cards i { color: #57adff; font-size: 1.15rem; }
.public-section { padding: 100px 0; }
.services-section { background: #f5f8fd; }
.section-heading { max-width: 720px; margin: 0 auto 3.1rem; }
.section-heading h2 { margin: .65rem 0 .8rem; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 850; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: #6c7688; font-size: 1.05rem; line-height: 1.7; }
.section-eyebrow { color: var(--app-blue); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.service-card {
    padding: 2rem;
    border: 1px solid #e1e8f2;
    border-radius: 1.3rem;
    background: #fff;
    box-shadow: 0 16px 45px rgba(19,36,72,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: #a9c9ff; box-shadow: 0 25px 55px rgba(19,36,72,.11); }
.service-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 1.35rem;
    border-radius: 19px;
    background: #eaf2ff;
    color: var(--app-blue);
    font-size: 1.55rem;
}
.service-card h3 { font-size: 1.25rem; font-weight: 800; }
.service-card p { margin: .7rem 0 0; color: #6b7280; line-height: 1.7; }
.login-section {
    color: #fff;
    background:
        radial-gradient(circle at 15% 80%, rgba(23,105,255,.22), transparent 28%),
        linear-gradient(135deg, #050912, #091327);
}
.light-heading h2 { color: #fff; }
.light-heading p { color: rgba(255,255,255,.62); }
.public-login-card {
    color: var(--app-text);
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.12);
}
.login-card {
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}
.login-icon, .page-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}
.login-card h3 { font-weight: 850; }
.login-card > p { color: #667085; }
.login-divider {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.25rem 0;
    color: #8a94a5;
    font-size: .82rem;
}
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: #e2e7ef; }
.contact-section { background: #eef3fa; }
.contact-card, .bank-card {
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: 1.5rem;
    box-shadow: 0 20px 55px rgba(18,33,67,.10);
}
.contact-card { background: #fff; }
.contact-card h2, .bank-card h2 { margin: .65rem 0 1rem; font-weight: 850; letter-spacing: -.03em; }
.contact-card > p { color: #6b7280; line-height: 1.7; }
.contact-person { display: flex; align-items: center; gap: .85rem; margin: 1.8rem 0 1.2rem; }
.contact-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #e8f1ff;
    color: var(--app-blue);
    font-size: 1.35rem;
}
.contact-person small, .contact-person strong { display: block; }
.contact-person small { color: #7b8494; }
.contact-person strong { font-size: 1.1rem; }
.contact-call { width: 100%; }
.bank-card {
    color: #fff;
    background: linear-gradient(145deg, #050912, #0d1d40 62%, #12499f);
    position: relative;
    overflow: hidden;
}
.bank-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -130px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.02);
}
.bank-card .section-eyebrow { color: #75b9ff; }
.bank-card-head { display: flex; justify-content: space-between; gap: 1rem; position: relative; z-index: 1; }
.bank-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.10); font-size: 1.45rem; }
.iban-box {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 1rem;
    background: rgba(255,255,255,.07);
}
.iban-box small { grid-column: 1; color: rgba(255,255,255,.54); }
.iban-box strong { grid-column: 1; font-size: clamp(1rem, 3vw, 1.35rem); letter-spacing: .04em; overflow-wrap: anywhere; }
.copy-button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .9rem;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: .75rem;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-weight: 700;
}
.copy-button.copied { background: #177b51; }
.account-holder { position: relative; z-index: 1; margin-top: 1.2rem; }
.account-holder small, .account-holder strong { display: block; }
.account-holder small { color: rgba(255,255,255,.55); }
.account-holder strong { margin-top: .2rem; font-size: 1.15rem; }
.bank-note { position: relative; z-index: 1; margin: 1.5rem 0 0; color: rgba(255,255,255,.65); font-size: .9rem; }
.application-success {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.2rem;
    border: 1px solid #9bdfbe;
    border-radius: 1rem;
    background: #eafaf2;
    color: #14633e;
}
.application-success i { font-size: 1.5rem; }
.application-success strong, .application-success span { display: block; }
.public-footer { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); background: #050912; color: rgba(255,255,255,.54); }
.public-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: #fff; letter-spacing: .06em; }
.footer-brand .ustline-logo { width: 34px; height: 34px; border-radius: 10px; }

/* --------------------------------------------------------------------------
   Public kurye başvuru sayfası
   -------------------------------------------------------------------------- */
.public-form-main {
    min-height: calc(100vh - 76px);
    background:
        radial-gradient(circle at 10% 10%, rgba(23,105,255,.24), transparent 30%),
        linear-gradient(135deg, #050912, #09162e);
}
.application-page { padding: 70px 0; }
.application-info {
    padding: clamp(1.5rem, 4vw, 2.4rem);
    color: #fff;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 1.5rem;
    background: rgba(255,255,255,.045);
    box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.application-info .section-eyebrow { color: #72b6ff; }
.application-info h1 { margin: .7rem 0 1.1rem; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.03; letter-spacing: -.045em; }
.application-info > p { color: rgba(255,255,255,.67); line-height: 1.75; }
.application-steps { display: grid; gap: 1rem; margin-top: 2rem; }
.application-steps > div { display: flex; gap: .85rem; align-items: flex-start; }
.application-steps > div > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 11px; background: #1769ff; font-weight: 850; }
.application-steps p { margin: 0; color: rgba(255,255,255,.62); }
.application-steps strong { display: block; margin-bottom: .15rem; color: #fff; }
.application-contact { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.10); }
.application-contact small { display: block; color: rgba(255,255,255,.48); margin-bottom: .35rem; }
.application-contact a { color: #8ac5ff; font-weight: 750; text-decoration: none; }
.application-form-card {
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.form-card-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.7rem; }
.form-card-heading .login-icon { margin: 0; flex: 0 0 64px; }
.form-card-heading h2 { margin: 0; font-weight: 850; letter-spacing: -.025em; }
.form-card-heading p { margin: .25rem 0 0; color: #6b7280; }
.application-warning { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.4rem; padding: .9rem 1rem; border-radius: .9rem; background: #f0f5ff; color: #38517e; }
.application-warning i { color: var(--app-blue); font-size: 1.15rem; }
.application-form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Mobil uyumluluk
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: .8rem;
        padding: .8rem;
        border-radius: 1rem;
        background: rgba(3,7,15,.94);
        border: 1px solid rgba(255,255,255,.08);
    }
    .app-user-area { align-items: stretch; flex-wrap: wrap; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.09); }
    .app-user-name { width: 100%; padding: .35rem 0; }
    .hero-section { min-height: auto; padding: 75px 0 80px; }
    .hero-visual-card { max-width: 650px; margin: 0 auto; }
    .public-section { padding: 75px 0; }
}

@media (max-width: 767.98px) {
    .app-main { padding: 1rem !important; }
    .section-title { font-size: 1.65rem; }
    .login-card { padding: 1.35rem; }
    .table-responsive .table { min-width: 760px; }
    .mobile-sticky { position: sticky; bottom: .75rem; z-index: 20; width: 100%; }
    .modal-dialog { margin: .5rem; }
    .modal-content { max-height: calc(100dvh - 1rem); }
    .modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .hero-brand-display { font-size: clamp(3.1rem, 20vw, 5.2rem); flex-wrap: wrap; line-height: .84; }
    .hero-title { font-size: clamp(2.65rem, 13vw, 4rem); }
    .hero-text { line-height: 1.65; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { display: grid; grid-template-columns: 1fr; }
    .hero-visual-card { padding: 1rem; border-radius: 1.2rem; }
    .route-point { width: 54px; height: 54px; flex-basis: 54px; border-radius: 17px; }
    .public-section { padding: 60px 0; }
    .section-heading { margin-bottom: 2rem; }
    .section-heading h2 { font-size: 2rem; }
    .service-card { padding: 1.4rem; }
    .iban-box { grid-template-columns: 1fr; }
    .iban-box small, .iban-box strong, .copy-button { grid-column: 1; grid-row: auto; }
    .copy-button { justify-content: center; margin-top: .4rem; }
    .public-footer .container { flex-direction: column; text-align: center; }
    .application-page { padding: 35px 0 55px; }
    .application-info, .application-form-card { border-radius: 1.15rem; }
    .form-card-heading { align-items: flex-start; }
    .form-card-heading .login-icon { width: 54px; height: 54px; flex-basis: 54px; border-radius: 16px; }
    .application-form-actions { flex-direction: column-reverse; }
    .application-form-actions .btn { width: 100%; }
    .courier-directory-list { grid-template-columns: 1fr; }
    .courier-contact-item { align-items: center; }
    .courier-contact-item .btn { min-width: 72px; }
    .courier-status-head { align-items: flex-start; flex-wrap: wrap; }
    .courier-live-badge { margin-left: 52px; }
    .courier-status-legend { display: grid; gap: .7rem; }
}

@media (max-width: 420px) {
    .ustline-brand { font-size: 1rem; }
    .ustline-logo { width: 34px; height: 34px; }
    .hero-section { padding-top: 55px; }
    .hero-card-top { flex-direction: column; }
    .contact-card, .bank-card { padding: 1.25rem; }
    .application-info h1 { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   V8 CANLI BİLDİRİM VE YÖNETİCİ UYARI DURUMLARI
   -------------------------------------------------------------------------- */
.manager-courier-link {
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
    border-radius: 10px;
}

.app-navbar .nav-link.nav-alert-link,
.app-navbar .nav-link.nav-alert-link:hover,
.app-navbar .nav-link.nav-alert-link:focus {
    color: #ffffff !important;
    background: #dc3545 !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 18px rgba(220,53,69,.58);
    animation: ustlinePendingPulse 1.35s ease-in-out infinite;
}

.app-navbar .nav-alert-link .badge {
    min-width: 1.45rem;
    line-height: 1.05;
    box-shadow: 0 2px 7px rgba(0,0,0,.22);
}

.notification-sound-button {
    min-width: 38px;
}

.live-update-flash {
    animation: ustlineLiveFlash .85s ease;
}

@keyframes ustlinePendingPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 12px rgba(220,53,69,.38); }
    50% { transform: translateY(-1px); box-shadow: 0 0 0 2px rgba(255,255,255,.55), 0 0 24px rgba(220,53,69,.78); }
}

@keyframes ustlineLiveFlash {
    0% { background-color: rgba(13,110,253,.18); }
    100% { background-color: transparent; }
}

@media (max-width: 991.98px) {
    .app-navbar .nav-link.nav-alert-link {
        padding-left: .85rem;
        padding-right: .85rem;
        margin-top: .25rem;
        margin-bottom: .25rem;
    }

    .notification-sound-button {
        width: 100%;
        text-align: left;
    }
}
