/* ============================================================
   Rail United — Custom CSS Override (New Orange/Black Theme)
   railunited-custom.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── 3.1 CSS Variables & Reset ── */
:root {
    --run-primary: #F55F23;
    --run-primary-dark: #D44D17;
    --run-primary-light: #FFF0EA;
    --run-black: #111111;
    --run-dark: #1C1C1E;
    --run-gray-100: #F5F5F5;
    --run-gray-200: #E8E8E8;
    --run-gray-600: #6B7280;
    --run-white: #FFFFFF;
    --run-success: #22C55E;
    --run-danger: #EF4444;
    --run-info: #3B82F6;
    --run-radius: 10px;
    --run-radius-sm: 6px;
    --run-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --run-shadow-md: 0 4px 24px rgba(0, 0, 0, 0.12);
    --run-font: 'Inter', sans-serif;
    --run-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--run-font);
    background: var(--run-gray-100);
    color: #222;
}

body,
.page-wrapper,
.page-body-wrapper,
.sidebar-wrapper,
.page-header,
input,
textarea,
select,
button {
    font-family: var(--run-font) !important;
}

/* ── 3.2 Sidebar (Left Menu – Desktop) ── */
.sidebar-wrapper {
    background: #242C3A !important;
    border-right: none !important;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-wrapper .logo-wrapper {
    background: linear-gradient(135deg, #242C3A 0%, #1E2732 100%);
    border-bottom: 1px solid rgba(245, 95, 35, 0.2);
    padding: 16px 20px;
}

.sidebar-wrapper .logo-wrapper img {
    max-height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-link,
.sidebar-title {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--run-primary) !important;
    background: rgba(245, 95, 35, 0.1) !important;
    border-radius: var(--run-radius-sm);
}

.sidebar-list .sidebar-link svg,
.sidebar-list .sidebar-link i {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0.2s;
}

.sidebar-link:hover svg,
.sidebar-link.active svg,
.sidebar-link:hover i,
.sidebar-link.active i {
    color: var(--run-primary) !important;
}

.sidebar-list.active>.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--run-primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-submenu li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px;
}

.sidebar-submenu li a:hover {
    color: var(--run-primary) !important;
    padding-left: 20px;
}

.sidebar-main-title h6 {
    color: rgba(245, 95, 35, 0.6) !important;
    /* Kategori başlıkları turuncuya çeksin */
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sidebar-wrapper .sidebar-link {
    padding: 10px 20px !important;
    border-radius: 8px !important;
    margin: 2px 12px !important;
    transition: all var(--run-transition) !important;
}

.sidebar-wrapper .sidebar-link span {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: inherit !important;
}

.sidebar-wrapper .sidebar-submenu li a {
    font-size: 0.82rem !important;
    padding: 7px 20px 7px 50px !important;
    display: block;
}

.sidebar-wrapper .pin-title h6 {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.sidebar-wrapper .fa-thumb-tack {
    color: var(--run-primary) !important;
    opacity: 0.6;
}

.sidebar-wrapper * {
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.sidebar-wrapper .sidebar-main-title div h6 {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ── 3.3 Header (Top Bar) ── */
.page-header {
    background: var(--run-white) !important;
    border-bottom: 1px solid var(--run-gray-200) !important;
    box-shadow: var(--run-shadow) !important;
}

/* Standardized Mobile/Shared Header Wrapper */
.run-header-mobile-wrapper {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 15px !important;
}

.run-header-logo {
    display: flex !important;
    align-items: center !important;
    order: 1 !important;
}

.run-header-logo a {
    display: block !important;
}

.run-header-logo img {
    max-height: 42px !important;
    width: auto !important;
    display: block !important;
}

.run-header-hamburger {
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    order: 3 !important;
    position: static !important;
    float: none !important;
}

@media (min-width: 992px) {
    .run-header-mobile-wrapper {
        display: none !important;
    }
    .run-header-hamburger,
    #runHamburger,
    .toggle-sidebar,
    .mobile-toggle-wrapper,
    .sidebar-toggle,
    .status_toggle {
        display: none !important;
    }
}

.page-header .header-wrapper {
    padding: 10px 24px;
}

.toggle-sidebar svg {
    color: var(--run-black) !important;
    stroke: var(--run-black) !important;
}

.b-r-10 {
    border-radius: 50% !important;
}

.header-wrapper .nav-right .profile-nav-item img,
.profile-nav .media.profile-media img {
    border: 2px solid var(--run-primary);
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
}

.header-logo-wrapper .logo-wrapper img {
    max-height: 36px !important;
}

.profile-nav .media-body span {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--run-black) !important;
}

.profile-nav .media-body p {
    font-size: 0.75rem !important;
    color: var(--run-gray-600) !important;
}

.profile-dropdown {
    background: var(--run-white) !important;
    border: 1px solid var(--run-gray-200) !important;
    border-radius: var(--run-radius-sm) !important;
    box-shadow: var(--run-shadow-md) !important;
    overflow: hidden !important;
    min-width: 170px !important;
}

.profile-dropdown li a {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #222 !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: background var(--run-transition) !important;
}

.profile-dropdown li a:hover {
    background: var(--run-gray-100) !important;
    color: var(--run-primary) !important;
}

.notification-slider .d-flex h6 {
    font-size: 0.82rem !important;
    color: var(--run-gray-600) !important;
}

.notification-slider .d-flex a {
    font-size: 0.82rem !important;
    color: var(--run-primary) !important;
    font-weight: 600 !important;
}

/* ── 3.4 Cards & Page Content ── */
.card {
    border: none !important;
    border-radius: var(--run-radius) !important;
    box-shadow: var(--run-shadow) !important;
    background: var(--run-white) !important;
    margin-bottom: 24px;
}

.card:hover {
    box-shadow: var(--run-shadow-md) !important;
}

.card-header {
    background: var(--run-white) !important;
    border-bottom: 1px solid var(--run-gray-200) !important;
    padding: 16px 20px !important;
    border-radius: var(--run-radius) var(--run-radius) 0 0 !important;
}

.card-header h5,
.card-header h4,
.card-header h3,
.card-header .card-title {
    font-weight: 700;
    color: var(--run-black);
    margin: 0;
}

.card-body {
    padding: 20px !important;
}

.page-title {
    background: var(--run-primary) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(245, 95, 35, 0.2) !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    border: none !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.page-title h3,
.page-title h4,
.page-title h5 {
    color: var(--run-white) !important;
    margin: 0 !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.03em !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    display: inline-block !important;
    text-transform: none !important;
}

.page-title .row {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.page-title .col-12,
.page-title .col-6,
.page-title [class*="col-"] {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
}

.page-title .breadcrumb-item a {
    color: var(--run-white) !important;
    opacity: 0.8;
}

.page-title .breadcrumb-item.active {
    color: var(--run-white) !important;
    opacity: 0.9;
}

.page-header-title h4,
.page-header-title h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--run-black) !important;
}

.page-body {
    background: var(--run-gray-100) !important;
    padding: 16px 24px !important;
}

/* Top margin and spacing on desktop */
@media (min-width: 992px) {
    .page-wrapper.compact-wrapper .page-body-wrapper .page-body,
    .page-wrapper .page-body-wrapper .page-body {
        margin-top: 72px !important;
        margin-left: 270px !important;
    }
}

/* Remove duplicate spacing on mobile/tablet */
@media (max-width: 991px) {
    .page-wrapper.compact-wrapper .page-body-wrapper .page-body,
    .page-wrapper .page-body-wrapper .page-body {
        margin-top: 12px !important;
        margin-left: 0 !important;
        padding: 12px 14px !important;
    }
}

.compact-wrapper .page-body-wrapper {
    background: var(--run-gray-100) !important;
}

/* ── 3.5 Buttons ── */
.btn-primary,
.btn-primary:focus {
    background: var(--run-primary) !important;
    border-color: var(--run-primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--run-radius-sm) !important;
    padding: 10px 22px !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245, 95, 35, 0.3);
}

.btn-primary:hover {
    background: var(--run-primary-dark) !important;
    border-color: var(--run-primary-dark) !important;
    box-shadow: 0 6px 16px rgba(245, 95, 35, 0.4);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--run-primary) !important;
    color: var(--run-primary) !important;
    border-radius: var(--run-radius-sm) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--run-primary) !important;
    color: #fff !important;
}

.btn-danger {
    background: var(--run-danger) !important;
    border-color: var(--run-danger) !important;
    border-radius: var(--run-radius-sm) !important;
    color: #fff !important;
}

.btn-danger:hover {
    background: #DC2626 !important;
    border-color: #DC2626 !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3) !important;
    transform: translateY(-1px) !important;
}

.btn-success {
    background: var(--run-success) !important;
    border-color: var(--run-success) !important;
    color: #fff !important;
}

.btn-success:hover {
    background: #16A34A !important;
    border-color: #16A34A !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3) !important;
    transform: translateY(-1px) !important;
}

.btn-secondary {
    background: #F1F5F9 !important;
    border-color: var(--run-gray-200) !important;
    color: #222 !important;
}

.btn-secondary:hover {
    background: var(--run-gray-200) !important;
    color: var(--run-black) !important;
}

.btn-warning {
    background: #F59E0B !important;
    border-color: #F59E0B !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: var(--run-radius-sm) !important;
}

.btn-warning:hover {
    background: #D97706 !important;
    border-color: #D97706 !important;
}

.rn-btn {
    background: var(--run-primary) !important;
    border-color: var(--run-primary) !important;
    color: #fff !important;
    border-radius: var(--run-radius-sm) !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
}

.rn-btn:hover {
    background: var(--run-primary-dark) !important;
    box-shadow: 0 6px 16px rgba(245, 95, 35, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn {
    font-family: var(--run-font) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: var(--run-radius-sm) !important;
    padding: 7px 18px !important;
    transition: all var(--run-transition) !important;
    line-height: 1.4 !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-sm {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
}

.btn-lg {
    padding: 11px 28px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
}

/* ── 3.6 Form Elements ── */
.form-control,
.form-select,
select.form-control-lg,
input.form-control-lg {
    border: 1.5px solid var(--run-gray-200) !important;
    border-radius: var(--run-radius-sm) !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #222 !important;
    background: var(--run-white) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100% !important;
    font-family: var(--run-font);
}

.form-control:focus,
.form-select:focus,
select.form-control-lg:focus,
input.form-control-lg:focus {
    border-color: var(--run-primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 95, 35, 0.15) !important;
    outline: none !important;
}

label {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #444 !important;
    margin-bottom: 6px !important;
}

input[type="time"] {
    border: 1.5px solid var(--run-gray-200);
    border-radius: var(--run-radius-sm);
    padding: 8px 12px;
    font-family: var(--run-font);
}

.form-group,
.mb-3 {
    margin-bottom: 18px !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
textarea,
select {
    font-family: var(--run-font) !important;
    font-size: 0.875rem !important;
    color: #222 !important;
    background-color: var(--run-white) !important;
    border: 1.5px solid var(--run-gray-200) !important;
    border-radius: var(--run-radius-sm) !important;
    padding: 9px 14px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
textarea:focus,
select:focus {
    border-color: var(--run-primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 95, 35, 0.15) !important;
    background-color: var(--run-white) !important;
}

textarea {
    resize: vertical !important;
    min-height: 90px !important;
    line-height: 1.5 !important;
}

select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
    border: 2px solid var(--run-gray-200) !important;
    border-radius: 5px !important;
    background: var(--run-white) !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    accent-color: var(--run-primary) !important;
}

input[type="radio"] {
    border-radius: 50% !important;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--run-primary) !important;
    border-color: var(--run-primary) !important;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
.FormularFeld.Button,
.Button {
    font-family: var(--run-font) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: var(--run-radius-sm) !important;
    border: none !important;
    cursor: pointer !important;
    background: var(--run-primary) !important;
    color: #fff !important;
    width: auto !important;
    display: inline-block !important;
    transition: all var(--run-transition) !important;
}

input[type="button"]:hover,
input[type="submit"]:hover,
.FormularFeld.Button:hover,
.Button:hover {
    background: var(--run-primary-dark) !important;
    box-shadow: 0 4px 14px rgba(245, 95, 35, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Override hardcoded white labels in blade files */
label[style*="color: white"],
label[style*="color:white"] {
    color: #444 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
}

.col-form-label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #444 !important;
    margin-bottom: 5px !important;
}

.form-label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #444 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.FormularRow {
    margin-bottom: 12px !important;
}

.FormularFeldElement {
    width: 100% !important;
}

/* "entfernen" / remove buttons */
button[onclick*="removeInputs"] {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
    border: 1.5px solid #FCA5A5 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    width: auto !important;
    cursor: pointer !important;
    margin-top: 8px !important;
}

button[onclick*="removeInputs"]:hover {
    background: #DC2626 !important;
    color: #fff !important;
}

/* Force form containers */
.container-fluid[style*="width: 40%"],
.container-fluid[style*="width:40%"] {
    width: 100% !important;
    max-width: 680px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.rnt-contact-form {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.rnt-contact-form h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--run-black) !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid var(--run-gray-200) !important;
}

/* ── 3.7 Tables ── */
.table {
    border-radius: var(--run-radius);
    overflow: hidden;
    font-size: 14px;
}

.table thead th {
    background: var(--run-black) !important;
    color: var(--run-white) !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: none !important;
    padding: 13px 16px !important;
}

.table tbody tr {
    transition: background 0.15s;
}

.table tbody tr:hover {
    background: var(--run-primary-light) !important;
}

.table tbody td {
    padding: 12px 16px !important;
    border-color: var(--run-gray-200) !important;
    vertical-align: middle;
}

.table-striped tbody tr:nth-child(even) {
    background: #fafafa;
}

.table td a:not(.btn) {
    color: var(--run-primary) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    background: rgba(245, 95, 35, 0.08) !important;
    transition: all var(--run-transition) !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.table td a:not(.btn):hover {
    background: var(--run-primary) !important;
    color: #fff !important;
}

.table td .btn-primary {
    font-size: 0.78rem !important;
    padding: 5px 14px !important;
}

/* ── 3.8 Badge & Alert ── */
.badge-light-primary,
.badge.bg-primary {
    background: var(--run-primary-light) !important;
    color: var(--run-primary) !important;
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 10px;
}

.badge.bg-success {
    background: #DCFCE7 !important;
    color: #15803D !important;
}

.badge.bg-danger {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
}

.alert {
    border-radius: var(--run-radius-sm) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border-width: 1.5px !important;
    padding: 12px 16px !important;
}

.alert-success {
    background: #DCFCE7 !important;
    border-color: #86EFAC !important;
    color: #15803D !important;
    border-radius: var(--run-radius);
}

.alert-danger {
    background: #FEE2E2 !important;
    border-color: #FCA5A5 !important;
    color: #DC2626 !important;
    border-radius: var(--run-radius);
}

.alert-warning {
    background: #FFFBEB !important;
    border-color: #FDE68A !important;
    color: #92400E !important;
}

.alert-info {
    background: #EFF6FF !important;
    border-color: #BFDBFE !important;
    color: #1D4ED8 !important;
}

.invalid-feedback,
p[style*="color: red"],
p[style*="color:red"] {
    font-size: 0.78rem !important;
    color: #DC2626 !important;
    font-weight: 500 !important;
}

/* ── 3.9 Footer ── */
.footer {
    background: var(--run-white) !important;
    border-top: 1px solid var(--run-gray-200) !important;
    padding: 14px 24px !important;
    font-size: 13px;
    color: var(--run-gray-600);
}

.footer a {
    color: var(--run-primary) !important;
}

.footer-copyright p {
    font-size: 0.8rem !important;
    color: var(--run-gray-600) !important;
}

.footer-copyright a {
    color: var(--run-primary) !important;
    font-weight: 600 !important;
}

/* ── 3.10 Login Page ── */
.run-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #111111 0%, #2a2a2a 60%, #F55F23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.run-login-card {
    background: var(--run-white);
    border-radius: 16px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.run-login-card .logo-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.run-login-card .logo-wrap img {
    max-height: 50px;
}

.run-login-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--run-black);
    text-align: center;
    margin-bottom: 24px;
}

/* Existing login form overrides */
.login-card {
    background: none !important;
    box-shadow: none !important;
    min-height: 100vh;
    display: flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.login-card>div {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.login-main {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 380px;
}

.login-form {
    max-width: 380px;
    width: 100%;
}

.login-form .form-control,
.login-form input[type="text"],
.login-form input[type="password"] {
    border: 1.5px solid var(--run-gray-200);
    border-radius: var(--run-radius-sm) !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    background: #FAFAFA !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    height: auto !important;
}

.login-form .form-control:focus,
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: var(--run-primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 95, 35, 0.15) !important;
    background: var(--run-white) !important;
}

.login-form .rn-btn,
.login-form button[type="submit"] {
    display: block !important;
    width: 100% !important;
    padding: 13px 24px !important;
    background: var(--run-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--run-radius-sm) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.login-form .rn-btn:hover,
.login-form button[type="submit"]:hover {
    background: var(--run-primary-dark) !important;
    box-shadow: 0 6px 20px rgba(245, 95, 35, 0.3) !important;
    transform: translateY(-1px) !important;
}

.eye-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--run-gray-600);
    user-select: none;
}

.eye-icon:hover {
    color: var(--run-primary);
}

/* Login brand panel */
.ru-login-brand {
    flex: 1;
    background: linear-gradient(145deg, #111111 0%, #1a1a1a 60%, #2a2a2a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.ru-login-brand::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 95, 35, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.ru-login-brand::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 95, 35, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ru-login-brand-logo {
    max-width: 200px;
    width: 100%;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.ru-login-brand-title {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.ru-login-brand-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    text-align: center;
    max-width: 280px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.ru-login-accent-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.ru-login-accent-bar span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--run-primary);
}

.ru-login-accent-bar span:nth-child(1) {
    width: 40px;
}

.ru-login-accent-bar span:nth-child(2) {
    width: 12px;
    opacity: 0.5;
}

.ru-login-accent-bar span:nth-child(3) {
    width: 6px;
    opacity: 0.3;
}

.ru-login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 280px;
    position: relative;
    z-index: 1;
}

.ru-login-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

.ru-login-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(245, 95, 35, 0.15);
    border: 1px solid rgba(245, 95, 35, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--run-primary);
}

.ru-login-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--run-white);
    padding: 3rem 3.5rem;
}

.ru-login-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.ru-login-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--run-black);
    margin-bottom: 0.5rem;
}

.ru-login-form-header p {
    color: var(--run-gray-600);
    font-size: 0.9rem;
}

.ru-login-copyright {
    margin-top: 2rem;
    color: var(--run-gray-600);
    font-size: 0.78rem;
    text-align: center;
}

@media (max-width: 768px) {
    .login-card>div {
        flex-direction: column;
    }

    .ru-login-brand {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .ru-login-brand-title {
        font-size: 1.4rem;
    }

    .ru-login-features {
        display: none;
    }

    .ru-login-form-panel {
        padding: 2.5rem 1.5rem;
    }
}

/* ── Dropdown Toggle Buttons ── */
[id^="toggleBtn"],
h3[id^="toggleBtn"] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    background: #FAFAFA !important;
    color: var(--run-black) !important;
    border: 1.5px solid var(--run-gray-200) !important;
    border-radius: var(--run-radius-sm) !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    margin-top: 12px !important;
    user-select: none !important;
    transition: all var(--run-transition) !important;
}

[id^="toggleBtn"]:hover,
h3[id^="toggleBtn"]:hover {
    background: var(--run-white) !important;
    border-color: var(--run-primary) !important;
    box-shadow: var(--run-shadow) !important;
}

[id^="toggleBtn"]::after,
h3[id^="toggleBtn"]::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    transition: transform var(--run-transition);
}

[id^="dropdownContent"] {
    border: 1.5px solid var(--run-gray-200) !important;
    border-top: none !important;
    border-radius: 0 0 var(--run-radius-sm) var(--run-radius-sm) !important;
    padding: 20px !important;
    background: var(--run-white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    /* Default: all accordion sections OPEN */
    display: block !important;
    overflow: visible !important;
    height: auto !important;
}

/* When user clicks toggle, this class hides the section */
[id^="dropdownContent"].run-collapsed {
    display: none !important;
}

/* ── Stat Cards (Dashboard/Gesamt) ── */
.run-stat-card {
    border-left: 4px solid var(--run-primary) !important;
}

.run-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--run-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--run-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.run-stat-label {
    font-size: 12px;
    color: var(--run-gray-600);
    margin: 0;
    font-weight: 500;
}

.run-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--run-black);
    margin: 0;
}

/* ── H2, H3 general ── */
h2,
h3 {
    color: var(--run-black) !important;
    font-weight: 800 !important;
}

/* ── Breadcrumb ── */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
}

.breadcrumb-item a {
    color: var(--run-primary) !important;
    font-size: 0.8rem !important;
}

.breadcrumb-item.active {
    color: var(--run-gray-600) !important;
    font-size: 0.8rem !important;
}

/* ── Pagination ── */
.pagination .page-link {
    color: var(--run-primary) !important;
    border-color: var(--run-gray-200) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
}

.pagination .page-item.active .page-link {
    background: var(--run-primary) !important;
    border-color: var(--run-primary) !important;
    color: #fff !important;
}

.pagination .page-link:hover {
    background: var(--run-primary-light) !important;
    color: var(--run-primary) !important;
}

/* ── Modals ── */
.modal-content {
    border-radius: var(--run-radius) !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}

.modal-header {
    background: var(--run-black) !important;
    color: #fff !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
}

.modal-header .modal-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 0.7 !important;
}

.modal-header .btn-close:hover {
    opacity: 1 !important;
}

.modal-body {
    padding: 1.5rem !important;
    color: #222 !important;
    font-size: 0.875rem !important;
}

.modal-footer {
    border-top: 1px solid var(--run-gray-200) !important;
    padding: 1rem 1.5rem !important;
    gap: 8px !important;
}

/* ── Tabs ── */
.nav-tabs .nav-link {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--run-gray-600) !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    padding: 10px 18px !important;
    border-radius: 0 !important;
}

.nav-tabs .nav-link:hover {
    color: var(--run-primary) !important;
    border-bottom-color: rgba(245, 95, 35, 0.2) !important;
    background: transparent !important;
}

.nav-tabs .nav-link.active {
    color: var(--run-primary) !important;
    border-bottom: 2px solid var(--run-primary) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

/* ── PDF / Export buttons ── */
.buttons-pdf,
.buttons-html5,
.buttons-print,
.dt-button {
    font-family: var(--run-font) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    border: none !important;
    background: var(--run-primary) !important;
    color: #fff !important;
    cursor: pointer !important;
}

.buttons-pdf:hover,
.buttons-html5:hover,
.dt-button:hover {
    background: var(--run-primary-dark) !important;
    box-shadow: 0 4px 12px rgba(245, 95, 35, 0.2) !important;
}

/* ── Scroll to top ── */
.tap-top {
    background: var(--run-primary) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(245, 95, 35, 0.3) !important;
}

.tap-top:hover {
    background: var(--run-primary-dark) !important;
    transform: translateY(-2px) !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* ── Info Lists ── */
.info-list-container,
.data-display-section {
    background: var(--run-white);
    border: 1px solid var(--run-gray-200);
    border-radius: var(--run-radius);
    padding: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--run-gray-100);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--run-black);
    font-size: 0.9rem;
}

.info-value {
    color: #222;
    text-align: right;
    font-weight: 500;
}

/* ── Styled Select ── */
.styled-select {
    background: var(--run-white) !important;
    border: 1.5px solid var(--run-gray-200) !important;
    border-radius: var(--run-radius-sm) !important;
    overflow: hidden !important;
    position: relative !important;
}

.styled-select:focus-within {
    border-color: var(--run-primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 95, 35, 0.15) !important;
}

.styled-select select {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 9px 36px 9px 14px !important;
    cursor: pointer !important;
}

/* ── Sidebar Mobile Back Button ── */
.sidebar-wrapper .mobile-back span {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem !important;
}

/* ============================================================
   MOBILE SIDEBAR FROM RIGHT
   ============================================================ */
@media (max-width: 991px) {
    .page-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1040 !important;
        height: 70px !important;
        background: var(--run-white) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .page-header .header-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
        height: 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .page-header .header-logo-wrapper {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .page-header .header-logo-wrapper .logo-wrapper img {
        max-height: 50px !important;
        width: auto !important;
    }

    .nav-right.pull-right {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        width: auto !important;
    }

    .nav-right .nav-menus {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-toggle-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 45px !important;
        height: 45px !important;
        background: var(--run-gray-100) !important;
        border-radius: 8px !important;
        margin-left: 10px !important;
        cursor: pointer !important;
    }

    .page-body-wrapper {
        margin-top: 70px !important;
    }

    .sidebar-wrapper {
        position: fixed !important;
        top: 0 !important;
        right: -280px !important;
        left: auto !important;
        width: 280px !important;
        height: 100vh !important;
        z-index: 9999 !important;
        transition: right 0.3s ease !important;
        overflow-y: auto;
        background: #242C3A !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2) !important;
    }

    .page-header .logo-wrapper img {
        display: block !important;
        max-height: 34px;
    }

    .pin-title.sidebar-main-title {
        display: none !important;
    }

    .sidebar-wrapper .back-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10000;
        cursor: pointer;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 6px;
    }

    .sidebar-wrapper .back-btn i {
        color: #fff !important;
        font-size: 1.2rem;
    }

    .sidebar-wrapper .sidebar-main {
        padding-top: 60px !important;
    }

    .sidebar-list {
        padding: 5px 15px !important;
    }

    .run-mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 9998;
        backdrop-filter: blur(2px);
    }

    .run-mobile-overlay.active {
        display: block;
    }

    .bg-overlay.active {
        display: block !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6) !important;
        z-index: 9998 !important;
    }

    .page-body-wrapper {
        margin-left: 0 !important;
    }
}

@media (min-width: 992px) {
    .run-mobile-overlay {
        display: none !important;
    }
}

/* ── 8. Mobile Responsive Rules ── */
@media (max-width: 575px) {
    .card-body {
        padding: 14px !important;
    }

    .page-title {
        padding: 12px 14px !important;
    }

    .btn {
        font-size: 14px !important;
        padding: 9px 16px !important;
    }

    .table thead th,
    .table tbody td {
        font-size: 13px !important;
        padding: 10px 10px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    h5 {
        font-size: 16px !important;
    }

    .run-filter-card .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.table-responsive {
    border-radius: var(--run-radius);
    -webkit-overflow-scrolling: touch;
}

/* Aktif menü öğesi */
.sidebar-link.run-active,
.sidebar-submenu a.run-active {
    color: var(--run-primary) !important;
    background: rgba(245, 95, 35, 0.12) !important;
    border-radius: 6px;
}

.sidebar-link.run-active svg,
.sidebar-link.run-active i {
    color: var(--run-primary) !important;
    stroke: var(--run-primary) !important;
}

/* Sol kenar çizgisi – aktif ana öğe */
.sidebar-list:has(.run-active) {
    border-left: 3px solid var(--run-primary);
}

/* Sidebar scrollbar */
.sidebar-wrapper::-webkit-scrollbar {
    width: 4px;
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
    background: rgba(245, 95, 35, 0.3);
    border-radius: 4px;
}

/* === RUN ACCORDION === */
.run-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 14px 20px;
    background: var(--run-white);
    border-radius: 10px 10px 0 0;
    transition: background 0.2s;
}

.run-accordion-header:hover {
    background: var(--run-gray-100);
}

.run-accordion-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--run-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.run-accordion-header h5 i {
    color: var(--run-primary);
    font-size: 16px;
}

.run-accordion-chevron {
    transition: transform 0.25s ease;
    color: var(--run-gray-600);
}

.run-accordion-header.open .run-accordion-chevron {
    transform: rotate(180deg);
}

.run-accordion-body {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--run-gray-200);
}

.run-accordion-body.open {
    display: block;
}

/* Otomatik açık gelen bölümler */
.run-accordion-body.default-open {
    display: block;
}

.run-accordion-header.default-open {
    border-radius: 10px 10px 0 0;
}

.run-accordion-header.default-open .run-accordion-chevron {
    transform: rotate(180deg);
}

/* ── Run Stat Cards ── */
.run-stat-card {
    border-left: 4px solid var(--run-primary) !important;
}

.run-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--run-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--run-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.run-stat-label {
    font-size: 12px;
    color: var(--run-gray-600);
    margin: 0;
    font-weight: 500;
}

.run-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--run-black);
    margin: 0;
}

/* ── Login Page ── */
.run-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #111111 0%, #2a2a2a 60%, #F55F23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.run-login-card {
    background: var(--run-white);
    border-radius: 16px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.run-login-card .logo-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.run-login-card .logo-wrap img {
    max-height: 50px;
}

.run-login-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--run-black);
    text-align: center;
    margin-bottom: 24px;
}

/* ── Badge & Alert Overrides ── */
.badge-light-primary,
.badge.bg-primary {
    background: var(--run-primary-light) !important;
    color: var(--run-primary) !important;
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 10px;
}

.badge.bg-success {
    background: #DCFCE7 !important;
    color: #15803D !important;
}

.badge.bg-danger {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
}

.badge.bg-warning {
    background: #FFF7D6 !important;
    color: #92400E !important;
}

.alert-success {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: #15803D;
    border-radius: var(--run-radius);
}

.alert-danger {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #DC2626;
    border-radius: var(--run-radius);
}

/* ── Footer ── */
.footer {
    background: var(--run-white) !important;
    border-top: 1px solid var(--run-gray-200) !important;
    padding: 14px 24px !important;
    font-size: 13px;
    color: var(--run-gray-600);
    text-align: center !important;
}

.footer .footer-copyright {
    text-align: center !important;
}

.footer a {
    color: var(--run-primary) !important;
}

/* ── Mobile Responsive ── */
@media (max-width: 575px) {
    .card-body {
        padding: 14px !important;
    }

    .page-title {
        padding: 12px 14px !important;
    }

    .btn {
        font-size: 14px !important;
        padding: 9px 16px !important;
    }

    .table thead th,
    .table tbody td {
        font-size: 13px !important;
        padding: 10px 10px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    h5 {
        font-size: 16px !important;
    }

    .run-filter-card .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.table-responsive {
    border-radius: var(--run-radius);
    -webkit-overflow-scrolling: touch;
}

/* ── Run Sidebar Color Override (inline style override) ── */
.run-sidebar {
    background: #242C3A !important;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15) !important;
}

/* Desktop: hide close button — sidebar is always visible */
@media (min-width: 992px) {
    .run-sidebar-close {
        display: none !important;
    }
}

/* ── Desktop: sidebar scrollbar only on hover ── */
@media (min-width: 992px) {
    .run-sidebar-nav {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }
    .run-sidebar-nav:hover {
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }
    .run-sidebar-nav::-webkit-scrollbar-thumb {
        background: transparent;
    }
    .run-sidebar-nav:hover::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* ── Desktop: prevent horizontal overflow from sidebar ── */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden !important;
    }
    .page-wrapper {
        overflow-x: hidden !important;
    }
}

/* ── Page & Footer: full height layout, footer at bottom ── */
/* Theme sets .page-body min-height: calc(100vh - 80px) which pushes footer
   off-screen. Override to let flexbox handle the layout instead. */
.page-wrapper.compact-wrapper .page-body-wrapper .page-body,
.page-wrapper .page-body-wrapper .page-body {
    min-height: 0 !important;
    flex: 1 1 auto !important;
}

body > .page-wrapper {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.page-body-wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.footer {
    margin-top: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    width: 100% !important;
}

/* ── Tablet: refine header & notification bar (768–991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
    .page-header .header-wrapper {
        padding: 8px 12px !important;
    }
    .left-header {
        display: none !important;
    }
    .nav-right.pull-right {
        flex: 0 0 auto !important;
    }
    .run-header-mobile-wrapper {
        padding: 8px 12px !important;
    }
    .run-header-logo img {
        max-height: 36px !important;
    }
}

/* ── Chevron Arrow Rotation for Accordions ── */
[id^="toggleBtn"]::after,
h3[id^="toggleBtn"]::after {
    transform: rotate(180deg) !important;
}

[id^="toggleBtn"].run-collapsed::after,
h3[id^="toggleBtn"].run-collapsed::after {
    transform: rotate(0deg) !important;
}