﻿@charset "UTF-8";

:root {
    --app-blue: #0076ff;
    --app-coral: #ff7276;
    --app-navy: #00194a;
    --app-ink: #2a2a2a;
    --app-logo-navy: #1e2d5c;
    --app-gold: #a08f6c;
    --app-bg: #f6f8fc;
    --app-border: #d8dfeb;
    --app-text: #172033;
    --app-muted: #667085;
    --app-shadow: 0 8px 24px rgba(0, 25, 74, .06);
    --app-shell-width: 1440px;
}

html {
    min-height: 100%;
}

body:not(.login-shell) {
    min-height: 100vh;
    color: var(--app-text);
    background: var(--app-bg);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

body.excel-download-locked {
    overflow: hidden;
}

.excel-download-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(246, 248, 252, .74);
    backdrop-filter: blur(3px);
}

body.excel-download-locked .excel-download-overlay {
    display: flex;
}

body.excel-download-locked #layout-wrapper {
    pointer-events: none;
    user-select: none;
    filter: grayscale(.15) opacity(.38);
}

.excel-download-dialog {
    width: min(92vw, 360px);
    padding: 24px 22px;
    border: 1px solid rgba(0, 25, 74, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 25, 74, .18);
    text-align: center;
}

.excel-download-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border: 4px solid #dbe7f7;
    border-top-color: var(--app-blue);
    border-radius: 50%;
    animation: excel-download-spin .8s linear infinite;
}

.excel-download-title {
    margin: 0 0 5px;
    color: var(--app-navy);
    font-size: 1.04rem;
    font-weight: 800;
}

.excel-download-text {
    margin: 0;
    color: var(--app-muted);
    font-size: .92rem;
}

@keyframes excel-download-spin {
    to {
        transform: rotate(360deg);
    }
}

body:not(.login-shell) #layout-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(0, 118, 255, .06), transparent 30rem),
        var(--app-bg);
}

body:not(.login-shell) #page-topbar {
    height: auto !important;
    min-height: 74px;
    background:
        linear-gradient(115deg, rgba(0, 25, 74, .98), rgba(30, 45, 92, .94) 48%, rgba(0, 118, 255, .78)),
        url("/Style/images/top-bg.jpg") center / cover no-repeat !important;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 8px 22px rgba(0, 25, 74, .14);
}

body:not(.login-shell) #page-topbar .navbar-header {
    width: min(100%, var(--app-shell-width));
    min-height: 74px;
    margin-inline: auto;
    padding: 0 1.5rem;
}

body:not(.login-shell) #page-topbar .navbar-brand-box {
    width: auto !important;
    min-width: 0;
    padding: 0;
    background: transparent;
    display: flex !important;
    align-items: center;
}

body:not(.login-shell) #page-topbar .logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 74px;
    color: #fff;
}

body:not(.login-shell) #page-topbar .logo.logo-dark {
    display: none !important;
}

body:not(.login-shell) #page-topbar .logo.logo-light {
    display: inline-flex !important;
}

body:not(.login-shell) #page-topbar .logo img {
    width: auto;
    height: 38px !important;
    max-width: min(235px, 42vw);
    object-fit: contain;
    filter: brightness(0) invert(1);
}

body:not(.login-shell) #page-topbar .logo::after {
    content: "Burs Başvuru\A ve Yönetim Sistemi";
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, .82);
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.08;
    white-space: pre-line;
    letter-spacing: 0;
}

body:not(.login-shell) #page-topbar .header-item,
body:not(.login-shell) #page-topbar .btn.header-item {
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
}

body:not(.login-shell) #page-topbar .header-item:hover,
body:not(.login-shell) #page-topbar .header-item:focus {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

body:not(.login-shell) #page-topbar .mdi-chevron-down {
    color: rgba(255, 255, 255, .9);
}

body:not(.login-shell) #page-topbar .dropdown-menu {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    box-shadow: var(--app-shadow);
}

body:not(.login-shell) .main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 74px);
    background: transparent;
}

body:not(.login-shell) .page-content {
    flex: 1 0 auto;
    padding: 1.5rem 0 2.25rem;
}

body:not(.login-shell) .page-content > .container-fluid {
    width: min(100%, var(--app-shell-width));
    margin-inline: auto;
    padding-inline: 1.5rem;
}

body:not(.login-shell) .card {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--app-shadow);
}

body:not(.login-shell) .card-body {
    padding: 1.15rem;
}

body:not(.login-shell) .card-body,
body:not(.login-shell) .card-body > *,
body:not(.login-shell) .card-body .row,
body:not(.login-shell) .card-body [class*="col-"] {
    min-width: 0;
}

body:not(.login-shell) .card-body h1,
body:not(.login-shell) .card-body h2,
body:not(.login-shell) .card-body h3,
body:not(.login-shell) .card-body h4,
body:not(.login-shell) .card-body h5,
body:not(.login-shell) .card-body h6,
body:not(.login-shell) .card-body p,
body:not(.login-shell) .card-body label,
body:not(.login-shell) .card-body a {
    overflow-wrap: anywhere;
}

body:not(.login-shell) .card-body > .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -.15rem 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e7ecf4;
}

body:not(.login-shell) .card-body > .navbar-header h5 {
    margin: 0;
    color: var(--app-navy);
    font-weight: 800;
    letter-spacing: 0;
}

body:not(.login-shell) .card-body > .navbar-header .d-flex:last-child {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

body:not(.login-shell) .app-section-menu-toggle {
    display: none;
}

body:not(.login-shell) .card-body > .navbar-header .btn {
    margin-right: 0 !important;
}

body:not(.login-shell) #page-topbar .navbar-header > .d-flex:last-child {
    margin-left: auto;
}

body:not(.login-shell) .app-user-menu-icon {
    display: none;
    font-size: 1.45rem;
    line-height: 1;
}

body:not(.login-shell) .btn {
    border-radius: 7px;
    font-weight: 700;
    box-shadow: none !important;
}

body:not(.login-shell) .btn-primary {
    background: var(--app-navy);
    border-color: var(--app-navy);
}

body:not(.login-shell) .btn-primary:hover,
body:not(.login-shell) .btn-primary:focus {
    background: var(--app-blue);
    border-color: var(--app-blue);
}

body:not(.login-shell) .btn-outline-primary,
body:not(.login-shell) .btn-outline-secondary {
    color: var(--app-navy);
    border-color: #b9c5d8;
    background: #fff;
}

body:not(.login-shell) .btn-outline-primary:hover,
body:not(.login-shell) .btn-outline-primary:focus,
body:not(.login-shell) .btn-outline-secondary:hover,
body:not(.login-shell) .btn-outline-secondary:focus {
    color: #fff;
    border-color: var(--app-blue);
    background: var(--app-blue);
}

body:not(.login-shell) .btn-success {
    background: #137a4c;
    border-color: #137a4c;
}

body:not(.login-shell) .form-control,
body:not(.login-shell) .form-select,
body:not(.login-shell) select,
body:not(.login-shell) textarea {
    min-height: 2.45rem;
    border-color: #cfd8e6;
    border-radius: 7px;
    color: var(--app-text);
}

body:not(.login-shell) .form-control:focus,
body:not(.login-shell) .form-select:focus,
body:not(.login-shell) select:focus,
body:not(.login-shell) textarea:focus {
    border-color: rgba(0, 118, 255, .55);
    box-shadow: 0 0 0 .18rem rgba(0, 118, 255, .13);
}

body:not(.login-shell) label.form-control,
body:not(.login-shell) .form-control-plaintext {
    height: auto !important;
    min-height: 2.45rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

body:not(.login-shell) input,
body:not(.login-shell) select,
body:not(.login-shell) textarea,
body:not(.login-shell) iframe,
body:not(.login-shell) object,
body:not(.login-shell) embed,
body:not(.login-shell) video,
body:not(.login-shell) canvas,
body:not(.login-shell) img {
    max-width: 100%;
}

body:not(.login-shell) .select2-container {
    width: 100% !important;
}

body:not(.login-shell) .select2-container--default .select2-selection--single {
    min-height: 2.45rem;
    border-color: #cfd8e6;
    border-radius: 7px;
}

body:not(.login-shell) .select2-container--default .select2-selection--single .select2-selection__rendered {
    min-height: 2.45rem;
    padding: .45rem 2.1rem .45rem .75rem;
    color: var(--app-text);
    line-height: 1.45;
}

body:not(.login-shell) .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: .45rem;
    transform: translateY(-50%);
}

body:not(.login-shell) .select2-container--default.select2-container--focus .select2-selection--single,
body:not(.login-shell) .select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(0, 118, 255, .55);
    box-shadow: 0 0 0 .18rem rgba(0, 118, 255, .13);
}

body:not(.login-shell) .select2-dropdown {
    min-width: 0 !important;
    border-color: #cfd8e6;
    border-radius: 7px;
    box-shadow: var(--app-shadow);
    overflow: hidden;
}

body:not(.login-shell) .select2-search--dropdown {
    padding: .55rem;
}

body:not(.login-shell) .select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 2.25rem;
    border-color: #cfd8e6;
    border-radius: 7px;
    padding: .35rem .55rem;
}

body:not(.login-shell) .select2-results > .select2-results__options {
    max-height: 15rem;
    overflow-y: auto;
}

body:not(.login-shell) .select2-results__option {
    padding: .48rem .7rem;
    white-space: normal;
}

body:not(.login-shell) .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--app-blue);
}

body:not(.login-shell) label,
body:not(.login-shell) .form-label {
    color: var(--app-navy);
    font-weight: 700;
}

body:not(.login-shell) .table {
    margin-bottom: 0;
    color: var(--app-text);
    font-size: .9rem;
}

body:not(.login-shell) .table thead th,
body:not(.login-shell) table.dataTable thead th {
    color: var(--app-muted);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    background: #f2f6fc;
    border-bottom-color: #e7ecf4;
}

body:not(.login-shell) .table > :not(caption) > * > *,
body:not(.login-shell) td,
body:not(.login-shell) th {
    padding: .62rem .7rem !important;
    vertical-align: middle;
    border-color: #e7ecf4;
}

body:not(.login-shell) tbody tr:hover {
    background: #f9fbfe;
}

body:not(.login-shell) .table-responsive,
body:not(.login-shell) .dataTables_wrapper {
    width: 100%;
}

body:not(.login-shell) .app-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 7px;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #a9b8ce #edf2f8;
    scrollbar-width: thin;
}

body:not(.login-shell) .app-table-scroll:focus-visible {
    outline: 3px solid rgba(0, 118, 255, .24);
    outline-offset: 2px;
}

body:not(.login-shell) .app-table-scroll > table {
    margin-bottom: 0 !important;
}

body:not(.login-shell) .dataTables_wrapper > .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

body:not(.login-shell) .dataTables_wrapper > .row > [class*="col-"] {
    min-width: 0;
    padding-right: .35rem;
    padding-left: .35rem;
}

body:not(.login-shell) .dataTables_wrapper .row {
    align-items: center;
    gap: .65rem 0;
}

body:not(.login-shell) .reservation-requests-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

body:not(.login-shell) .reservation-requests-table-wrap .dataTables_wrapper {
    min-width: 1280px;
}

body:not(.login-shell) .reservation-requests-table {
    width: 100% !important;
    min-width: 1280px;
    table-layout: auto;
    font-size: .82rem;
}

body:not(.login-shell) .reservation-requests-table th,
body:not(.login-shell) .reservation-requests-table td {
    padding: .5rem .45rem !important;
    white-space: normal;
}

body:not(.login-shell) .reservation-requests-table .btn {
    padding: .28rem .55rem;
    font-size: .78rem;
    white-space: nowrap;
}

body:not(.login-shell) .dataTables_filter input,
body:not(.login-shell) .dataTables_length select {
    min-height: 2.25rem;
    border: 1px solid #cfd8e6;
    border-radius: 7px;
    padding: .35rem .6rem;
}

body:not(.login-shell) .badge,
body:not(.login-shell) .btn-rounded {
    border-radius: 999px !important;
}

body:not(.login-shell) .alert {
    border-radius: 8px;
    border-color: var(--app-border);
}

body:not(.login-shell) .footer {
    position: static;
    flex-shrink: 0;
    height: auto;
    min-height: 70px;
    margin-top: auto;
    padding: 0;
    color: var(--app-muted);
    background: #fff;
    border-top: 1px solid var(--app-border);
}

body:not(.login-shell) .footer .container-fluid {
    width: min(100%, var(--app-shell-width));
    min-height: 70px;
    margin-inline: auto;
    padding: 14px 22px;
}

body:not(.login-shell) .footer .app-footer-row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    min-height: 42px;
    width: 100%;
}

body:not(.login-shell) .footer .app-footer-row > * {
    width: auto;
    max-width: none;
    padding: 0;
}

body:not(.login-shell) .footer .app-footer-brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 12px;
    min-width: 0;
}

body:not(.login-shell) .footer .app-footer-logo-link {
    display: block;
    flex: 0 0 42px;
}

body:not(.login-shell) .footer .app-footer-brand a {
    color: inherit;
    text-decoration: none;
}

body:not(.login-shell) .footer .app-footer-logo {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}

body:not(.login-shell) .footer .app-footer-brand strong {
    display: block;
    color: var(--app-navy);
    font-weight: 700;
    line-height: 1.25;
}

body:not(.login-shell) .footer .app-footer-brand a:hover,
body:not(.login-shell) .footer .app-footer-brand a:focus {
    opacity: .86;
}

body:not(.login-shell) .footer .app-footer-meta {
    align-items: center;
    align-self: center;
    display: flex;
    flex: 0 0 auto;
    color: var(--app-muted);
    font-size: .84rem;
    font-weight: 600;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

body:not(.login-shell) .footer .app-footer-meta span {
    display: block;
}

body:not(.login-shell) .schedule-shell,
body:not(.login-shell) .report-shell,
body:not(.login-shell) .settings-shell {
    border-color: var(--app-border) !important;
    border-radius: 8px !important;
    box-shadow: var(--app-shadow);
}

body:not(.login-shell) .schedule-toolbar,
body:not(.login-shell) .schedule-filterbar {
    background: #fff !important;
}

body:not(.login-shell) .schedule-title h5,
body:not(.login-shell) .report-title h5 {
    color: var(--app-navy) !important;
}

body:not(.login-shell) .timeline-header,
body:not(.login-shell) .timeline-corner {
    background: #f2f6fc !important;
}

body:not(.login-shell) .timeline-cell {
    background: #fbfefc !important;
}

body:not(.login-shell) .timeline-cell:nth-child(2n+1) {
    background: #f4fbf7 !important;
}

body:not(.login-shell) .reservation-block.approved {
    background: var(--app-blue) !important;
}

body:not(.login-shell) .reservation-block.pending {
    background: #f59e0b !important;
}

body:not(.login-shell) .reservation-block.rejected {
    background: var(--app-coral) !important;
}

body:not(.login-shell) .reservation-block.cancelled {
    background: #667085 !important;
}

body:not(.login-shell) .footer .row:not(.app-footer-row) {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
}

body:not(.login-shell) .footer .row:not(.app-footer-row) .col-sm-6 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
    color: var(--app-muted);
    font-size: .84rem;
    font-weight: 600;
}

body:not(.login-shell) .footer .row:not(.app-footer-row) .col-sm-6:first-child {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--app-muted);
}

body:not(.login-shell) .footer .row:not(.app-footer-row) .col-sm-6:first-child::before {
    content: "";
    display: block;
    width: 42px;
    height: 42px;
    background: url("/Style/images/Logolar/ytu-web-logo-renkli.png") center / contain no-repeat;
}

.login-shell {
    min-height: 100vh;
    margin: 0;
    color: var(--app-ink);
    background:
        linear-gradient(135deg, rgba(0, 25, 74, .94), rgba(0, 118, 255, .78)),
        url("/Style/images/bg.jpg") center / cover no-repeat fixed;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
    align-items: stretch;
}

.login-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 64px;
    color: #fff;
    overflow: hidden;
}

.login-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(0, 25, 74, 0), rgba(0, 25, 74, .58));
    pointer-events: none;
}

.brand-lockup,
.hero-copy {
    position: relative;
    z-index: 1;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-lockup img {
    width: min(340px, 72vw);
    height: auto;
    display: block;
    opacity: .98;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .32));
}

.hero-copy {
    max-width: 760px;
    padding-bottom: 24px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .86);
    font-size: .95rem;
    font-weight: 600;
}

.hero-kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--app-coral);
}

.hero-title {
    max-width: 580px;
    margin: 0;
    color: #fff;
    font-size: 2.85rem;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-text {
    max-width: 640px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.05rem;
    line-height: 1.7;
}

.quick-links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.quick-link:hover,
.quick-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .48);
    transform: translateY(-1px);
    text-decoration: none;
}

.welcome-announcements {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    margin: clamp(28px, 5vh, 56px) 0 clamp(24px, 4vh, 42px);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(0, 25, 74, .36);
    box-shadow: 0 22px 58px rgba(0, 25, 74, .24);
    backdrop-filter: blur(16px);
    overflow: visible;
}

.welcome-announcements-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.welcome-announcements-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 8px;
    color: #00194a;
    background: #fff;
}

.welcome-announcements-eyebrow {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.welcome-announcements h2 {
    margin: 1px 0 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.welcome-announcements-list {
    position: relative;
}

.welcome-announcements-list.owl-carousel {
    display: block;
}

.welcome-announcements-list .owl-stage {
    display: flex;
}

.welcome-announcements-list .owl-item {
    display: flex;
}

.welcome-announcements-list .owl-stage-outer {
    border-radius: 8px;
}

.welcome-announcement-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 176px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08)),
        linear-gradient(135deg, rgba(0, 118, 255, .2), rgba(255, 94, 98, .12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 34px rgba(0, 0, 0, .16);
    overflow: hidden;
}

.welcome-announcement-item + .welcome-announcement-item {
    margin-top: 12px;
}

.welcome-announcement-item h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.03rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}

.welcome-announcement-content {
    color: rgba(255, 255, 255, .85);
    font-size: .92rem;
    line-height: 1.58;
    max-height: 112px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-color: rgba(255, 255, 255, .45) rgba(255, 255, 255, .08);
}

.welcome-announcement-content::-webkit-scrollbar {
    width: 6px;
}

.welcome-announcement-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.welcome-announcement-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .42);
    border-radius: 999px;
}

.welcome-announcement-content p,
.welcome-announcement-content ul,
.welcome-announcement-content ol {
    margin: 0 0 8px;
}

.welcome-announcement-content p:last-child,
.welcome-announcement-content ul:last-child,
.welcome-announcement-content ol:last-child {
    margin-bottom: 0;
}

.welcome-announcement-content a {
    color: #ffd166;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.welcome-announcement-content strong {
    color: #fff;
}

.welcome-announcements .owl-nav {
    position: absolute;
    top: -52px;
    right: 0;
    display: flex;
    gap: 8px;
    margin: 0;
}

.welcome-announcements .owl-theme .owl-nav [class*="owl-"],
.welcome-announcements .owl-nav button.owl-prev,
.welcome-announcements .owl-nav button.owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .24) !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .12) !important;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.welcome-announcements .owl-nav button:hover,
.welcome-announcements .owl-nav button:focus {
    background: rgba(255, 255, 255, .2) !important;
    border-color: rgba(255, 255, 255, .42) !important;
    transform: translateY(-1px);
}

.welcome-announcements .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
}

.welcome-announcements .owl-theme .owl-dots .owl-dot span,
.welcome-announcements .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
    transition: width 160ms ease, background-color 160ms ease;
}

.welcome-announcements .owl-theme .owl-dots .owl-dot.active span,
.welcome-announcements .owl-theme .owl-dots .owl-dot:hover span,
.welcome-announcements .owl-dots .owl-dot.active span,
.welcome-announcements .owl-dots .owl-dot:hover span {
    width: 22px;
    background: #fff;
}

.login-panel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
    background: #f6f8fc;
}

.login-panel {
    width: min(100%, 460px);
    border: 1px solid rgba(0, 25, 74, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 25, 74, .2);
}

.login-panel-header {
    padding: 34px 34px 20px;
    border-bottom: 1px solid rgba(0, 25, 74, .12);
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--app-blue);
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.login-badge i {
    color: var(--app-coral);
    font-size: 1rem;
}

.login-panel h1 {
    margin: 0;
    color: var(--app-navy);
    font-size: 1.85rem;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.login-panel p {
    margin: 12px 0 0;
    color: var(--app-muted);
    line-height: 1.6;
}

.login-form {
    padding: 28px 34px 34px;
}

.login-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 114, 118, .32);
    border-radius: 8px;
    color: #9f3034;
    background: rgba(255, 114, 118, .12);
    font-weight: 700;
}

.login-shell .form-label {
    color: var(--app-navy);
    font-weight: 800;
}

.login-control {
    min-height: 48px;
    border: 1px solid rgba(0, 25, 74, .12);
    border-radius: 8px;
    color: var(--app-ink);
    background: #fbfcff;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.login-control:focus {
    border-color: rgba(0, 118, 255, .72);
    box-shadow: 0 0 0 4px rgba(0, 118, 255, .12);
    background: #fff;
}

.auth-pass-inputgroup .login-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.password-toggle {
    min-width: 50px;
    border: 1px solid rgba(0, 25, 74, .12);
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: var(--app-navy);
    background: #f2f6ff;
}

.password-toggle:hover,
.password-toggle:focus {
    color: var(--app-blue);
    background: #e8f1ff;
}

.login-captcha {
    display: grid;
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.login-captcha-question {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 25, 74, .12);
    border-radius: 8px;
    color: var(--app-navy);
    background: linear-gradient(135deg, #eef5ff, #fff);
    font-weight: 800;
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 4px;
}

.forgot-password {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--app-blue);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.forgot-password:hover,
.forgot-password:focus {
    color: #005bd6;
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--app-muted);
    font-size: .82rem;
    font-weight: 800;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(0, 25, 74, .12);
}

.legacy-login-panel {
    border: 1px solid rgba(0, 25, 74, .12);
    border-radius: 8px;
    background: #fbfcff;
}

.legacy-login-panel-title {
    padding: 12px 14px;
    color: var(--app-navy);
    font-weight: 800;
    border-bottom: 1px solid rgba(0, 25, 74, .08);
}

.legacy-login-form {
    padding: 14px;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--app-blue), #0054c9);
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(0, 118, 255, .28) !important;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.login-submit:hover,
.login-submit:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0, 118, 255, .36) !important;
}

.panel-footer {
    padding: 0 34px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--app-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.panel-footer a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.panel-footer a:hover,
.panel-footer a:focus {
    opacity: .86;
}

.panel-footer-logo {
    width: 168px;
    height: auto;
    flex: 0 0 auto;
}

.panel-footer-copy {
    min-width: 0;
}

.panel-footer .copyright {
    display: block;
    color: var(--app-muted);
    font-weight: 600;
}

.karsilama-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.karsilama-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(0, 25, 74, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0, 25, 74, .08);
}

.karsilama-page-head h4 {
    margin: 2px 0 6px;
    color: #00194a;
    font-weight: 800;
}

.karsilama-page-head p {
    margin: 0;
    color: #64748b;
}

.karsilama-kicker {
    color: #0076ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.karsilama-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.karsilama-actions .btn,
.karsilama-list-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.karsilama-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    border-radius: 8px;
}

.karsilama-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    gap: 18px;
    align-items: start;
}

.karsilama-editor-panel,
.karsilama-list-panel {
    border: 1px solid rgba(0, 25, 74, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0, 25, 74, .08);
}

.karsilama-editor-panel {
    padding: 22px;
}

.karsilama-list-panel {
    padding: 18px;
}

.karsilama-panel-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 25, 74, .1);
}

.karsilama-panel-title span {
    color: #0076ff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.karsilama-panel-title h5 {
    margin: 3px 0 0;
    color: #00194a;
    font-weight: 800;
}

.karsilama-panel-title strong {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    color: #005bd6;
    background: rgba(0, 118, 255, .1);
    font-size: .8rem;
}

.karsilama-form .form-label {
    color: #00194a;
    font-weight: 700;
}

.karsilama-switch {
    display: flex;
    align-items: center;
    min-height: 34px;
    gap: 8px;
}

.karsilama-submit-row {
    display: flex;
    justify-content: flex-end;
}

.karsilama-announcement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.karsilama-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(0, 25, 74, .1);
    border-radius: 8px;
    background: #f8fbff;
}

.karsilama-list-main {
    min-width: 0;
}

.karsilama-list-main h6 {
    margin: 8px 0 5px;
    color: #00194a;
    font-weight: 800;
    line-height: 1.35;
}

.karsilama-list-main p,
.karsilama-list-main small {
    display: block;
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.karsilama-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

.karsilama-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.karsilama-status.is-active {
    color: #057a55;
    background: rgba(5, 122, 85, .12);
}

.karsilama-status.is-passive {
    color: #9f1239;
    background: rgba(159, 18, 57, .1);
}

.karsilama-list-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 8px;
}

.karsilama-list-actions form {
    margin: 0;
}

.karsilama-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    color: #64748b;
    text-align: center;
}

.karsilama-empty i {
    color: #0076ff;
    font-size: 2.4rem;
}

@media (max-width: 991.98px) {
    body:not(.login-shell) #page-topbar .navbar-header {
        padding-inline: 1rem;
    }

    body:not(.login-shell) #page-topbar .logo img {
        height: 34px !important;
        max-width: 42vw;
    }

    body:not(.login-shell) #page-topbar .logo::after {
        min-height: 30px;
        padding-left: .75rem;
        font-size: .98rem;
    }

    body:not(.login-shell) #page-topbar .app-user-menu {
        display: inline-block !important;
    }

    body:not(.login-shell) #page-topbar .app-user-menu .header-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        padding: .45rem;
    }

    body:not(.login-shell) #page-topbar .app-user-menu-icon {
        display: inline-flex;
    }

    body:not(.login-shell) .page-content > .container-fluid {
        padding-inline: 1rem;
    }

    body:not(.login-shell) .card-body {
        padding: 1rem;
    }

    body:not(.login-shell) .card-body > .navbar-header {
        align-items: flex-start;
        flex-direction: column;
        overflow: visible;
        position: relative;
        z-index: 30;
    }

    body:not(.login-shell) .card-body > .navbar-header > .d-flex,
    body:not(.login-shell) .card-body > .navbar-header > .app-section-nav {
        width: 100%;
        max-width: 100%;
    }

    body:not(.login-shell) .card-body > .navbar-header h4,
    body:not(.login-shell) .card-body > .navbar-header h5 {
        line-height: 1.35;
    }

    body:not(.login-shell) .app-section-nav {
        position: relative;
        z-index: 40;
        width: 100%;
    }

    body:not(.login-shell) .app-section-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        min-height: 2.35rem;
        padding: .45rem .75rem;
        color: #fff;
        border: 1px solid var(--app-navy);
        border-radius: 7px;
        background: var(--app-navy);
        font-weight: 800;
    }

    body:not(.login-shell) .app-section-menu-toggle i {
        font-size: 1.1rem;
    }

    body:not(.login-shell) .app-section-menu {
        display: none !important;
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
        gap: .55rem;
        margin-top: .75rem;
        padding: .75rem;
        border: 1px solid var(--app-border);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--app-shadow);
        position: relative;
        z-index: 45;
    }

    body:not(.login-shell) .app-section-menu.is-open {
        display: grid !important;
    }

    body:not(.login-shell) .app-section-menu .btn {
        width: 100%;
        min-height: 2.35rem;
        white-space: normal;
    }

    body:not(.login-shell) .card-body {
        overflow: visible;
    }

    body:not(.login-shell) .table {
        min-width: 720px;
    }

    body:not(.login-shell) .table-responsive,
    body:not(.login-shell) .schedule-shell,
    body:not(.login-shell) .report-table-wrap {
        overflow-x: auto;
    }

    body:not(.login-shell) .row.mb-4 > .col-form-label {
        padding-bottom: .45rem;
    }

    body:not(.login-shell) .dataTables_wrapper .dataTables_filter,
    body:not(.login-shell) .dataTables_wrapper .dataTables_length,
    body:not(.login-shell) .dataTables_wrapper .dataTables_info,
    body:not(.login-shell) .dataTables_wrapper .dataTables_paginate {
        text-align: left;
    }

    body:not(.login-shell) .modal-dialog {
        width: auto;
        max-width: calc(100vw - 2rem);
        margin: 1rem;
    }

    body:not(.login-shell) .modal-body {
        max-width: 100%;
        overflow-x: auto;
    }

    body:not(.login-shell) .tox-tinymce,
    body:not(.login-shell) .tox .tox-editor-container,
    body:not(.login-shell) .tox .tox-toolbar-overlord {
        max-width: 100%;
    }

    body:not(.login-shell) .footer .app-footer-row {
        gap: .75rem;
    }

    body:not(.login-shell) .footer .app-footer-logo,
    body:not(.login-shell) .footer .app-footer-logo-link {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .login-page {
        display: flex;
        flex-direction: column;
    }

    .login-hero {
        order: 2;
        min-height: auto;
        padding: 42px;
    }

    .welcome-announcements {
        margin: 28px 0 36px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .login-panel-wrap {
        order: 1;
        min-height: auto;
        padding: 32px 20px;
        background: #f6f8fc;
    }

    .login-panel {
        margin-top: 0;
        position: relative;
        z-index: 2;
    }

    .karsilama-page-head {
        flex-direction: column;
    }

    .karsilama-actions {
        justify-content: flex-start;
    }

    .karsilama-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    body:not(.login-shell) {
        font-size: .95rem;
    }

    body:not(.login-shell) #page-topbar {
        min-height: 64px;
    }

    body:not(.login-shell) #page-topbar .navbar-header,
    body:not(.login-shell) #page-topbar .logo {
        min-height: 64px;
    }

    body:not(.login-shell) .main-content {
        min-height: calc(100vh - 64px);
    }

    body:not(.login-shell) #page-topbar .logo img {
        height: 28px !important;
        max-width: 118px;
    }

    body:not(.login-shell) #page-topbar .logo {
        gap: .65rem;
    }

    body:not(.login-shell) #page-topbar .logo::after {
        max-width: 7rem;
        min-height: 26px;
        padding-left: .65rem;
        font-size: .74rem;
        white-space: pre-line;
    }

    body:not(.login-shell) #page-topbar .header-item span {
        display: none !important;
    }

    body:not(.login-shell) .page-content {
        padding-top: 1rem;
    }

    body:not(.login-shell) .page-content > .container-fluid {
        padding-inline: .75rem;
    }

    body:not(.login-shell) .card {
        border-radius: 7px;
    }

    body:not(.login-shell) .card-body {
        padding: .85rem;
    }

    body:not(.login-shell) .card-body > .navbar-header {
        gap: .75rem;
    }

    body:not(.login-shell) .card-body > .navbar-header h4 {
        font-size: 1.15rem;
    }

    body:not(.login-shell) .card-body > .navbar-header .d-flex:last-child,
    body:not(.login-shell) .card-body > .navbar-header .d-flex:last-child .btn,
    body:not(.login-shell) .app-section-menu-toggle {
        width: 100%;
    }

    body:not(.login-shell) .row.mb-4 {
        margin-bottom: 1rem !important;
    }

    body:not(.login-shell) .row.mb-4 .btn[type="submit"] {
        width: 100%;
        white-space: normal;
    }

    body:not(.login-shell) .dataTables_filter label,
    body:not(.login-shell) .dataTables_length label {
        display: flex;
        flex-direction: column;
        gap: .35rem;
        width: 100%;
        white-space: normal;
    }

    body:not(.login-shell) .dataTables_filter input,
    body:not(.login-shell) .dataTables_length select {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body:not(.login-shell) .dataTables_info {
        white-space: normal !important;
    }

    body:not(.login-shell) .dataTables_paginate {
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    body:not(.login-shell) .btn {
        min-height: 2.35rem;
    }

    body:not(.login-shell) .footer .container-fluid {
        padding-inline: 1rem;
    }

    body:not(.login-shell) .footer .app-footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    body:not(.login-shell) .footer .app-footer-meta {
        margin-left: 0;
        text-align: left;
    }

    body:not(.login-shell) .footer .row:not(.app-footer-row) {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-shell {
        background-attachment: scroll;
    }

    .login-hero {
        min-height: auto;
        padding: 36px 18px;
    }

    .brand-lockup img {
        width: min(255px, 74vw);
    }

    .welcome-announcements {
        margin: 24px 0 28px;
        padding: 15px 16px;
    }

    .welcome-announcements-header {
        align-items: flex-start;
    }

    .welcome-announcement-content {
        font-size: .88rem;
        max-height: 104px;
    }

    .welcome-announcement-item {
        min-height: 164px;
        padding: 16px;
    }

    .welcome-announcements .owl-nav {
        top: -48px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-text {
        font-size: .98rem;
    }

    .quick-link {
        width: 100%;
        justify-content: center;
    }

    .login-panel-wrap {
        padding: 14px;
    }

    .login-panel {
        box-shadow: 0 18px 44px rgba(0, 25, 74, .14);
    }

    .login-panel h1 {
        font-size: 1.6rem;
    }

    .login-panel-header,
    .login-form,
    .panel-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .panel-footer-logo {
        width: 150px;
    }

    .remember-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-captcha {
        grid-template-columns: 1fr;
    }

    .karsilama-page-head,
    .karsilama-editor-panel,
    .karsilama-list-panel {
        padding: 16px;
    }

    .karsilama-actions,
    .karsilama-actions .btn,
    .karsilama-list-actions,
    .karsilama-list-actions .btn {
        width: 100%;
    }

    .karsilama-list-item {
        flex-direction: column;
    }

    .karsilama-list-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 359.98px) {
    body:not(.login-shell) #page-topbar .logo::after {
        display: none;
    }

    .login-panel-header,
    .login-form,
    .panel-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.app-user-role {
    display: block;
    margin-left: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.app-impersonation-active {
    padding-bottom: 68px;
}

.app-impersonation-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1095;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 10px 24px;
    color: #fff;
    background: #8b2d36;
    border-top: 3px solid #ffccd1;
    box-shadow: 0 -8px 24px rgba(44, 14, 18, .22);
}

.app-impersonation-message {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
}

.app-impersonation-message i {
    flex: 0 0 auto;
    font-size: 22px;
}

.app-impersonation-banner .btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: #711f28;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .app-impersonation-active {
        padding-bottom: 114px;
    }

    .app-impersonation-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 10px 14px;
    }

    .app-impersonation-banner .btn {
        justify-content: center;
        width: 100%;
    }
}

/* Dönem ve parametre yönetimi */
.admin-tool-page {
    max-width: 1180px;
}

.admin-tool-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-tool-head h1 {
    margin: 6px 0 8px;
    color: #102a56;
    font-size: 1.65rem;
    line-height: 1.25;
}

.admin-tool-head p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
}

.admin-tool-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #075ec8;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-tool-kicker i {
    font-size: 1rem;
}

.admin-form-shell,
.parameter-section {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(16, 42, 86, .07);
}

.admin-form-shell {
    padding: 28px;
}

.admin-form-section + .admin-form-section {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid #e5eaf1;
}

.admin-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.admin-form-section-head h2,
.parameter-section-head h2 {
    margin: 0 0 5px;
    color: #172f55;
    font-size: 1.05rem;
    line-height: 1.35;
}

.admin-form-section-head p,
.parameter-section-head p {
    margin: 0;
    color: #6a778b;
    font-size: .88rem;
}

.admin-step-number {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: #075ec8;
    border-radius: 50%;
    font-weight: 700;
}

.admin-field-limit {
    max-width: 720px;
}

.office-hours-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    color: #214c43;
    background: #edf8f3;
    border-left: 4px solid #20866f;
    border-radius: 4px;
}

.office-hours-note > i {
    margin-top: 1px;
    font-size: 1.3rem;
}

.office-hours-note strong,
.office-hours-note span {
    display: block;
}

.office-hours-note span {
    margin-top: 3px;
    color: #496b64;
    font-size: .86rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.schedule-panel {
    min-width: 0;
    margin: 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
}

.schedule-panel legend {
    float: none;
    width: auto;
    margin: 0 0 14px;
    color: #17335e;
    font-size: .95rem;
    font-weight: 700;
}

.schedule-panel legend i {
    margin-right: 5px;
    color: #075ec8;
    font-size: 1.1rem;
    vertical-align: -2px;
}

.schedule-input-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(110px, .75fr);
    gap: 12px;
    margin-bottom: 12px;
}

.duration-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.duration-tools > span {
    margin-right: 3px;
    color: #68768a;
    font-size: .85rem;
    font-weight: 600;
}

.schedule-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    color: #153a6b;
    background: #eef5ff;
    border: 1px solid #cfe0f8;
    border-radius: 5px;
    font-size: .88rem;
}

.schedule-summary > i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #075ec8;
    font-size: 1.2rem;
}

.schedule-summary.is-muted {
    color: #657387;
    background: #f8fafc;
    border-color: #e1e7ef;
}

.schedule-summary.is-invalid {
    color: #8b2833;
    background: #fff2f3;
    border-color: #f2c7cc;
}

.schedule-summary.is-invalid > i {
    color: #b73746;
}

.office-hours-warning {
    margin-top: 16px;
    padding: 16px;
    color: #654500;
    background: #fff8e6;
    border: 1px solid #efd68d;
    border-left: 4px solid #d49b05;
    border-radius: 5px;
}

.office-hours-warning-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    font-weight: 700;
}

.office-hours-warning-title i {
    font-size: 1.2rem;
}

.office-hours-warning p {
    margin: 0 0 12px;
    color: #765b1c;
    font-size: .88rem;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e4eaf2;
}

.admin-form-actions.is-sticky {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    margin: 20px 0 0;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(16, 42, 86, .12);
}

.parameter-section {
    margin-bottom: 20px;
    padding: 24px;
}

.parameter-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5eaf1;
}

.parameter-section-head > div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.parameter-section-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #075ec8;
    background: #eaf3ff;
    border-radius: 5px;
    font-size: 1.25rem;
}

.parameter-section-icon.is-green {
    color: #17705c;
    background: #eaf7f2;
}

.parameter-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 22px;
    align-items: start;
}

.parameter-preview {
    min-width: 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
}

.parameter-preview-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #17335e;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.parameter-preview-content {
    max-height: 430px;
    overflow-y: auto;
    color: #33445e;
    font-size: .88rem;
    line-height: 1.6;
}

.parameter-preview-content p:last-child {
    margin-bottom: 0;
}

.parameter-list {
    border-top: 1px solid #e5eaf1;
}

.parameter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
    gap: 28px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e5eaf1;
}

.parameter-row-copy label,
.parameter-row-copy span {
    display: block;
}

.parameter-row-copy label {
    margin-bottom: 4px;
    color: #17335e;
    font-weight: 700;
}

.parameter-row-copy span {
    color: #6a778b;
    font-size: .85rem;
}

.parameter-row-control {
    min-width: 0;
}

.application-consent {
    margin: 20px 0;
    padding: 20px;
    color: #32445f;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-left: 4px solid #075ec8;
    border-radius: 6px;
}

.application-consent-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #17335e;
    font-size: 1rem;
    font-weight: 700;
}

.application-consent-content {
    font-size: .92rem;
    line-height: 1.65;
}

.application-consent-person {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #dbe3ee;
}

@media (max-width: 991.98px) {
    .parameter-editor-grid {
        grid-template-columns: 1fr;
    }

    .parameter-preview-content {
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .admin-tool-head,
    .parameter-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-tool-head .btn,
    .admin-form-actions .btn {
        width: 100%;
    }

    .admin-form-shell,
    .parameter-section {
        padding: 18px;
    }

    .schedule-grid,
    .parameter-row {
        grid-template-columns: 1fr;
    }

    .parameter-row {
        gap: 12px;
    }

    .admin-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}

@media (max-width: 479.98px) {
    .schedule-input-grid {
        grid-template-columns: 1fr;
    }

    .duration-tools .btn {
        flex: 1 1 calc(33.333% - 8px);
    }

    .parameter-section-head > div:first-child {
        align-items: flex-start;
    }
}
