/* ==========================================================================
   Vektörel Bilişim - Corporate Liquid Glass Theme & Version Switcher
   ==========================================================================
   - Brand Primary Blue  : #055686 (Logo Petrol Blue)
   - Brand Blue Dark     : #033D60
   - Brand Blue Light    : #0870AD
   - Brand Orange        : #F08503 (Logo Vibrant Orange)
   - Brand Gold Accent   : #C4943A (Logo Divider Line)
   - Soft Ice Tint       : #EBF3F7
   - Scoped strictly under `html.vb-modern` so legacy mode is 100% untouched.
   ========================================================================== */

:root {
  --vb-blue: #055686;
  --vb-blue-dark: #033D60;
  --vb-blue-light: #0870AD;
  --vb-orange: #F08503;
  --vb-orange-hover: #FF981A;
  --vb-gold: #C4943A;
  --vb-ice: #EBF3F7;
  --vb-text: #1E293B;
  --vb-text-muted: #475569;
  --vb-border-glass: rgba(255, 255, 255, 0.72);
  --vb-border-subtle: rgba(5, 86, 134, 0.14);
  --vb-shadow-glass: 0 18px 45px rgba(3, 61, 96, 0.11), 0 2px 8px rgba(5, 86, 134, 0.06);
  --vb-radius-xl: 18px;
  --vb-radius-md: 10px;
  --vb-radius-sm: 7px;
}

/* ==========================================================================
   1. FLOATING LIQUID GLASS THEME SWITCHER (Visible in both Classic & Modern)
   ========================================================================== */
#vb-theme-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(5, 86, 134, 0.22);
  box-shadow: 0 10px 28px rgba(3, 61, 96, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#vb-theme-switcher:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(3, 61, 96, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#vb-theme-switcher .vb-sw-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 86, 134, 0.14);
  overflow: hidden;
  padding: 2px;
  box-sizing: border-box;
  flex-shrink: 0;
}

#vb-theme-switcher .vb-sw-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#vb-theme-switcher .vb-sw-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  margin: 0;
  white-space: nowrap;
}

#vb-theme-switcher .vb-sw-btn:hover {
  color: #055686;
  background: rgba(5, 86, 134, 0.08);
}

#vb-theme-switcher .vb-sw-btn.is-active[data-mode="legacy"] {
  background: #334155;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(51, 65, 85, 0.35);
}

#vb-theme-switcher .vb-sw-btn.is-active[data-mode="modern"] {
  background: linear-gradient(135deg, #055686 0%, #0870AD 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 86, 134, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html.vb-modern #vb-theme-switcher {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.85);
}

@media print {
  #vb-theme-switcher {
    display: none !important;
  }
}

/* ==========================================================================
   2. MODERN LIQUID GLASS BASE & CANVAS (Only when html.vb-modern is active)
   ========================================================================== */
html.vb-modern body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 13px;
  color: var(--vb-text);
  background-color: #EDF2F7 !important;
  background-image:
    radial-gradient(at 8% 10%, rgba(5, 86, 134, 0.13) 0px, transparent 48%),
    radial-gradient(at 92% 12%, rgba(240, 133, 3, 0.11) 0px, transparent 44%),
    radial-gradient(at 82% 88%, rgba(5, 86, 134, 0.09) 0px, transparent 50%),
    radial-gradient(at 15% 85%, rgba(196, 148, 58, 0.08) 0px, transparent 45%) !important;
  background-attachment: fixed !important;
  -webkit-font-smoothing: antialiased;
}

/* Main Shell Container (no backdrop-filter here so fixed modals inside never get trapped behind .modal-backdrop) */
html.vb-modern .maintbl {
  width: min(96vw, 1440px) !important;
  max-width: 1440px;
  margin: 14px auto 64px auto !important;
  background: rgba(255, 255, 255, 0.90) !important;
  border: 1px solid var(--vb-border-glass) !important;
  border-radius: var(--vb-radius-xl) !important;
  box-shadow: var(--vb-shadow-glass) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: visible !important;
}

/* ==========================================================================
   3. TOP HEADER BAR (.ustmenu) & PERSONNEL STATUS STRIP
   ========================================================================== */
html.vb-modern .ustmenu {
  background: linear-gradient(135deg, rgba(5, 86, 134, 0.96) 0%, rgba(3, 61, 96, 0.98) 100%) !important;
  border-top: none !important;
  border-bottom: 3px solid var(--vb-orange) !important;
  box-shadow: inset 0 -1px 0 var(--vb-gold), 0 4px 16px rgba(3, 61, 96, 0.16);
  color: #FFFFFF !important;
  padding: 10px 18px !important;
  height: auto !important;
  min-height: 52px;
  border-radius: var(--vb-radius-xl) var(--vb-radius-xl) 0 0 !important;
  vertical-align: middle !important;
}

html.vb-modern .ustmenu a.abeyaz,
html.vb-modern .ustmenu a.abeyaz2 {
  color: #FFFFFF !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

html.vb-modern .ustmenu a.abeyaz:hover {
  color: #FFD29D !important;
}

html.vb-modern .ustmenu>div br,
html.vb-modern .ustmenu>table br {
  display: none !important;
}

html.vb-modern .ustmenu>div {
  line-height: 36px;
}

html.vb-modern .ustmenu>table {
  float: right !important;
  margin-left: auto !important;
}

html.vb-modern .ustmenu>table td {
  vertical-align: middle !important;
}

html.vb-modern .ustmenu>table td input[type="image"],
html.vb-modern .ustmenu>table td a,
html.vb-modern .ustmenu>table td img {
  vertical-align: middle !important;
  margin: 0 3px !important;
}

/* Personnel live status bar in Oto/BasePage.master - preserve native grid & status colors */
html.vb-modern .personel-container {
  background: linear-gradient(180deg, rgba(3, 61, 96, 0.95) 0%, rgba(5, 86, 134, 0.92) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

html.vb-modern .personel-container .custom-cell {
  border-radius: 5px;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}

/* ==========================================================================
   4. NAVIGATION MENU (ul#navmenu & .MenuTD)
   ========================================================================== */
html.vb-modern .MenuTD {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid var(--vb-border-subtle) !important;
  padding: 6px 12px !important;
}

html.vb-modern ul#navmenu {
  height: auto !important;
  min-height: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  background: transparent !important;
}

html.vb-modern ul#navmenu>li {
  float: none !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
}

html.vb-modern ul#navmenu>li>a {
  background: rgba(5, 86, 134, 0.06) !important;
  color: var(--vb-blue-dark) !important;
  border: 1px solid rgba(5, 86, 134, 0.12) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  transition: all 0.18s ease;
}

html.vb-modern ul#navmenu>li>a:hover,
html.vb-modern ul#navmenu>li:hover>a,
html.vb-modern ul#navmenu>li.iehover>a {
  background: linear-gradient(135deg, var(--vb-blue) 0%, var(--vb-blue-light) 100%) !important;
  color: #FFFFFF !important;
  border-color: var(--vb-blue) !important;
  box-shadow: 0 4px 12px rgba(5, 86, 134, 0.25);
}

/* Dropdown Submenus (Glass Popover - zero margin gap so :hover never drops) */
html.vb-modern ul#navmenu ul {
  top: 100% !important;
  margin-top: 0 !important;
  min-width: 215px !important;
  width: auto !important;
  padding: 6px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(5, 86, 134, 0.16) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 38px rgba(3, 61, 96, 0.20) !important;
}

html.vb-modern ul#navmenu ul:empty,
html.vb-modern ul#navmenu ul.vb-empty-sub {
  display: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

html.vb-modern ul#navmenu ul ul {
  top: 0 !important;
  left: 100% !important;
  margin-top: -6px !important;
  margin-left: 0 !important;
}

html.vb-modern ul#navmenu ul li {
  height: auto !important;
  margin-bottom: 2px !important;
  list-style-image: none !important;
}

html.vb-modern ul#navmenu ul li:last-child {
  margin-bottom: 0 !important;
}

html.vb-modern ul#navmenu li:hover li a,
html.vb-modern ul#navmenu li.iehover li a,
html.vb-modern ul#navmenu li:hover li:hover li a,
html.vb-modern ul#navmenu li.iehover li.iehover li a {
  background: transparent !important;
  color: var(--vb-text) !important;
  border: none !important;
  border-radius: 7px !important;
  padding: 7px 11px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease;
}

html.vb-modern ul#navmenu li:hover li a:hover,
html.vb-modern ul#navmenu li:hover li:hover>a,
html.vb-modern ul#navmenu li.iehover li a:hover,
html.vb-modern ul#navmenu li.iehover li.iehover>a,
html.vb-modern ul#navmenu li:hover li:hover li a:hover {
  background: linear-gradient(90deg, rgba(5, 86, 134, 0.12) 0%, rgba(240, 133, 3, 0.10) 100%) !important;
  color: var(--vb-blue) !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   5. CONTENT AREA, CARDS, HEADINGS & LINKS
   ========================================================================== */
html.vb-modern .orta {
  padding: 14px 18px !important;
  background: transparent !important;
}

html.vb-modern .box {
  padding: 8px 10px !important;
}

html.vb-modern .divcerceve {
  background: rgba(255, 255, 255, 0.80) !important;
  border: 1px solid var(--vb-border-subtle) !important;
  border-radius: var(--vb-radius-md) !important;
  padding: 12px !important;
  box-shadow: 0 4px 16px rgba(5, 86, 134, 0.05);
}

html.vb-modern h2,
html.vb-modern .baslik {
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--vb-blue-dark) !important;
  border-bottom: 2px solid rgba(5, 86, 134, 0.15) !important;
  padding: 6px 0 8px 10px !important;
  margin-bottom: 12px !important;
  border-left: 4px solid var(--vb-orange);
  background: linear-gradient(90deg, rgba(5, 86, 134, 0.05) 0%, transparent 60%);
  border-radius: 4px 0 0 0;
}

html.vb-modern h3 {
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--vb-blue) !important;
  margin: 8px 0 6px 0 !important;
}

html.vb-modern h4 {
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--vb-orange) !important;
  height: auto !important;
}

html.vb-modern a {
  color: var(--vb-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

html.vb-modern a:hover {
  color: var(--vb-orange);
  text-decoration: underline;
}

/* ==========================================================================
   6. TABLES & ASP.NET GRIDVIEWS
   ========================================================================== */
html.vb-modern .gvHeader,
html.vb-modern .tbl th {
  background: linear-gradient(135deg, var(--vb-blue) 0%, var(--vb-blue-dark) 100%) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 8px 10px !important;
  border-bottom: 2px solid var(--vb-orange) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  text-align: left;
}

html.vb-modern .gvHeader a,
html.vb-modern .tbl th a {
  color: #FFFFFF !important;
}

html.vb-modern .gvrow,
html.vb-modern .gvrow2 {
  height: auto !important;
  transition: background-color 0.12s ease;
}

html.vb-modern .gvrow td,
html.vb-modern .gvrow2 td {
  padding: 7px 10px !important;
  border-bottom: 1px solid rgba(5, 86, 134, 0.08) !important;
  vertical-align: middle !important;
}

html.vb-modern .gvrow {
  background-color: rgba(255, 255, 255, 0.72) !important;
}

html.vb-modern .gvrow2 {
  background-color: rgba(235, 243, 247, 0.55) !important;
}

html.vb-modern .gvrow:hover,
html.vb-modern .gvrow2:hover {
  background-color: rgba(240, 133, 3, 0.10) !important;
}

html.vb-modern .tblform td {
  border: 1px solid rgba(5, 86, 134, 0.10) !important;
  padding: 6px 8px !important;
  vertical-align: top !important;
}

/* AjaxControlToolkit CalendarExtender reset so .tblform td padding doesn't clip days */
html.vb-modern .ajax__calendar_container {
  z-index: 10050 !important;
  background: #ffffff !important;
  border: 1px solid rgba(5, 86, 134, 0.24) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 30px rgba(3, 61, 96, 0.22) !important;
  padding: 4px !important;
}

html.vb-modern .ajax__calendar_container,
html.vb-modern .ajax__calendar_container * {
  box-sizing: content-box !important;
}

html.vb-modern .ajax__calendar_container td,
html.vb-modern .ajax__calendar_container th {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  vertical-align: middle !important;
}

html.vb-modern .bgmavi {
  background-color: rgba(235, 243, 247, 0.85) !important;
}

html.vb-modern .bgturuncu {
  background-color: rgba(240, 133, 3, 0.10) !important;
}

/* ==========================================================================
   7. FORM INPUTS & BUTTONS
   ========================================================================== */
html.vb-modern input[type="text"],
html.vb-modern input[type="password"],
html.vb-modern input[type="email"],
html.vb-modern input[type="number"],
html.vb-modern input[type="date"],
html.vb-modern textarea,
html.vb-modern .txt {
  font-family: inherit !important;
  font-size: 12.5px !important;
  color: var(--vb-text) !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(5, 86, 134, 0.24) !important;
  border-radius: var(--vb-radius-sm) !important;
  padding: 4px 9px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

html.vb-modern select {
  font-family: inherit !important;
  font-size: 12.5px !important;
  color: var(--vb-text) !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(5, 86, 134, 0.24) !important;
  border-radius: var(--vb-radius-sm) !important;
  padding: 2px 6px !important;
  min-height: 26px;
  height: auto !important;
  line-height: 1.35 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

html.vb-modern input[type="text"]:focus,
html.vb-modern input[type="password"]:focus,
html.vb-modern input[type="email"]:focus,
html.vb-modern input[type="number"]:focus,
html.vb-modern select:focus,
html.vb-modern textarea:focus,
html.vb-modern .txt:focus {
  outline: none !important;
  border-color: var(--vb-blue) !important;
  box-shadow: 0 0 0 3px rgba(5, 86, 134, 0.15) !important;
}

html.vb-modern input[type="checkbox"],
html.vb-modern input[type="radio"] {
  accent-color: var(--vb-blue);
}

html.vb-modern #txtGelenGorusme,
html.vb-modern #txtGidenGorusme,
html.vb-modern #txtGorusmeGeriDonus {
  width: 108px !important;
  min-width: 108px !important;
  text-align: center;
}

/* Prevent narrow inline-width numeric inputs (e.g. 20px-25px) from losing text space to padding */
html.vb-modern .tblform input[type="text"] {
  min-width: 48px;
}

/* Primary & Legacy Buttons (preserve Bootstrap colored variants & tiny +/- toggle buttons) */
html.vb-modern input[type="submit"],
html.vb-modern input[type="button"],
html.vb-modern button:not(.close):not(.vb-sw-btn):not(.pwd-toggle):not([class*="btn-"]),
html.vb-modern .btn:not([class*="btn-"]),
html.vb-modern .btn.btn-primary,
html.vb-modern #molaGerekceModal #btnSubmit {
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, var(--vb-blue) 0%, var(--vb-blue-light) 100%) !important;
  border: 1px solid rgba(5, 86, 134, 0.35) !important;
  border-radius: var(--vb-radius-sm) !important;
  padding: 5px 13px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(5, 86, 134, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

/* Compact +/- expand/collapse buttons */
html.vb-modern input[type="submit"][value="+"],
html.vb-modern input[type="submit"][value="-"],
html.vb-modern input[type="button"][value="+"],
html.vb-modern input[type="button"][value="-"],
html.vb-modern input[type="submit"][style*="width:19px"],
html.vb-modern input[type="submit"][style*="width: 19px"] {
  padding: 0 !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  line-height: 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  vertical-align: middle !important;
  border-radius: 6px !important;
}

html.vb-modern input[type="submit"]:hover,
html.vb-modern input[type="button"]:hover,
html.vb-modern button:not(.close):not(.vb-sw-btn):not(.pwd-toggle):not([class*="btn-"]):hover,
html.vb-modern .btn:not([class*="btn-"]):hover,
html.vb-modern .btn.btn-primary:hover,
html.vb-modern #molaGerekceModal #btnSubmit:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 86, 134, 0.30);
}

html.vb-modern .turuncubtn {
  background: linear-gradient(135deg, var(--vb-orange) 0%, var(--vb-orange-hover) 100%) !important;
  border-color: rgba(240, 133, 3, 0.45) !important;
  color: #FFFFFF !important;
  border-radius: var(--vb-radius-sm) !important;
  box-shadow: 0 2px 8px rgba(240, 133, 3, 0.28) !important;
}

/* ==========================================================================
   8. MODALS, ALERTS, TABS & SIDEBARS
   ========================================================================== */
html.vb-modern .modal {
  border-radius: 16px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 24px 60px rgba(3, 61, 96, 0.28) !important;
}

html.vb-modern .modal-content,
html.vb-modern .modalbase,
html.vb-modern .modalPopup {
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(3, 61, 96, 0.26) !important;
}

html.vb-modern .modal .modal-content {
  border: none !important;
  box-shadow: none !important;
}

html.vb-modern .modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  background: linear-gradient(135deg, var(--vb-blue) 0%, var(--vb-blue-dark) 100%) !important;
  color: #FFFFFF !important;
  border-bottom: 2px solid var(--vb-orange) !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
}

html.vb-modern .modal-header .modal-title,
html.vb-modern .modal-header h3,
html.vb-modern .modal-header h4,
html.vb-modern .modal-header h5 {
  order: 1;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

html.vb-modern .modal-header .close {
  order: 2;
  float: none !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  opacity: 0.92 !important;
  text-shadow: none !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

html.vb-modern .modal-header .close:hover {
  opacity: 1 !important;
  background: var(--vb-orange) !important;
  border-color: var(--vb-orange) !important;
}

html.vb-modern .modal-body .tblform td {
  padding: 4px 6px !important;
}

html.vb-modern .modal-body input[type="submit"],
html.vb-modern .modal-body input[type="button"] {
  padding: 4px 9px !important;
  font-size: 11.5px !important;
}

html.vb-modern .modal-body select {
  max-width: 215px;
}

html.vb-modern #molaGerekceModal .modal-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px !important;
}

html.vb-modern #molaGerekceModal .modal-body label {
  margin: 0 !important;
}

html.vb-modern #molaGerekceModal #otherReasonContainer {
  flex-basis: 100%;
}

/* Gruplar & Senetler right notification panels positioning */
html.vb-modern .grup-bildirim-panel,
html.vb-modern .senet-bildirim-panel {
  margin-top: 56px !important;
}

html.vb-modern .bilgimsg {
  background-color: rgba(235, 243, 247, 0.90) !important;
  border: 1px solid rgba(5, 86, 134, 0.25) !important;
  border-left: 4px solid var(--vb-blue) !important;
  border-radius: var(--vb-radius-md) !important;
  color: var(--vb-blue-dark) !important;
}

html.vb-modern .hatamsg {
  border-radius: var(--vb-radius-md) !important;
  border-left: 4px solid #DC2626 !important;
}

/* AjaxControlToolkit Tabs */
html.vb-modern .tab .ajax__tab_tab {
  border-radius: 8px 8px 0 0 !important;
  padding: 6px 14px !important;
  background: rgba(5, 86, 134, 0.07) !important;
  color: var(--vb-blue-dark) !important;
  font-weight: 600;
}

html.vb-modern .tab .ajax__tab_active .ajax__tab_tab {
  background: var(--vb-blue) !important;
  color: #FFFFFF !important;
  border-bottom: 2px solid var(--vb-orange) !important;
}

/* Admin Left Menu & Sidebar */
html.vb-modern .menuh {
  background: linear-gradient(135deg, var(--vb-blue) 0%, var(--vb-blue-dark) 100%) !important;
  border-bottom: 2px solid var(--vb-orange) !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 6px 8px !important;
  height: auto !important;
}

html.vb-modern .ders {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(5, 86, 134, 0.10);
  border-radius: 6px;
  padding: 5px 8px !important;
  height: auto !important;
  margin-bottom: 3px !important;
  transition: background-color 0.15s ease;
}

html.vb-modern .ders:hover {
  background: rgba(240, 133, 3, 0.12) !important;
}

/* ==========================================================================
   9. FOOTER (.alt) & UPDATEPROGRESS PRELOADER
   ========================================================================== */
html.vb-modern .alt {
  background: linear-gradient(135deg, var(--vb-blue-dark) 0%, var(--vb-blue) 100%) !important;
  border-top: 2px solid var(--vb-orange) !important;
  color: rgba(255, 255, 255, 0.90) !important;
  font-size: 12px !important;
  font-weight: 500;
  padding: 10px 16px !important;
  height: auto !important;
  border-radius: 0 0 var(--vb-radius-xl) var(--vb-radius-xl) !important;
}

html.vb-modern .msg {
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(5, 86, 134, 0.25) !important;
  border-top: 3px solid var(--vb-orange) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(3, 61, 96, 0.20);
  color: var(--vb-blue-dark) !important;
  padding: 12px 20px !important;
  height: auto !important;
}

/* ==========================================================================
   10. LOGIN PAGE (Yonetim.aspx) LIQUID GLASS CORPORATE STYLING
   ========================================================================== */
html.vb-modern body:has(#center #middle)>form>br {
  display: none !important;
}

html.vb-modern body:has(#center #middle)>form {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  box-sizing: border-box;
}

html.vb-modern body:has(#center #middle)>form::before {
  content: "";
  display: block;
  width: 240px;
  height: 94px;
  background: url('/Assets/Theme/vektorel-logo.png') center / contain no-repeat;
  filter: drop-shadow(0 6px 14px rgba(3, 61, 96, 0.14));
  margin-bottom: 2px;
  flex-shrink: 0;
}

html.vb-modern #main {
  height: auto !important;
}

html.vb-modern #lblMesaj:not(:empty) {
  display: inline-block;
  background: rgba(254, 226, 226, 0.94);
  color: #991B1B !important;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-left: 4px solid #DC2626 !important;
  border-radius: 10px !important;
  padding: 9px 18px !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.12);
}

html.vb-modern #lblMesaj .hatamsg {
  border: none !important;
  border-left: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  box-shadow: none !important;
}

html.vb-modern #center {
  background: transparent !important;
  border: none !important;
  width: min(92vw, 660px) !important;
  height: auto !important;
  min-height: 0 !important;
}

html.vb-modern #middle {
  position: relative !important;
  top: auto !important;
  background: rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(3, 61, 96, 0.18) !important;
  overflow: hidden;
  padding: 0 !important;
}

html.vb-modern #edgetop,
html.vb-modern #edgebot,
html.vb-modern .contentsub {
  display: none !important;
}

html.vb-modern #content {
  margin: 0 !important;
}

html.vb-modern #content h1 {
  margin: 0 !important;
  padding: 18px 24px !important;
  background: linear-gradient(135deg, var(--vb-blue) 0%, var(--vb-blue-dark) 100%) !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  text-align: center;
  border-bottom: 3px solid var(--vb-orange) !important;
}

html.vb-modern .contentmain {
  background: transparent !important;
  border: none !important;
  padding: 24px 28px !important;
  margin: 0 !important;
}

html.vb-modern .fancyform {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

html.vb-modern .contentleft {
  width: 58% !important;
  float: none !important;
  font-size: 13px !important;
  text-align: left;
}

html.vb-modern .contentleft br,
html.vb-modern .contentright br {
  display: none !important;
}

html.vb-modern .contentright {
  width: 38% !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  padding-bottom: 2px;
}

html.vb-modern .fancyform label {
  float: none !important;
  display: block;
  color: var(--vb-blue-dark) !important;
  font-size: 12.5px !important;
  margin: 10px 0 4px 0 !important;
}

html.vb-modern .fancyform label:first-child {
  margin-top: 0 !important;
}

html.vb-modern .fancyform input.text {
  width: 100% !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  height: auto !important;
}

html.vb-modern .fancyform .pwd-wrapper .text {
  padding-right: 38px !important;
}

html.vb-modern .pwd-wrapper .pwd-toggle {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px !important;
  margin: 0 !important;
  color: var(--vb-blue) !important;
  cursor: pointer;
}

html.vb-modern .pwd-wrapper .pwd-toggle:hover {
  background: rgba(5, 86, 134, 0.08) !important;
  border-radius: 6px !important;
}

html.vb-modern .contentright input.button {
  width: 100% !important;
  max-width: 180px;
  padding: 10px 20px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}

html.vb-modern .contentright img {
  border-radius: 8px;
  border: 1px solid rgba(5, 86, 134, 0.18);
  box-shadow: 0 2px 8px rgba(3, 61, 96, 0.08);
  display: block;
}

html.vb-modern #footer {
  background: rgba(5, 86, 134, 0.06) !important;
  border-top: 1px solid rgba(5, 86, 134, 0.12) !important;
  color: var(--vb-blue-dark) !important;
  font-size: 11.5px !important;
  font-weight: 600;
  padding: 10px 16px !important;
  text-align: center;
}