/* Consolidated stylesheet for KONTROLKA. Generated on 2026-04-04. */

:root {
--primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --accent-color: #10b981;
  --accent-dark: #059669;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --success-color: #10b981;
  --info-color: #06b6d4;
  
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #1e293b;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 80px;
  --header-height: 80px;
}

body.app-shell * {
box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
font-size: 16px;
  scroll-behavior: smooth;
}

body.app-shell {
font-family: var(--font-family);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.app-shell .sidebar {
position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0f172a 100%);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}

body.app-shell .sidebar.collapsed {
width: var(--sidebar-collapsed-width) !important;
  min-width: var(--sidebar-collapsed-width) !important;
  max-width: var(--sidebar-collapsed-width) !important;
}

body.app-shell .sidebar.collapsed .sidebar-header {
padding: 16px 0 !important;
  justify-content: center !important;
}

body.app-shell .sidebar.collapsed .sidebar-logo {
margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.app-shell .sidebar.collapsed .sidebar-header {
align-items: center !important;
}

body.app-shell .sidebar.collapsed .sidebar-title {
display: none !important;
}

body.app-shell .sidebar-header {
padding: 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.app-shell .sidebar-logo {
width: 40px;
  height: 40px;
  background: transparent;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}

body.app-shell .sidebar-logo img {
width: 100%;
  height: 100%;
  object-fit: contain;
}

body.app-shell .sidebar-title-wrapper {
display: flex;
  flex-direction: column;
  gap: 2px;
}

body.app-shell .sidebar-title {
font-size: var(--font-size-xl);
  font-weight: 700;
  color: #6b7280;
  transition: opacity 0.3s ease;
  line-height: 1.2;
}

body.app-shell .sidebar-subtitle {
font-size: 10px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

body.app-shell .sidebar.collapsed .sidebar-title-wrapper {
opacity: 0;
  width: 0;
  overflow: hidden;
}

body.app-shell .sidebar.collapsed .sidebar-title {
opacity: 0;
  width: 0;
  overflow: hidden;
}

body.app-shell .sidebar {
position: relative;
}

body.app-shell .sidebar-version {
position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 4px 8px;
  text-align: right;
  pointer-events: none;
}

body.app-shell .sidebar.collapsed .sidebar-version {
display: none;
}

body.app-shell .sidebar-version code {
font-size: 10px;
  color: #9ca3af;
  background: transparent;
  border: none;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
  letter-spacing: 0.5px;
  pointer-events: auto;
}

body.app-shell .sidebar.collapsed .sidebar-version {
display: none;
}

body.app-shell .user-profile {
padding: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

body.app-shell .user-avatar {
width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: var(--font-size-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

body.app-shell .user-avatar:hover {
transform: scale(1.05);
}

body.app-shell .user-info {
display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  transition: opacity 0.3s ease;
}

body.app-shell .sidebar.collapsed .user-profile {
padding: var(--space-4) !important;
  align-items: center !important;
  flex-direction: column !important;
}

body.app-shell .sidebar.collapsed .user-info {
display: none !important;
}

body.app-shell .sidebar.collapsed .user-avatar {
margin: 0 auto !important;
}

body.app-shell .user-phone {
font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-white);
}

body.app-shell .user-credits {
background: rgba(255, 255, 255, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  color: var(--accent-color);
  font-weight: 600;
}

body.app-shell .sidebar-nav {
flex: 1;
  padding: 0;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.app-shell .nav-list {
list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

body.app-shell .nav-item {
width: 100%;
  margin: 0;
  padding: 0;
}

body.app-shell .nav-link {
display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 0;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
  margin: 0;
}

body.app-shell .nav-link::before {
content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
  z-index: -1;
}

body.app-shell .nav-link:hover::before,
body.app-shell .nav-link.active::before {
width: 100%;
}

body.app-shell .nav-link:hover,
body.app-shell .nav-link.active {
color: var(--text-white);
  transform: translateX(4px);
}

body.app-shell .nav-icon {
width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  transition: transform 0.3s ease;
}

body.app-shell .nav-link:hover .nav-icon {
transform: scale(1.1);
}

body.app-shell .nav-text {
transition: opacity 0.3s ease;
}

body.app-shell .sidebar.collapsed .nav-text {
display: none !important;
}

body.app-shell .sidebar.collapsed .sidebar-nav {
padding: 0 !important;
}

body.app-shell .sidebar.collapsed .nav-list {
padding-top: 0 !important;
  margin-top: 0 !important;
}

body.app-shell .sidebar.collapsed .nav-link {
justify-content: center !important;
  padding: var(--space-4) 0 !important;
  flex-direction: column !important;
  width: 100% !important;
  border-radius: 0 !important;
}

body.app-shell .sidebar.collapsed .nav-icon {
margin: 0 !important;
}

body.app-shell .header {
position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  z-index: 999;
  transition: left 0.3s ease;
  box-shadow: var(--shadow-sm);
}

body.app-shell .sidebar.collapsed ~ .header {
left: var(--sidebar-collapsed-width) !important;
}

body.app-shell:has(.sidebar.collapsed) .header {
left: var(--sidebar-collapsed-width) !important;
}

body.app-shell .header-left {
display: flex;
  align-items: center;
  gap: var(--space-4);
}

body.app-shell .sidebar-toggle {
background: none;
  border: none;
  color: var(--text-secondary);
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

body.app-shell .sidebar-toggle:hover {
background: var(--gray-100);
  color: var(--text-primary);
}

body.app-shell .header-title {
font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #6b7280;
}

body.app-shell .header-right {
display: flex;
  align-items: center;
  gap: var(--space-4);
}

body.app-shell .logout-btn {
display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--danger-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

body.app-shell .logout-btn:hover {
background: #dc2626;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

body.app-shell .main-content {
margin-left: var(--sidebar-width);
  margin-top: var(--header-height);
  padding: var(--space-8);
  transition: margin-left 0.3s ease;
  min-height: calc(100vh - var(--header-height));
  width: calc(100vw - var(--sidebar-width));
  box-sizing: border-box;
}

body.app-shell .sidebar.collapsed ~ .main-content,
body.app-shell:has(.sidebar.collapsed) .main-content {
margin-left: var(--sidebar-collapsed-width) !important;
  width: calc(100vw - var(--sidebar-collapsed-width)) !important;
  min-height: calc(100vh - 80px) !important;
}

body.app-shell .sidebar.collapsed ~ .main-content .page-card,
body.app-shell:has(.sidebar.collapsed) .main-content .page-card,
body.app-shell .sidebar.collapsed ~ .main-content .page-card.card-wide,
body.app-shell:has(.sidebar.collapsed) .main-content .page-card.card-wide {
min-height: calc(100vh - 80px) !important;
}

body.app-shell .main-content {
max-width: none !important;
  overflow-x: hidden;
}

body.app-shell .card {
background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body.app-shell .card,
body.app-shell .vehicle-card {
transition: none !important;
}

body.app-shell .card:hover {
box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

body.app-shell .card-header {
padding: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--gray-50), var(--bg-primary));
}

body.app-shell .card-title {
font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

body.app-shell .card-subtitle {
color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

body.app-shell .card-body {
padding: var(--space-6);
}

body.app-shell .card-footer {
padding: var(--space-6);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

body.app-shell .btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

body.app-shell .btn::before {
content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

body.app-shell .btn:hover::before {
left: 100%;
}

body.app-shell .btn-primary {
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
}

body.app-shell .btn-primary:hover {
background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

body.app-shell .btn-secondary {
background: var(--gray-100);
  color: var(--text-secondary);
  border: 1px solid var(--gray-300);
}

body.app-shell .btn-secondary:hover {
background: var(--gray-200);
  color: var(--text-primary);
}

body.app-shell .btn.btn-gray,
body.app-shell a.btn.btn-gray,
body.app-shell button.btn.btn-gray {
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}

body.app-shell .btn.btn-gray:hover,
body.app-shell a.btn.btn-gray:hover,
body.app-shell button.btn.btn-gray:hover {
background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

body.app-shell .btn.btn-gray.active,
body.app-shell a.btn.btn-gray.active,
body.app-shell button.btn.btn-gray.active {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
  box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.4) !important;
  color: #1e293b !important;
  border-color: #cbd5e1 !important;
}

body.app-shell .btn.btn-gray.active:hover,
body.app-shell a.btn.btn-gray.active:hover,
body.app-shell button.btn.btn-gray.active:hover {
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
  box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.5), var(--shadow-lg) !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

body.app-shell .btn-success {
background: linear-gradient(135deg, var(--success-color), var(--accent-dark));
  color: var(--text-white);
}

body.app-shell .btn-success:hover {
background: linear-gradient(135deg, var(--accent-dark), var(--success-color));
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

body.app-shell .btn-danger {
background: linear-gradient(135deg, var(--danger-color), #dc2626);
  color: var(--text-white);
}

body.app-shell .btn-danger:hover {
background: linear-gradient(135deg, #dc2626, var(--danger-color));
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

body.app-shell .btn-warning {
background: linear-gradient(135deg, var(--warning-color), #d97706);
  color: var(--text-white);
}

body.app-shell .btn-warning:hover {
background: linear-gradient(135deg, #d97706, var(--warning-color));
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

body.app-shell .btn-sm {
padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

body.app-shell .btn-lg {
padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

body.app-shell .form-group {
margin-bottom: var(--space-6);
}

body.app-shell .form-label {
display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}

body.app-shell .form-input {
width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

body.app-shell .form-input:focus {
outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.app-shell .form-textarea {
resize: vertical;
  min-height: 120px;
}

body.app-shell .form-select {
appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-10);
}

body.app-shell .grid {
display: grid;
  gap: var(--space-6);
}

body.app-shell .grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}

body.app-shell .grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.app-shell .grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.app-shell .grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.app-shell .vehicle-grid {
display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

body.app-shell .vehicle-card {
background: var(--bg-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

body.app-shell .vehicle-card::before {
content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

body.app-shell .vehicle-card:hover {
transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

body.app-shell .vehicle-header {
display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

body.app-shell .vehicle-status {
display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

body.app-shell .vehicle-status.active {
background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

body.app-shell .vehicle-status.inactive {
background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

body.app-shell .vehicle-actions {
display: flex;
  gap: var(--space-2);
}

body.app-shell .vehicle-image {
width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
}

body.app-shell .vehicle-title {
font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

body.app-shell .vehicle-spz {
display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

body.app-shell .vehicle-details {
display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

body.app-shell .vehicle-detail {
display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--gray-200);
}

body.app-shell .vehicle-detail:last-child {
border-bottom: none;
}

body.app-shell .vehicle-detail-label {
font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

body.app-shell .vehicle-detail-value {
font-size: var(--font-size-sm);
  color: var(--text-primary);
  font-weight: 600;
}

body.app-shell .modal {
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.app-shell .modal.active {
opacity: 1;
  visibility: visible;
}

body.app-shell .modal-content {
background: var(--bg-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

body.app-shell .modal.active .modal-content {
transform: scale(1);
}

body.app-shell .modal-header {
position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  padding-right: 50px;
  border-bottom: 1px solid var(--gray-200);
}

body.app-shell .modal-title {
font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
}

body.app-shell .modal-close {
position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  background: none !important;
  border: none !important;
  font-size: var(--font-size-2xl) !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  padding: var(--space-2) !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
}

body.app-shell .modal-close:hover {
background: var(--gray-100);
  color: var(--text-primary);
}

body.app-shell .status-indicator {
display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

body.app-shell .status-indicator.success {
background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

body.app-shell .status-indicator.warning {
background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

body.app-shell .status-indicator.danger {
background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

body.app-shell .status-indicator.info {
background: rgba(6, 182, 212, 0.1);
  color: var(--info-color);
}

@keyframes fadeIn {
from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes pulse {
0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

body.app-shell .animate-fadeIn {
animation: fadeIn 0.5s ease-out;
}

body.app-shell .main-content,
body.app-shell .header-title,
body.app-shell .card,
body.app-shell .vehicle-card {
opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

body.app-shell .animate-slideIn {
animation: slideIn 0.3s ease-out;
}

body.app-shell .animate-pulse {
animation: pulse 2s infinite;
}

@media (max-width: 1024px) {
body.app-shell .sidebar {
transform: translateX(-100%);
}

body.app-shell .sidebar.active {
transform: translateX(0);
}

body.app-shell .header {
left: 0;
}

body.app-shell .main-content {
margin-left: 0;
}

body.app-shell .vehicle-grid {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
}

@media (max-width: 768px) {
body.app-shell .main-content {
padding: var(--space-4);
}

body.app-shell .vehicle-grid {
grid-template-columns: 1fr;
}

body.app-shell .grid-cols-2,
body.app-shell .grid-cols-3,
body.app-shell .grid-cols-4 {
grid-template-columns: 1fr;
}

body.app-shell .modal-content {
width: 95%;
    padding: var(--space-6);
}

body.app-shell .header {
padding: 0 var(--space-4);
}

body.app-shell .header-title {
font-size: var(--font-size-xl);
}
}

@media (max-width: 480px) {
body.app-shell .main-content {
padding: var(--space-3);
}

body.app-shell .vehicle-card {
padding: var(--space-4);
}

body.app-shell .modal-content {
padding: var(--space-4);
}

body.app-shell .btn {
padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
}
}

body.app-shell .text-center {
text-align: center;
}

body.app-shell .text-left {
text-align: left;
}

body.app-shell .text-right {
text-align: right;
}

body.app-shell .font-bold {
font-weight: 700;
}

body.app-shell .font-semibold {
font-weight: 600;
}

body.app-shell .font-medium {
font-weight: 500;
}

body.app-shell .text-primary {
color: var(--text-primary);
}

body.app-shell .text-secondary {
color: var(--text-secondary);
}

body.app-shell .text-muted {
color: var(--text-muted);
}

body.app-shell .text-white {
color: var(--text-white);
}

body.app-shell .bg-primary {
background-color: var(--bg-primary);
}

body.app-shell .bg-secondary {
background-color: var(--bg-secondary);
}

body.app-shell .bg-tertiary {
background-color: var(--bg-tertiary);
}

body.app-shell .mb-2 {
margin-bottom: var(--space-2);
}

body.app-shell .mb-4 {
margin-bottom: var(--space-4);
}

body.app-shell .mb-6 {
margin-bottom: var(--space-6);
}

body.app-shell .mb-8 {
margin-bottom: var(--space-8);
}

body.app-shell .mt-2 {
margin-top: var(--space-2);
}

body.app-shell .mt-4 {
margin-top: var(--space-4);
}

body.app-shell .mt-6 {
margin-top: var(--space-6);
}

body.app-shell .mt-8 {
margin-top: var(--space-8);
}

body.app-shell .p-2 {
padding: var(--space-2);
}

body.app-shell .p-4 {
padding: var(--space-4);
}

body.app-shell .p-6 {
padding: var(--space-6);
}

body.app-shell .p-8 {
padding: var(--space-8);
}

body.app-shell .rounded {
border-radius: var(--radius-md);
}

body.app-shell .rounded-lg {
border-radius: var(--radius-lg);
}

body.app-shell .rounded-xl {
border-radius: var(--radius-xl);
}

body.app-shell .rounded-2xl {
border-radius: var(--radius-2xl);
}

body.app-shell .shadow {
box-shadow: var(--shadow-md);
}

body.app-shell .shadow-lg {
box-shadow: var(--shadow-lg);
}

body.app-shell .shadow-xl {
box-shadow: var(--shadow-xl);
}

body.app-shell .hidden {
display: none;
}

body.app-shell .block {
display: block;
}

body.app-shell .inline-block {
display: inline-block;
}

body.app-shell .flex {
display: flex;
}

body.app-shell .inline-flex {
display: inline-flex;
}

body.app-shell .items-center {
align-items: center;
}

body.app-shell .justify-center {
justify-content: center;
}

body.app-shell .justify-between {
justify-content: space-between;
}

body.app-shell .gap-2 {
gap: var(--space-2);
}

body.app-shell .gap-4 {
gap: var(--space-4);
}

body.app-shell .gap-6 {
gap: var(--space-6);
}

body.app-shell .w-full {
width: 100%;
}

body.app-shell .h-full {
height: 100%;
}

body.app-shell .loading {
position: relative;
  overflow: hidden;
}

body.app-shell .loading::after {
content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
0% { left: -100%; }
  100% { left: 100%; }
}

body.app-shell .toast {
position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  background: var(--bg-primary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

body.app-shell .toast.show {
transform: translateX(0);
}

body.app-shell .toast.success {
border-left: 4px solid var(--success-color);
}

body.app-shell .toast.error {
border-left: 4px solid var(--danger-color);
}

body.app-shell .toast.warning {
border-left: 4px solid var(--warning-color);
}

body.app-shell .toast.info {
border-left: 4px solid var(--info-color);
}

body.app-shell .billing-option {
display: block;
}

body.app-shell .billing-option input[type="radio"] {
display: none;
}

body.app-shell .billing-card {
border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
}

body.app-shell .billing-option:hover .billing-card {
border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.app-shell .billing-option input[type="radio"]:checked + .billing-card {
border-color: var(--primary-color);
  background: #f0f9ff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

@media (max-width: 1024px) {
body.app-shell .grid-cols-4 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.app-shell .grid-cols-2 {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
body.app-shell .main-content {
padding: 16px;
}

body.app-shell .header {
height: 60px;
    padding: 0 16px;
}

body.app-shell .header-title {
font-size: 18px;
}

body.app-shell .card {
margin-bottom: 16px;
}

body.app-shell .card-body {
padding: 16px;
}

body.app-shell .grid-cols-4,
body.app-shell .grid-cols-3,
body.app-shell .grid-cols-2 {
grid-template-columns: 1fr;
}

body.app-shell .vehicle-grid {
grid-template-columns: 1fr;
    gap: 16px;
}

body.app-shell .vehicle-card {
margin-bottom: 16px;
}

body.app-shell .grid.grid-cols-2 {
grid-template-columns: 1fr;
}

body.app-shell .modal-content {
margin: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

body.app-shell .btn {
padding: 8px 16px;
    font-size: 14px;
}

body.app-shell .btn-lg {
padding: 12px 20px;
    font-size: 16px;
}

body.app-shell .text-2xl {
font-size: 1.5rem;
}

body.app-shell .text-xl {
font-size: 1.25rem;
}

body.app-shell .text-lg {
font-size: 1.125rem;
}
}

@media (max-width: 480px) {
body.app-shell .main-content {
padding: 12px;
}

body.app-shell .header {
height: 56px;
    padding: 0 12px;
}

body.app-shell .header-title {
font-size: 16px;
}

body.app-shell .card-body {
padding: 12px;
}

body.app-shell .grid-cols-4,
body.app-shell .grid-cols-3,
body.app-shell .grid-cols-2 {
grid-template-columns: 1fr;
    gap: 12px;
}

body.app-shell .vehicle-grid {
gap: 12px;
}

body.app-shell .modal-content {
margin: 8px;
    max-height: calc(100vh - 16px);
}

body.app-shell .nav-text {
font-size: 14px;
}

body.app-shell .nav-icon {
font-size: 16px;
}

body.app-shell .text-2xl {
font-size: 1.25rem;
}

body.app-shell .text-xl {
font-size: 1.125rem;
}
}

body.app-shell .widget-header {
width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

body.app-shell .widget-header .header-content {
width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  color: #fff;
}

body.app-shell .widget-header h2 {
margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

body.app-shell .widget-header .edit-button {
background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

body.app-shell .widget-header .edit-button:hover {
background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

body.app-shell .info-header {
text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

body.app-shell .info-header h1 {
font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

body.app-shell .info-header h1 i {
margin-right: 1rem;
  color: var(--primary-color);
}

body.app-shell .info-subtitle {
font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0;
}

body.app-shell .info-section {
margin-bottom: 3rem;
  padding: 0 1rem;
}

body.app-shell .info-section h2 {
font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.app-shell .info-section h2 i {
color: var(--primary-color);
}

body.app-shell .info-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

body.app-shell .info-card {
background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.app-shell .info-card:hover {
transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.app-shell .info-icon {
width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

body.app-shell .info-content h3 {
font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

body.app-shell .info-content p {
font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

body.app-shell .stats-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

body.app-shell .stat-card {
background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 12px;
  padding: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

body.app-shell .stat-card:hover {
transform: translateY(-2px);
}

body.app-shell .stat-icon {
width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

body.app-shell .stat-content h3 {
font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

body.app-shell .stat-content p {
font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

body.app-shell .features-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

body.app-shell .feature-card {
background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.app-shell .feature-card:hover {
transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.app-shell .feature-icon {
width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

body.app-shell .feature-content h3 {
font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

body.app-shell .feature-content p {
font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

body.app-shell .tech-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

body.app-shell .tech-item {
background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  color: var(--text-primary);
}

body.app-shell .tech-item strong {
color: var(--primary-color);
}

body.app-shell .pricing-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

body.app-shell .pricing-card {
background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.app-shell .pricing-card:hover {
transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.app-shell .pricing-card.featured {
border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

body.app-shell .pricing-card.featured:hover {
transform: scale(1.05) translateY(-2px);
}

body.app-shell .pricing-header {
margin-bottom: 1.5rem;
}

body.app-shell .pricing-header h3 {
font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

body.app-shell .price {
font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

body.app-shell .badge {
position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

body.app-shell .pricing-features {
list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

body.app-shell .pricing-features li {
padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

body.app-shell .pricing-features li i {
color: #10b981;
  font-size: 0.8rem;
}

body.app-shell .contact-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

body.app-shell .contact-card {
background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.app-shell .contact-card:hover {
transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.app-shell .contact-icon {
width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

body.app-shell .contact-content h3 {
font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

body.app-shell .contact-content p {
font-size: 0.9rem;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

body.app-shell .contact-content small {
font-size: 0.8rem;
  color: var(--text-secondary);
}

body.app-shell .info-footer {
text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 3rem;
}

body.app-shell .info-footer p {
margin: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
body.app-shell .info-header h1 {
font-size: 2rem;
}

body.app-shell .info-subtitle {
font-size: 1rem;
}

body.app-shell .info-grid,
body.app-shell .stats-grid,
body.app-shell .features-grid,
body.app-shell .pricing-grid,
body.app-shell .contact-grid {
grid-template-columns: 1fr;
}

body.app-shell .pricing-card.featured {
transform: none;
}

body.app-shell .pricing-card.featured:hover {
transform: translateY(-2px);
}

body.app-shell .info-card,
body.app-shell .feature-card,
body.app-shell .contact-card {
flex-direction: column;
    text-align: center;
}

body.app-shell .stat-card {
flex-direction: column;
    text-align: center;
}
}

body.app-shell .profile-container,
body.app-shell .settings-container {
width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.app-shell .card-wide {
width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 2% 1% 2% 2%;
  overflow: visible;
  box-sizing: border-box;
}

body.app-shell .page-card {
margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: calc(100vh - 2%);
  overflow: visible;
}

body.app-shell .main-content:has(.page-card),
body.app-shell .main-content:has(.profile-container),
body.app-shell .main-content:has(.settings-container) {
padding-left: 0 !important; 
  padding-right: 0 !important; 
  padding-top: 0 !important; 
  padding-bottom: 0 !important;
}

body.app-shell .profile-container.page-card.card-wide,
body.app-shell .settings-container.page-card.card-wide {
margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.app-shell .breadcrumb-nav {
margin-bottom: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0;
  width: calc(100% + 3rem);
}

body.app-shell .breadcrumb {
list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

body.app-shell .breadcrumb li {
display: flex;
  align-items: center;
}

body.app-shell .breadcrumb li:not(:last-child)::after {
content: '/';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-weight: 400;
}

body.app-shell .breadcrumb li a {
color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.app-shell .breadcrumb li a:hover {
color: #2563eb;
  text-decoration: underline;
}

body.app-shell .breadcrumb li.active a {
color: #6b7280;
  cursor: default;
  text-decoration: none;
}

body.app-shell .breadcrumb li.active a:hover {
text-decoration: none;
}

body.app-shell .profile-header {
background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

body.app-shell .profile-header .profile-avatar {
width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

body.app-shell .profile-header-info {
flex: 1;
  padding-right: 140px;
}

body.app-shell .profile-name {
font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1e293b;
}

body.app-shell .profile-phone {
font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

body.app-shell .profile-status {
position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: inline-block;
  background: #f0fdf4;
  color: #10b981;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

body.app-shell .profile-sections {
display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0;
  width: 100%;
}

body.app-shell .profile-sections-left {
display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.app-shell .profile-sections-right {
display: flex;
  flex-direction: column;
}

body.app-shell .profile-section-card {
background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

body.app-shell .settings-section {
margin-bottom: 2rem;
}

body.app-shell .setting-item {
display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
  gap: 1rem;
}

body.app-shell .setting-label {
flex: 1;
}

body.app-shell .setting-label h4 {
font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

body.app-shell .setting-label p {
font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

body.app-shell .select-input {
padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
}

body.app-shell .template-section {
margin-top: 2rem;
}

body.app-shell .template-group {
margin-bottom: 1.5rem;
}

body.app-shell .template-group label {
display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

body.app-shell .template-group textarea {
width: 100%;
  min-height: 120px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: monospace;
  resize: vertical;
  box-sizing: border-box;
}

body.app-shell .template-group textarea:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.app-shell .template-group textarea:disabled {
background-color: #f3f4f6;
  cursor: not-allowed;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

body.app-shell .template-help {
font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

body.app-shell .template-help code {
background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

body.app-shell .btn-save {
padding: 0.75rem 1.5rem;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.app-shell .btn-save:hover {
background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

body.app-shell .section-title {
font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

body.app-shell .profile-section-card .section-title {
background: #f8fafc;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

body.app-shell .section-content {
padding: 1.5rem;
}

body.app-shell .section-form {
margin: 0;
}

body.app-shell .form-row {
display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.app-shell .form-row-2 {
display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

body.app-shell .form-row .form-group {
flex: 1;
  margin-bottom: 0;
}

body.app-shell .form-group {
margin-bottom: 1rem;
}

body.app-shell .form-group label {
display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #374151;
  font-size: 0.9rem;
}

body.app-shell .form-input {
width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: white;
}

body.app-shell .form-input:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.app-shell .form-input[type="file"] {
padding: 0.5rem;
  cursor: pointer;
}

body.app-shell select.form-input {
cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  appearance: none;
}

body.app-shell .gdpr-consents-section {
margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

body.app-shell .consent-item {
margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

body.app-shell .consent-item:last-of-type {
border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

body.app-shell .consent-header {
display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

body.app-shell .consent-controls {
display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

body.app-shell .btn-revoke {
padding: 0.4rem 0.8rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.app-shell .btn-revoke:hover {
background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

body.app-shell .consent-title {
font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex: 1;
}

body.app-shell .consent-text {
font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

body.app-shell .consent-link {
font-size: 0.9rem;
  color: #4b5563;
  margin: 0;
}

body.app-shell .consent-link a {
color: #3b82f6;
  text-decoration: none;
}

body.app-shell .consent-link a:hover {
text-decoration: underline;
}

body.app-shell .consent-confirmation {
font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
  margin: 1.5rem 0 1rem 0;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 6px;
  border-left: 3px solid #3b82f6;
}

body.app-shell .toggle-switch {
position: relative;
  display: inline-block !important;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
  z-index: 1;
  visibility: visible !important;
  opacity: 1 !important;
}

body.app-shell .toggle-switch input {
opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

body.app-shell .toggle-slider {
position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ef4444 !important;
  transition: 0.3s;
  border-radius: 26px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.app-shell .toggle-slider:before {
position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white !important;
  transition: 0.3s;
  border-radius: 50%;
  display: block !important;
}

body.app-shell .toggle-switch input:checked + .toggle-slider {
background-color: #10b981 !important;
}

body.app-shell .toggle-switch input:not(:checked) + .toggle-slider {
background-color: #ef4444 !important;
}

body.app-shell .toggle-switch input:checked + .toggle-slider:before {
transform: translateX(24px);
}

body.app-shell .toggle-switch input:focus + .toggle-slider {
box-shadow: 0 0 1px #10b981;
}

body.app-shell .btn-section {
padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

body.app-shell .btn-green {
background: #10b981;
  color: white;
}

body.app-shell .btn-green:hover {
background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

body.app-shell .stats-grid {
display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

body.app-shell .stat-item {
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

body.app-shell .stat-number {
font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

body.app-shell .stat-label {
font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

body.app-shell .toast {
position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2147483647;
  max-width: 500px;
  min-width: 300px;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  background: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1f2937;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.app-shell .toast.show {
opacity: 1; 
  transform: translateX(0);
}

body.app-shell .toast.success {
background: #f8f9fa; 
  color: #1f2937;
}

body.app-shell .toast.error {
background: #f8f9fa; 
  color: #1f2937;
}

body.app-shell .toast i {
font-size: 16px;
  flex-shrink: 0;
}

body.app-shell .toast.success i {
color: #10b981;
}

body.app-shell .toast.error i {
color: #ef4444;
}

body.app-shell .toast .toast-text {
flex: 1; 
  font-weight: 500; 
  line-height: 1.4; 
  color: #1f2937;
}

body.app-shell .toast .toast-close {
background: transparent; 
  border: 0; 
  width: 24px; 
  height: 24px; 
  border-radius: 0; 
  color: #6b7280; 
  cursor: pointer; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

body.app-shell .toast .toast-close:hover {
background: rgba(0, 0, 0, 0.05);
}

body.app-shell .toast .toast-close i {
font-size: 14px;
  color: #6b7280;
}

body.app-shell .password-input-wrapper {
position: relative;
}

body.app-shell .password-input-wrapper .form-input {
padding-right: 45px;
}

body.app-shell .password-toggle {
position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #9ca3af;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 10;
}

body.app-shell .password-toggle:hover {
color: #6b7280;
}

body.app-shell .profile-section-card .password-input-wrapper,
body.app-shell .section-content .password-input-wrapper {
position: relative !important;
}

body.app-shell .profile-section-card .password-input-wrapper .form-input,
body.app-shell .section-content .password-input-wrapper .form-input {
padding-right: 45px !important;
}

body.app-shell .profile-section-card .password-toggle,
body.app-shell .section-content .password-toggle {
position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 768px) {
body.app-shell .profile-sections {
grid-template-columns: 1fr;
}

body.app-shell .form-row-2 {
grid-template-columns: 1fr;
}

body.app-shell .profile-header {
padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    flex-direction: column;
    text-align: center;
}

body.app-shell .profile-name {
font-size: 1.25rem;
}

body.app-shell .profile-header-info {
padding-right: 0;
}

body.app-shell .profile-status {
position: static;
    margin-top: 0.5rem;
}

body.app-shell .section-content {
padding: 1rem;
}
}


body.auth-page * {
margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.auth-page {
background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 50%, #6b7280 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow-x: hidden;
}

body.auth-page::before {
content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

body.auth-page::after {
content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

body.auth-page .cyberpunk-bg {
display: none;
}

body.auth-page .neon-glow {
display: none;
}

body.auth-page .login-container {
width: 100%;
    max-width: 1200px;
    min-height: 600px;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

@keyframes slideUp {
from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.auth-page .cyberpunk-bg-panel {
width: 50%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%),
        url('https://images.unsplash.com/photo-1493238792000-8113da705763?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Y2FyJTIwd2FsbHBhcGVyfGVufDB8fDB8fHww&fm=jpg&q=60&w=3000');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .cyberpunk-bg-panel::before {
content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(75, 0, 130, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(25, 25, 112, 0.2) 0%, transparent 60%);
    animation: cosmicGlow 10s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes cosmicGlow {
0% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

body.auth-page .cyberpunk-bg-panel::after {
content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

body.auth-page .bg-panel-links {
position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 3;
    padding: 0 30px;
}

body.auth-page .bg-panel-link a {
color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.auth-page .bg-panel-link a:hover {
background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body.auth-page .login-form-panel {
width: 50%;
    background: #ffffff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

body.auth-page .login-header {
margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

body.auth-page .login-logo {
width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 50%, #4b5563 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(107, 114, 128, 0.4);
}

body.auth-page .login-title {
font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a202c;
    letter-spacing: -0.5px;
}

body.auth-page .login-subtitle {
font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    color: #718096;
}

body.auth-page .tab-buttons {
display: flex;
    background: #f7fafc;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 30px;
    gap: 6px;
}

body.auth-page .tab-button {
flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
}

body.auth-page .tab-button.active {
background: #ffffff;
    color: #6b7280;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.auth-page .tab-button:hover:not(.active) {
color: #6b7280;
    background: rgba(107, 114, 128, 0.05);
}

body.auth-page .tab-content {
display: none;
}

body.auth-page .tab-content.active {
display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body.auth-page .form-group {
margin-bottom: 24px;
    position: relative;
}

body.auth-page .form-row {
display: flex;
    gap: 16px;
}

body.auth-page .form-row .form-group {
flex: 1;
    margin-bottom: 24px;
}

body.auth-page .form-label {
display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

body.auth-page .form-input {
width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #1a202c;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

body.auth-page .form-input:focus {
border-color: #6b7280;
    box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.1);
    background: #ffffff;
}

body.auth-page .form-input::placeholder {
color: #a0aec0;
    font-weight: 400;
}

body.auth-page .password-input-wrapper {
position: relative;
}

body.auth-page .password-input-wrapper .form-input {
padding-right: 45px;
}

body.auth-page .password-toggle {
position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 10;
}

body.auth-page .password-toggle:hover {
color: #6b7280;
}

body.auth-page .btn {
width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 50%, #4b5563 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(107, 114, 128, 0.4);
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    line-height: 1.5;
}

body.auth-page a.btn {
text-decoration: none;
}

body.auth-page .btn::before {
content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

body.auth-page .btn:hover::before {
left: 100%;
}

body.auth-page .btn:hover {
transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.5);
}

body.auth-page .btn:active {
transform: translateY(0);
}

body.auth-page .error-message {
background: #fee;
    border: 2px solid #feb2b2;
    color: #c53030;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.auth-page .success-message {
background: #f0fff4;
    border: 2px solid #9ae6b4;
    color: #22543d;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.auth-page .login-link {
text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

body.auth-page .login-link + .login-link {
margin-top: 8px;
}

body.auth-page .login-link a {
color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

body.auth-page .login-link a:hover {
color: #4b5563;
    text-decoration: underline;
}

body.auth-page .forgot-message {
margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

body.auth-page .forgot-message.success {
background: #f0fff4;
    color: #22543d;
    border: 2px solid #9ae6b4;
}

body.auth-page .forgot-message.error {
background: #fee;
    color: #c53030;
    border: 2px solid #feb2b2;
}

body.auth-page .info {
margin-bottom: 16px;
    padding: 12px 16px;
    background: #ebf8ff;
    color: #2c5282;
    border-radius: 10px;
    font-size: 0.9rem;
    border: 2px solid #bee3f8;
}

body.auth-page .error {
margin-bottom: 16px;
    padding: 12px 16px;
    background: #fee;
    color: #c53030;
    border-radius: 10px;
    font-size: 0.9rem;
    border: 2px solid #feb2b2;
}

body.auth-page .remember-me-container {
display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 8px;
}

body.auth-page .remember-me-label {
display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

body.auth-page .toggle-switch {
position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

body.auth-page .toggle-switch input {
opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

body.auth-page .toggle-slider {
position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #9ca3af;
    transition: 0.3s;
    border-radius: 26px;
}

body.auth-page .toggle-slider:before {
position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.auth-page .toggle-switch input:checked + .toggle-slider {
background-color: #1ab394;
}

body.auth-page .toggle-switch input:checked + .toggle-slider:before {
transform: translateX(24px);
}

@media (max-width: 1024px) {
body.auth-page .login-container {
max-width: 100%;
        min-height: auto;
}

body.auth-page .login-form-panel {
width: 100%;
        padding: 50px 40px;
}

body.auth-page .cyberpunk-bg-panel {
display: none;
}

body.auth-page .mobile-auth-links {
display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid #e2e8f0;
}

body.auth-page .mobile-auth-links .login-link {
text-align: center;
        margin-top: 0;
}

body.auth-page .mobile-auth-links .login-link a {
color: #6b7280;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: color 0.3s ease;
}

body.auth-page .mobile-auth-links .login-link a:hover {
color: #4b5563;
}
}

@media (min-width: 1025px) {
body.auth-page .mobile-auth-links {
display: none;
}
}

@media (max-width: 768px) {
body.auth-page {
padding: 10px;
}

body.auth-page .login-container {
border-radius: 16px;
        min-height: auto;
}

body.auth-page .login-form-panel {
padding: 40px 30px;
}

body.auth-page .login-title {
font-size: 1.75rem;
}

body.auth-page .form-row {
flex-direction: column;
        gap: 0;
}

body.auth-page .form-row .form-group {
margin-bottom: 24px;
}

body.auth-page .tab-button {
padding: 10px 12px;
        font-size: 0.85rem;
}
}

@media (max-width: 480px) {
body.auth-page .login-form-panel {
padding: 30px 20px;
}

body.auth-page .login-title {
font-size: 1.5rem;
}

body.auth-page .login-subtitle {
font-size: 0.85rem;
}

body.auth-page .tab-buttons {
margin-bottom: 24px;
}

body.auth-page .form-input {
padding: 12px 16px;
        font-size: 16px;
}

body.auth-page .btn {
padding: 14px 20px;
        font-size: 0.95rem;
}

body.auth-page .login-logo {
width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 16px;
}
}


html body.app-shell,
body.app-shell {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
  height: 100% !important;
}

body.app-shell .main-content {
width: calc(100vw - 280px) !important;
  margin-left: 280px !important;
  margin-top: var(--header-height) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
  background-color: transparent !important;
  min-height: calc(100vh - var(--header-height)) !important;
  transition: margin-left 0.3s ease, width 0.3s ease !important;
}

body.app-shell .main-content:has(.page-card) {
padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.app-shell .page-card.card-wide {
overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 2% 1% 2% 2% !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
  min-height: calc(100vh - 80px) !important;
  height: auto !important;
}

body.app-shell .breadcrumb-nav {
margin-bottom: 1.5rem !important;
  margin-left: -1.5rem !important;
  margin-right: -1.5rem !important;
  padding: 0.75rem 1.5rem !important;
  background: #f8f9fa !important;
  border-radius: 0 !important;
  width: calc(100% + 3rem) !important;
  box-sizing: border-box !important;
}

body.app-shell .breadcrumb {
list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.9rem !important;
}

body.app-shell .breadcrumb li {
display: flex !important;
  align-items: center !important;
}

body.app-shell .breadcrumb li:not(:last-child)::after {
content: '/' !important;
  margin-left: 0.5rem !important;
  color: #9ca3af !important;
  font-weight: 400 !important;
}

body.app-shell .breadcrumb li a {
color: #3b82f6 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.app-shell .breadcrumb li a:hover {
color: #2563eb !important;
  text-decoration: underline !important;
}

body.app-shell .breadcrumb li.active a {
color: #6b7280 !important;
  cursor: default !important;
  text-decoration: none !important;
}

body.app-shell .breadcrumb li.active a:hover {
text-decoration: none !important;
}

@media (max-width: 768px) {
body.app-shell table {
font-size: 12px;
}

body.app-shell th,
body.app-shell td {
padding: 12px 8px !important;
}
}

@media (max-width: 768px) {
body.app-shell div[style*="grid-template-columns"] {
grid-template-columns: 1fr !important;
}
}

body.app-shell .sidebar-version {
position: absolute !important;
  bottom: 16px !important;
  right: 16px !important;
  z-index: 1001 !important;
  margin-top: auto !important;
  padding: 4px 8px !important;
  text-align: right !important;
  pointer-events: none !important;
}

body.app-shell .sidebar-version code {
font-size: 10px !important;
  color: #9ca3af !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace !important;
  letter-spacing: 0.5px !important;
  pointer-events: auto !important;
}

body.app-shell .sidebar.collapsed .sidebar-version {
display: none !important;
}

body.app-shell .sidebar-header {
padding: 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.app-shell .sidebar-nav {
position: relative !important;
  flex: 1 !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

body.app-shell .nav-list {
flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 50px !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-height: 0 !important;
}

body.app-shell .sidebar.collapsed {
width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
}

body.app-shell .sidebar.collapsed .sidebar-header {
padding: 16px 0 !important;
  justify-content: center !important;
  align-items: center !important;
}

body.app-shell .sidebar.collapsed .sidebar-logo {
margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.app-shell .sidebar.collapsed .sidebar-nav {
padding: 0 !important;
}

body.app-shell .sidebar.collapsed .nav-list {
padding-top: 0 !important;
  margin-top: 0 !important;
}

body.app-shell .sidebar.collapsed .sidebar-title-wrapper {
opacity: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

body.app-shell .sidebar.collapsed .sidebar-title {
display: none !important;
}

body.app-shell .sidebar.collapsed .nav-text {
opacity: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

body.app-shell .sidebar {
position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  z-index: 1000 !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 1025px) {
body.app-shell .sidebar {
transform: translateX(0) !important;
}

body.app-shell .sidebar:not(.collapsed) ~ .main-content,
body.app-shell:has(.sidebar:not(.collapsed)) .main-content,
body.app-shell .sidebar.active:not(.collapsed) ~ .main-content,
body.app-shell:has(.sidebar.active:not(.collapsed)) .main-content {
margin-left: 280px !important;
    width: calc(100vw - 280px) !important;
    transition: margin-left 0.3s ease, width 0.3s ease !important;
}
}

@media (max-width: 1024px) {
body.app-shell .main-content {
margin-left: 0 !important;
    width: 100vw !important;
    padding: 0 !important;
}

body.app-shell .sidebar {
transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 280px !important;
    z-index: 1000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

body.app-shell .sidebar.active {
transform: translateX(0) !important;
}

body.app-shell .sidebar .sidebar-version {
position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    z-index: 1001 !important;
    margin-top: auto !important;
}

body.app-shell .sidebar-overlay {
position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 998 !important;
    display: none !important;
}

body.app-shell .sidebar.active + .sidebar-overlay {
display: block !important;
}
}

body.app-shell .sidebar.collapsed ~ .main-content,
body.app-shell:has(.sidebar.collapsed) .main-content {
margin-left: 80px !important;
  width: calc(100vw - 80px) !important;
  min-height: calc(100vh - 80px) !important;
}

body.app-shell .sidebar.collapsed ~ .main-content .page-card.card-wide,
body.app-shell:has(.sidebar.collapsed) .main-content .page-card.card-wide,
body.app-shell .sidebar.collapsed ~ .main-content .page-card,
body.app-shell:has(.sidebar.collapsed) .main-content .page-card {
min-height: calc(100vh - 80px) !important;
}

body.app-shell .toast {
position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2147483647;
  max-width: 500px;
  min-width: 300px;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1f2937;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.app-shell .toast.show {
opacity: 1;
  transform: translateX(0);
}

body.app-shell .toast.info {
background: #f8f9fa;
  border-left: 4px solid #3b82f6;
}

body.app-shell .toast.success {
background: #f0fdf4;
  border-left: 4px solid #10b981;
}

body.app-shell .toast.error {
background: #fef2f2;
  border-left: 4px solid #ef4444;
}

body.app-shell .toast i {
font-size: 16px;
  flex-shrink: 0;
}

body.app-shell .toast.info i {
color: #3b82f6;
}

body.app-shell .toast.success i {
color: #10b981;
}

body.app-shell .toast.error i {
color: #ef4444;
}

body.app-shell .toast span {
flex: 1;
  font-weight: 500;
  line-height: 1.4;
  color: #1f2937;
}


/* Inline styles migrated from /index.php */
body.app-shell {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      min-height: 100vh;
}

body.app-shell .sidebar {
background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 280px !important;
      height: 100vh !important;
      z-index: 1000 !important;
      overflow-y: hidden !important;
      overflow-x: hidden !important;
}

body.app-shell .sidebar-logo {
background: transparent;
      box-shadow: none;
      animation: none;
      padding: 4px;
      overflow: hidden;
}

body.app-shell .sidebar-logo img {
width: 100%;
      height: 100%;
      object-fit: contain;
}

@keyframes logoGlow {
0% { box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3); }
      100% { box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3); }
}

body.app-shell .user-avatar {
background: linear-gradient(135deg, #3b82f6, #10b981);
      box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
      transition: all 0.3s ease;
}

body.app-shell .user-avatar:hover {
transform: scale(1.1) rotate(5deg);
      box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

body.app-shell .header {
background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(226, 232, 240, 0.8);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.app-shell .header-title {
background: linear-gradient(135deg, #6b7280, #9ca3af);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

body.app-shell .nav-link::after {
content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      transition: left 0.5s ease;
}

body.app-shell .nav-link:hover::after {
left: 100%;
}

body.app-shell {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.app-shell .sidebar {
background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
      width: 280px !important;
}

body.app-shell .sidebar-header {
padding: 24px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.app-shell .sidebar-logo {
width: 40px !important;
      height: 40px !important;
      background: transparent !important;
      border-radius: 12px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 4px !important;
      overflow: hidden !important;
      box-shadow: none !important;
      animation: none !important;
}

body.app-shell .sidebar-logo img {
width: 100% !important;
      height: 100% !important;
      object-fit: contain !important;
}

body.app-shell .sidebar-title-wrapper {
display: flex !important;
      flex-direction: column !important;
      gap: 2px !important;
      margin-left: 12px !important;
}

body.app-shell .sidebar-title {
font-size: 20px !important;
      font-weight: 700 !important;
      color: #6b7280 !important;
      line-height: 1.2 !important;
}

body.app-shell .sidebar-subtitle {
font-size: 10px !important;
      font-weight: 400 !important;
      color: #9ca3af !important;
      line-height: 1.2 !important;
      letter-spacing: 0.3px !important;
}

body.app-shell .user-profile {
padding: 24px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 12px !important;
}

body.app-shell .user-avatar {
width: 60px !important;
      height: 60px !important;
      border-radius: 50% !important;
      background: linear-gradient(135deg, #3b82f6, #10b981) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      color: white !important;
      font-weight: 600 !important;
      font-size: 18px !important;
      border: 3px solid rgba(255, 255, 255, 0.2) !important;
      transition: all 0.3s ease !important;
      box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3) !important;
}

body.app-shell .user-avatar:hover {
transform: scale(1.1) rotate(5deg) !important;
      box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4) !important;
}

body.app-shell .user-phone {
font-size: 14px !important;
      font-weight: 600 !important;
      color: #ffffff !important;
}

body.app-shell .user-credits {
background: rgba(255, 255, 255, 0.1) !important;
      padding: 4px 12px !important;
      border-radius: 8px !important;
      font-size: 12px !important;
      color: #10b981 !important;
      font-weight: 600 !important;
}

body.app-shell .nav-list {
list-style: none !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 8px !important;
      padding: 16px !important;
}

body.app-shell .nav-link {
display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      padding: 12px 16px !important;
      color: rgba(255, 255, 255, 0.8) !important;
      text-decoration: none !important;
      border-radius: 12px !important;
      font-weight: 500 !important;
      transition: all 0.3s ease !important;
      position: relative !important;
      overflow: visible !important;
}

body.app-shell .nav-badge {
position: absolute !important;
      top: 8px !important;
      right: 8px !important;
      background: #ef4444 !important;
      color: white !important;
      border-radius: 10px !important;
      min-width: 20px !important;
      height: 20px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 11px !important;
      font-weight: 700 !important;
      padding: 0 6px !important;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
      z-index: 1 !important;
      line-height: 1 !important;
}

body.app-shell .sidebar.collapsed .nav-badge {
top: 4px !important;
      right: 4px !important;
      min-width: 18px !important;
      height: 18px !important;
      font-size: 10px !important;
}

body.app-shell .nav-link:hover,
body.app-shell .nav-link.active {
color: #ffffff !important;
      background: linear-gradient(135deg, #3b82f6, #10b981) !important;
      transform: translateX(4px) !important;
}

body.app-shell .nav-icon {
width: 20px !important;
      height: 20px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 18px !important;
}

body.app-shell .header {
position: fixed !important;
      top: 0 !important;
      left: 280px !important;
      right: 0 !important;
      height: 80px !important;
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(20px) !important;
      border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0 24px !important;
      z-index: 99999 !important;
      transition: left 0.3s ease !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
      width: calc(100vw - 280px) !important;
      margin: 0 !important;
}

body.app-shell .header-left {
display: flex !important;
      align-items: center !important;
      gap: 16px !important;
}

body.app-shell .header-right {
display: flex !important;
      align-items: center !important;
      gap: 16px !important;
      margin-left: auto !important;
      margin-right: 0 !important;
      padding-right: 0 !important;
}

body.app-shell .sidebar-toggle {
background: none !important;
      border: none !important;
      color: #64748b !important;
      font-size: 20px !important;
      cursor: pointer !important;
      padding: 8px !important;
      border-radius: 8px !important;
      transition: all 0.3s ease !important;
}

body.app-shell .sidebar-toggle:hover {
background: #f1f5f9 !important;
      color: #1e293b !important;
}

body.app-shell .header-title {
font-size: 24px !important;
      font-weight: 700 !important;
      background: linear-gradient(135deg, #6b7280, #9ca3af) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
      opacity: 1 !important;
      transform: translateY(0) !important;
      transition: none !important;
      animation: none !important;
}

body.app-shell .profile-dropdown {
position: relative;
      z-index: 100000;
}

body.app-shell .profile-btn {
display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      background: transparent;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      color: #64748b;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: auto;
      margin-right: 0 !important;
      z-index: 100000;
      margin-left: auto !important;
}

body.app-shell .profile-btn:hover {
background: #f1f5f9;
      border-color: #cbd5e1;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.app-shell .profile-avatar {
width: 32px !important;
      height: 32px !important;
      border-radius: 50%;
      background: linear-gradient(135deg, #3b82f6, #10b981);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px !important;
      color: white;
}

body.app-shell .profile-label {
font-size: 14px;
      font-weight: 600;
      color: #1e293b;
      white-space: nowrap;
      display: block;
}

body.app-shell .profile-info {
text-align: left;
}

body.app-shell .profile-phone {
font-size: 14px;
      font-weight: 600;
      color: white;
}

body.app-shell .profile-status {
font-size: 12px;
      color: rgba(255, 255, 255, 0.8);
}

body.app-shell .profile-arrow {
font-size: 12px;
      transition: transform 0.3s ease;
      margin-left: 4px;
}

body.app-shell .profile-dropdown.active .profile-arrow {
transform: rotate(180deg);
}

body.app-shell .profile-dropdown-menu {
position: fixed;
      top: 80px;
      right: 20px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      border: 2px solid #e2e8f0;
      min-width: 280px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 99999999;
      display: none;
}

body.app-shell .profile-dropdown.active .profile-dropdown-menu {
opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0) !important;
      display: block !important;
}

body.app-shell .profile-dropdown-header {
padding: 20px;
      padding-top: 16px;
      padding-right: 16px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      border-bottom: 1px solid #f1f5f9;
      position: relative;
}

body.app-shell .profile-dropdown-avatar {
width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3b82f6, #10b981);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: white;
      flex-shrink: 0;
}

body.app-shell .profile-dropdown-info {
flex: 1;
      min-width: 0;
}

body.app-shell .profile-dropdown-phone {
font-size: 16px;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 4px;
}

body.app-shell .profile-dropdown-status {
font-size: 14px;
      color: #64748b;
}

body.app-shell .profile-dropdown-divider {
height: 1px;
      background: #f1f5f9;
}

body.app-shell .profile-dropdown-item {
display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      color: #64748b;
      text-decoration: none;
      transition: all 0.3s ease;
      position: relative;
}

body.app-shell .profile-dropdown-item:hover {
background: #f8fafc;
      color: #1e293b;
}

body.app-shell .profile-dropdown-item.logout-item {
color: #dc2626;
}

body.app-shell .profile-dropdown-item.logout-item:hover {
background: #fef2f2;
      color: #dc2626;
}

body.app-shell .header {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
      position: fixed !important;
      top: 0 !important;
      z-index: 99999 !important;
}

body.app-shell {
padding-top: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
}

html,
body.app-shell {
margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
      width: 100% !important;
      max-width: 100% !important;
}

body.app-shell * {
box-sizing: border-box;
}

@media (max-width: 1024px) {
html,
body.app-shell {
overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
}

body.app-shell {
position: relative !important;
}
}

@media (max-width: 1024px) {
body.app-shell .header * {
box-sizing: border-box;
}

body.app-shell .header-left,
body.app-shell .header-right {
margin: 0 !important;
        padding: 0 !important;
}
}

body.app-shell .header {
position: fixed !important;
      top: 0 !important;
      height: 80px !important;
      z-index: 99999 !important;
      margin: 0 !important;
      padding: 0 24px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(20px) !important;
      border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
      box-sizing: border-box !important;
}

@media (min-width: 1025px) {
body.app-shell .header {
left: 280px !important;
        width: calc(100vw - 280px) !important;
}

body.app-shell .sidebar.collapsed ~ .header {
left: 80px !important;
        width: calc(100vw - 80px) !important;
}
}

@media (max-width: 1024px) {
body.app-shell .header {
position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        height: 80px !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
}

body.app-shell .notifications-dropdown-menu,
body.app-shell .profile-dropdown-menu {
top: 85px !important;
        right: 16px !important;
        left: auto !important;
        width: calc(100vw - 32px) !important;
        max-width: 400px !important;
        z-index: 99999999 !important;
        position: fixed !important;
        background: white !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
        border-radius: 16px !important;
        border: 2px solid #e2e8f0 !important;
}
}

@media (max-width: 768px) {
body.app-shell .header {
position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        height: 70px !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
}

body.app-shell .notifications-dropdown-menu,
body.app-shell .profile-dropdown-menu {
top: 75px !important;
        right: 12px !important;
        left: auto !important;
        width: calc(100vw - 24px) !important;
        max-width: 400px !important;
        z-index: 99999999 !important;
        position: fixed !important;
        background: white !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
        border-radius: 16px !important;
        border: 2px solid #e2e8f0 !important;
}
}

@media (max-width: 480px) {
body.app-shell .header {
position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        height: 60px !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
}

body.app-shell .notifications-dropdown-menu,
body.app-shell .profile-dropdown-menu {
top: 65px !important;
        right: 8px !important;
        left: auto !important;
        width: calc(100vw - 16px) !important;
        max-width: 400px !important;
        z-index: 99999999 !important;
        position: fixed !important;
        background: white !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
        border-radius: 16px !important;
        border: 2px solid #e2e8f0 !important;
}
}

body.app-shell .main-content {
background: transparent !important;
      opacity: 1 !important;
      transform: translateY(0) !important;
      transition: none !important;
      animation: none !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      max-height: calc(100vh - 80px) !important;
}

body.app-shell .header-right {
margin-left: auto !important;
      margin-right: 0 !important;
      padding-right: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-end !important;
}

body.app-shell .profile-btn {
margin-right: 0 !important;
      margin-left: auto !important;
}

body.app-shell .sidebar.collapsed ~ .header {
left: 80px !important;
      width: calc(100vw - 80px) !important;
      min-width: calc(100vw - 80px) !important;
      max-width: calc(100vw - 80px) !important;
}

body.app-shell .sidebar.collapsed .sidebar-nav {
height: calc(100vh - 80px) !important;
}

body.app-shell .card {
background: white !important;
      border: 1px solid #e2e8f0 !important;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

body.app-shell .card:hover {
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
      transform: translateY(-2px) !important;
}

body.app-shell .btn {
background: #3b82f6 !important;
      border: 1px solid #3b82f6 !important;
      color: white !important;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.app-shell .btn:hover {
background: #2563eb !important;
      border-color: #2563eb !important;
      transform: translateY(-1px) !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

body.app-shell .btn-primary {
background: linear-gradient(135deg, #3b82f6, #10b981) !important;
      border: 1px solid #3b82f6 !important;
}

body.app-shell .nav-link {
background: rgba(255, 255, 255, 0.05) !important;
      border: none !important;
      border-radius: 0 !important;
      margin: 0 !important;
      padding: 16px 0 !important;
      transition: all 0.3s ease !important;
      position: relative !important;
      width: 100% !important;
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      justify-content: flex-start !important;
      padding-left: 20px !important;
}

body.app-shell .nav-link:hover {
background: rgba(255, 255, 255, 0.1) !important;
}

body.app-shell .nav-link.active {
background: linear-gradient(135deg, #3b82f6, #10b981) !important;
      color: white !important;
}

body.app-shell .nav-badge {
position: absolute;
      top: 8px;
      right: 8px;
      background: #ef4444;
      color: white;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      animation: pulse 2s infinite;
}

@keyframes pulse {
0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
}

body.app-shell .dropdown-badge {
position: absolute;
      top: 8px;
      right: 12px;
      background: #ef4444;
      color: white;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 700;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      animation: pulse 2s infinite;
}

body.app-shell .notifications-dropdown {
position: relative;
      margin-right: 16px;
      z-index: 100000;
}

body.app-shell .notifications-btn {
position: relative;
      background: transparent;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 12px;
      color: #64748b;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      z-index: 100000;
}

body.app-shell .notifications-btn.shake {
animation: shake 0.5s ease-in-out;
}

@keyframes shake {
0%, 100% { transform: translateX(0); }
      10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
      20%, 40%, 60%, 80% { transform: translateX(2px); }
}

body.app-shell .notifications-btn:hover {
background: #f1f5f9;
      border-color: #cbd5e1;
      color: #1e293b;
}

body.app-shell .notifications-btn i {
font-size: 18px;
}

body.app-shell .notification-badge {
position: absolute;
      top: 2px;
      right: 2px;
      background: #ef4444;
      color: white;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      animation: pulse 2s infinite;
}

body.app-shell .notifications-dropdown-menu {
position: fixed;
      top: 85px;
      right: 20px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(226, 232, 240, 0.8);
      min-width: 380px;
      max-width: 420px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(0.95);
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 99999999;
      display: none;
      overflow: hidden;
}

body.app-shell .notifications-dropdown.active .notifications-dropdown-menu {
opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0) scale(1) !important;
      display: block !important;
}

body.app-shell .notifications-header {
padding: 16px 20px;
      padding-right: 48px;
      border-bottom: 1px solid rgba(241, 245, 249, 0.8);
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
      background: rgba(248, 250, 252, 0.5);
}

body.app-shell .notifications-header h3 {
margin: 0;
      font-size: 16px;
      font-weight: 600;
      color: #1e293b;
      flex: 1;
      letter-spacing: -0.01em;
}

body.app-shell .notifications-close,
body.app-shell .profile-close {
background: rgba(241, 245, 249, 0.6);
      border: none;
      color: #64748b;
      cursor: pointer;
      padding: 6px;
      border-radius: 8px;
      transition: all 0.2s ease;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: absolute;
      top: 12px;
      right: 12px;
}

body.app-shell .notifications-close:hover,
body.app-shell .profile-close:hover {
background: rgba(226, 232, 240, 0.8);
      color: #1e293b;
      transform: scale(1.05);
}

body.app-shell .notifications-close i,
body.app-shell .profile-close i {
font-size: 14px;
}

body.app-shell .notifications-content {
max-height: 420px;
      overflow-y: auto;
      overflow-x: hidden;
}

body.app-shell .notifications-content::-webkit-scrollbar {
width: 6px;
}

body.app-shell .notifications-content::-webkit-scrollbar-track {
background: transparent;
}

body.app-shell .notifications-content::-webkit-scrollbar-thumb {
background: rgba(203, 213, 225, 0.5);
      border-radius: 3px;
}

body.app-shell .notifications-content::-webkit-scrollbar-thumb:hover {
background: rgba(203, 213, 225, 0.7);
}

body.app-shell .notification-item {
display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 20px;
      padding-right: 20px;
      border-bottom: 1px solid rgba(241, 245, 249, 0.6);
      transition: all 0.2s ease;
      background: transparent !important;
      position: relative;
      cursor: pointer;
}

body.app-shell .notification-item:hover {
background: rgba(248, 250, 252, 0.6) !important;
}

body.app-shell .notification-item:last-child {
border-bottom: none;
}

body.app-shell .notification-avatar {
width: 36px !important;
      height: 36px !important;
      border-radius: 8px !important;
      background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(203, 213, 225, 0.1)) !important;
      border: 1px solid rgba(148, 163, 184, 0.2) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      color: #64748b !important;
      font-size: 14px !important;
      font-weight: 600 !important;
      flex-shrink: 0 !important;
}

body.app-shell .notification-content {
flex: 1 !important;
      min-width: 0 !important;
      padding-right: 0 !important;
}

body.app-shell .notification-text {
margin: 0 0 6px 0 !important;
      font-size: 13px !important;
      color: #334155 !important;
      line-height: 1.5 !important;
}

body.app-shell .notification-text strong {
color: #1e293b !important;
      font-weight: 600 !important;
      display: block;
      margin-bottom: 2px;
}

body.app-shell .notification-time {
margin: 0 !important;
      font-size: 11px !important;
      color: #94a3b8 !important;
      font-weight: 500 !important;
}

body.app-shell .notification-actions {
display: flex !important;
      gap: 4px !important;
      flex-shrink: 0 !important;
      position: absolute !important;
      top: 14px !important;
      right: 20px !important;
      z-index: 10 !important;
      opacity: 0;
      transition: opacity 0.2s ease !important;
}

body.app-shell .notification-item:hover .notification-actions {
opacity: 1 !important;
}

body.app-shell .notification-btn {
width: 28px !important;
      height: 28px !important;
      border-radius: 6px !important;
      border: none !important;
      cursor: pointer !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: all 0.2s ease !important;
      font-size: 11px !important;
      background: rgba(241, 245, 249, 0.8) !important;
      color: #64748b !important;
}

body.app-shell .notification-btn.accept {
background: rgba(16, 185, 129, 0.1) !important;
      color: #10b981 !important;
}

body.app-shell .notification-btn.accept:hover {
background: rgba(16, 185, 129, 0.2) !important;
      transform: scale(1.05) !important;
}

body.app-shell .notification-btn.decline {
background: rgba(239, 68, 68, 0.1) !important;
      color: #ef4444 !important;
}

body.app-shell .notification-btn.decline:hover {
background: rgba(239, 68, 68, 0.2) !important;
      transform: scale(1.05) !important;
}

body.app-shell .notification-btn.mark-read {
background: rgba(148, 163, 184, 0.1) !important;
      color: #64748b !important;
}

body.app-shell .notification-btn.mark-read:hover {
background: rgba(148, 163, 184, 0.2) !important;
      transform: scale(1.05) !important;
}

body.app-shell .notification-btn.view-vehicle {
background: rgba(16, 185, 129, 0.1) !important;
      color: #10b981 !important;
      text-decoration: none !important;
}

body.app-shell .notification-btn.view-vehicle:hover {
background: rgba(16, 185, 129, 0.2) !important;
      transform: scale(1.05) !important;
}

body.app-shell .notification-btn.delete-notification {
background: rgba(239, 68, 68, 0.1) !important;
      color: #ef4444 !important;
}

body.app-shell .notification-btn.delete-notification:hover {
background: rgba(239, 68, 68, 0.2) !important;
      transform: scale(1.05) !important;
}

body.app-shell .notification-item.unread {
background: rgba(248, 250, 252, 0.6) !important;
      border-left: 2px solid #94a3b8;
      padding-left: 18px;
}

body.app-shell .notification-item.unread .notification-avatar {
background: linear-gradient(135deg, rgba(148, 163, 184, 0.15), rgba(203, 213, 225, 0.15)) !important;
      border-color: rgba(148, 163, 184, 0.3) !important;
}

body.app-shell .notification-empty {
text-align: center;
      padding: 48px 20px;
      color: #94a3b8;
}

body.app-shell .notification-empty i {
font-size: 40px;
      margin-bottom: 12px;
      opacity: 0.4;
      color: #cbd5e1;
}

body.app-shell .notification-empty p {
margin: 0;
      font-size: 13px;
      font-weight: 500;
      color: #94a3b8;
}

body.app-shell .no-notifications {
padding: 40px 20px;
      text-align: center;
      color: #94a3b8;
}

body.app-shell .no-notifications i {
font-size: 32px;
      margin-bottom: 12px;
      display: block;
}

body.app-shell .no-notifications p {
margin: 0;
      font-size: 14px;
}

body.app-shell .notifications-dropdown-menu,
body.app-shell .profile-dropdown-menu {
position: fixed !important;
      z-index: 99999 !important;
      pointer-events: auto !important;
}

body.app-shell .notifications-dropdown.active::after,
body.app-shell .profile-dropdown.active::after {
content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: transparent;
      z-index: 9999998;
      pointer-events: none;
}

body.app-shell .dropdown-overlay {
position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: transparent;
      z-index: 9999998;
      pointer-events: none;
      display: none;
}

body.app-shell .dropdown-overlay.active {
display: block;
}

body.app-shell .notifications-dropdown-menu,
body.app-shell .profile-dropdown-menu {
position: fixed !important;
      z-index: 99999999 !important;
      pointer-events: auto !important;
      background: white !important;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
      border: 2px solid #e2e8f0 !important;
      border-radius: 16px !important;
}

body.app-shell .main-content {
z-index: 1 !important;
      position: relative !important;
}

body.app-shell .main-content * {
z-index: 1 !important;
      position: relative !important;
}

body.app-shell .card,
body.app-shell .vehicle-card,
body.app-shell .vehicle-item,
body.app-shell .btn,
body.app-shell .form-input {
z-index: 1 !important;
      position: relative !important;
}

body.app-shell .modal {
z-index: 99999999 !important;
      position: fixed !important;
}

body.app-shell .main-content > *:not(.modal) {
z-index: 1 !important;
      position: relative !important;
}

body.app-shell .nav-icon {
font-size: 18px !important;
      width: 24px !important;
      text-align: center !important;
}

body.app-shell .nav-text {
font-weight: 600 !important;
      font-size: 15px !important;
}

body.app-shell .sidebar-header {
background: rgba(255, 255, 255, 0.1) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
      padding: 16px 20px !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
}

body.app-shell .sidebar-header:hover {
background: rgba(255, 255, 255, 0.15) !important;
}

body.app-shell .sidebar.collapsed .sidebar-header {
padding: 16px 0 !important;
      justify-content: center !important;
}

body.app-shell .sidebar-nav {
padding: 0 !important;
      width: 100% !important;
      flex: 1 !important;
      min-height: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      position: relative !important;
      overflow: visible !important;
}

body.app-shell .nav-list {
flex: 1 !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      padding-bottom: 50px !important;
      min-height: 0 !important;
}

body.app-shell .sidebar-version {
position: absolute !important;
      bottom: 16px !important;
      right: 16px !important;
      z-index: 1001 !important;
      margin-top: auto !important;
}

body.app-shell .nav-list {
padding: 0 !important;
      margin: 0 !important;
      width: 100% !important;
}

body.app-shell .nav-item {
width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
}

body.app-shell .sidebar-logo {
background: transparent !important;
      box-shadow: none !important;
      width: 45px !important;
      height: 45px !important;
      border-radius: 12px !important;
      padding: 4px !important;
      overflow: hidden !important;
}

body.app-shell .sidebar-logo img {
width: 100% !important;
      height: 100% !important;
      object-fit: contain !important;
}

body.app-shell .sidebar-title-wrapper {
display: flex !important;
      flex-direction: column !important;
      gap: 2px !important;
      margin-left: 0 !important;
      flex: 1 !important;
}

body.app-shell .sidebar-title {
color: #6b7280 !important;
      text-shadow: none !important;
      font-size: 16px !important;
      font-weight: 700 !important;
      letter-spacing: -0.3px !important;
      line-height: 1.2 !important;
}

body.app-shell .sidebar-subtitle {
font-size: 10px !important;
      font-weight: 400 !important;
      color: #9ca3af !important;
      line-height: 1.2 !important;
      letter-spacing: 0.3px !important;
}

body.app-shell .header-title {
color: #6b7280 !important;
      text-shadow: none !important;
}

body.app-shell .main-content {
margin-left: 280px !important;
      margin-top: var(--header-height) !important;
      width: calc(100vw - 280px) !important;
      padding: 16px 32px !important;
      transition: margin-left 0.3s ease !important;
      min-height: calc(100vh - var(--header-height)) !important;
      box-sizing: border-box !important;
}

body.app-shell .main-content.dashboard-content {
margin-top: var(--header-height) !important;
}

@media (max-width: 1024px) {
body.app-shell .sidebar {
transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        width: 280px !important;
        z-index: 1000 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        overflow-y: hidden !important;
        overflow-x: hidden !important;
}

body.app-shell .sidebar .sidebar-nav {
flex: 1 !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        overflow: visible !important;
}

body.app-shell .sidebar .nav-list {
flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-bottom: 50px !important;
        min-height: 0 !important;
}

body.app-shell .sidebar     .sidebar-version {
position: absolute !important;
      bottom: 16px !important;
      right: 16px !important;
      z-index: 1001 !important;
      margin-top: auto !important;
}

body.app-shell .sidebar.active {
transform: translateX(0) !important;
}

body.app-shell .header {
left: 0 !important;
        width: 100vw !important;
        padding: 0 16px !important;
        position: fixed !important;
        top: 0 !important;
        z-index: 99999 !important;
        height: 70px !important;
        box-sizing: border-box !important;
}

body.app-shell .main-content {
margin-left: 0 !important;
        width: 100vw !important;
        padding: 8px 16px !important;
        margin-top: 70px !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: calc(100vh - 70px) !important;
}

body.app-shell .header-title {
font-size: 18px !important;
}

body.app-shell .sidebar-toggle {
display: block !important;
}

body.app-shell .sidebar-overlay {
position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
}

body.app-shell .sidebar.active + .sidebar-overlay {
display: block;
}
}

@media (max-width: 768px) {
body.app-shell .main-content {
width: 100vw !important;
        margin-left: 0 !important;
        padding: 8px 12px !important;
        margin-top: 70px !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: calc(100vh - 70px) !important;
}

body.app-shell .header-title {
font-size: 16px !important;
}

body.app-shell .logout-btn {
padding: 6px 12px !important;
        font-size: 14px !important;
}

body.app-shell .logout-btn span {
display: none !important;
}

body.app-shell .notifications-btn {
padding: 8px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 40px !important;
}

body.app-shell .profile-btn {
padding: 8px !important;
        width: auto !important;
        min-width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-right: 0 !important;
        margin-left: auto !important;
}

body.app-shell .profile-avatar {
width: 24px !important;
        height: 24px !important;
        font-size: 10px !important;
        flex-shrink: 0 !important;
}

body.app-shell .profile-label {
display: none !important;
}

body.app-shell .profile-arrow {
font-size: 10px !important;
        flex-shrink: 0 !important;
        margin-left: 0 !important;
}
}

@media (max-width: 480px) {
body.app-shell .main-content {
width: 100vw !important;
        margin-left: 0 !important;
        padding: 4px 8px !important;
        margin-top: 60px !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: calc(100vh - 60px) !important;
}

body.app-shell .header-title {
font-size: 14px !important;
}

body.app-shell .sidebar-toggle {
padding: 6px !important;
        font-size: 16px !important;
}

body.app-shell .profile-btn {
padding: 4px 6px !important;
        gap: 4px !important;
}

body.app-shell .profile-avatar {
width: 24px !important;
        height: 24px !important;
        font-size: 10px !important;
}

body.app-shell .profile-label {
font-size: 11px !important;
}

body.app-shell .profile-arrow {
font-size: 9px !important;
}
}


/* Inline styles migrated from /pages/administrator/index.php */
body.page-administrator-index .delete-user-btn.btn-danger {
background: #ef4444 !important;
  color: white !important;
  border: none !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
}

body.page-administrator-index .delete-user-btn.btn-danger:hover {
background: #dc2626 !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}


/* Inline styles migrated from /pages/notifikacie/expiring.php */
body.page-expiring .sms-filter-section {
display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

body.page-expiring .sms-stats {
display: flex;
  gap: 20px;
}

body.page-expiring .sms-stat-item {
display: flex;
  align-items: center;
  gap: 8px;
}

body.page-expiring .sms-stat-label {
font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

body.page-expiring .sms-stat-value {
font-size: 16px;
  color: #1f2937;
  font-weight: 700;
}

body.page-expiring .sms-messages-section {
margin-top: 24px;
}

body.page-expiring .sms-message-empty {
text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

body.page-expiring .sms-message-empty i {
font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: #10b981;
}

body.page-expiring .sms-message-empty p {
font-size: 16px;
  font-weight: 500;
}

body.page-expiring .sms-messages-list-full {
display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-expiring .sms-message-item-full {
display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

body.page-expiring .sms-message-item-full:hover {
border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.page-expiring .sms-message-icon {
flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  color: #6b7280;
  font-size: 18px;
  border: 1px solid #e5e7eb;
}

body.page-expiring .sms-message-content {
flex: 1;
  min-width: 0;
}

body.page-expiring .sms-message-text {
font-size: 15px;
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 12px;
  word-wrap: break-word;
}

body.page-expiring .vehicle-dates-list {
display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

body.page-expiring .vehicle-term-item {
display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
  padding: 6px 12px;
  background: #fef3c7;
  border-radius: 6px;
  border-left: 3px solid #f59e0b;
}

body.page-expiring .vehicle-term-item i {
font-size: 12px;
  color: #f59e0b;
}

body.page-expiring .sms-message-date {
display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

@media (max-width: 768px) {
body.page-expiring .sms-filter-section {
flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

body.page-expiring .sms-message-item-full {
padding: 16px;
}
}


/* Inline styles migrated from /pages/notifikacie/overdue.php */
body.page-overdue .sms-filter-section {
display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

body.page-overdue .sms-stats {
display: flex;
  gap: 20px;
}

body.page-overdue .sms-stat-item {
display: flex;
  align-items: center;
  gap: 8px;
}

body.page-overdue .sms-stat-label {
font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

body.page-overdue .sms-stat-value {
font-size: 16px;
  color: #1f2937;
  font-weight: 700;
}

body.page-overdue .sms-messages-section {
margin-top: 24px;
}

body.page-overdue .sms-message-empty {
text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

body.page-overdue .sms-message-empty i {
font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: #10b981;
}

body.page-overdue .sms-message-empty p {
font-size: 16px;
  font-weight: 500;
}

body.page-overdue .sms-messages-list-full {
display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-overdue .sms-message-item-full {
display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

body.page-overdue .sms-message-item-full:hover {
border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.page-overdue .sms-message-icon {
flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  color: #6b7280;
  font-size: 18px;
  border: 1px solid #e5e7eb;
}

body.page-overdue .sms-message-content {
flex: 1;
  min-width: 0;
}

body.page-overdue .sms-message-text {
font-size: 15px;
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 12px;
  word-wrap: break-word;
}

body.page-overdue .vehicle-dates-list {
display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

body.page-overdue .vehicle-term-item-overdue {
display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
  padding: 6px 12px;
  background: #fee2e2;
  border-radius: 6px;
  border-left: 3px solid #ef4444;
}

body.page-overdue .vehicle-term-item-overdue i {
font-size: 12px;
  color: #ef4444;
}

body.page-overdue .sms-message-date {
display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

@media (max-width: 768px) {
body.page-overdue .sms-filter-section {
flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

body.page-overdue .sms-message-item-full {
padding: 16px;
}
}

/* Refreshed notification pages for /pages/notifikacie/expiring.php and /pages/notifikacie/overdue.php */
body.page-expiring,
body.page-overdue {
background:
  radial-gradient(circle at top right, rgba(59, 130, 246, 0.08) 0%, transparent 28%),
  linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-expiring .main-content,
body.page-overdue .main-content {
padding: 28px !important;
  background: transparent;
}

body.page-expiring .notification-page-shell,
body.page-overdue .notification-page-shell {
display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 28px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8fbff 100%);
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body.page-expiring .notification-page-shell {
border-color: #f5ddb0;
}

body.page-overdue .notification-page-shell {
border-color: #f5c4c4;
}

body.page-expiring .breadcrumb-nav,
body.page-overdue .breadcrumb-nav {
margin: 0;
  padding: 0;
  width: auto;
  background: transparent;
}

body.page-expiring .breadcrumb li a,
body.page-overdue .breadcrumb li a {
color: #64748b;
  font-weight: 600;
}

body.page-expiring .breadcrumb li.active a,
body.page-overdue .breadcrumb li.active a {
color: #0f172a;
}

body.page-expiring .notification-hero,
body.page-overdue .notification-hero {
position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 24px;
  padding: 30px 32px;
  border-radius: 28px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

body.page-expiring .notification-hero {
background: linear-gradient(135deg, #854d0e 0%, #d97706 58%, #fbbf24 100%);
}

body.page-overdue .notification-hero {
background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 58%, #f87171 100%);
}

body.page-expiring .notification-hero::before,
body.page-expiring .notification-hero::after,
body.page-overdue .notification-hero::before,
body.page-overdue .notification-hero::after {
content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.page-expiring .notification-hero::before,
body.page-overdue .notification-hero::before {
top: -130px;
  right: -50px;
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page-expiring .notification-hero::after,
body.page-overdue .notification-hero::after {
bottom: -150px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page-expiring .notification-hero-main,
body.page-expiring .notification-hero-actions,
body.page-overdue .notification-hero-main,
body.page-overdue .notification-hero-actions {
position: relative;
  z-index: 1;
}

body.page-expiring .notification-hero-main,
body.page-overdue .notification-hero-main {
display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-expiring .notification-hero-kicker,
body.page-overdue .notification-hero-kicker {
display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-expiring .notification-hero-title,
body.page-overdue .notification-hero-title {
margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  font-weight: 800;
}

body.page-expiring .notification-hero-text,
body.page-overdue .notification-hero-text {
max-width: 680px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

body.page-expiring .notification-hero-meta,
body.page-overdue .notification-hero-meta {
display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-expiring .notification-chip,
body.page-overdue .notification-chip {
display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

body.page-expiring .notification-hero-actions,
body.page-overdue .notification-hero-actions {
display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

body.page-expiring .notification-hero-actions .btn,
body.page-overdue .notification-hero-actions .btn {
justify-content: flex-start;
  min-height: 50px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.page-expiring .notification-hero-actions .btn:hover,
body.page-overdue .notification-hero-actions .btn:hover {
background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1px);
}

body.page-expiring .notification-stats-grid,
body.page-overdue .notification-stats-grid {
display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.page-expiring .notification-stat-card,
body.page-overdue .notification-stat-card {
display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

body.page-expiring .notification-stat-card.is-warning {
border-color: #f6ddb0;
}

body.page-overdue .notification-stat-card.is-danger {
border-color: #f5c4c4;
}

body.page-expiring .notification-stat-icon,
body.page-overdue .notification-stat-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.05rem;
}

body.page-expiring .notification-stat-card.is-warning .notification-stat-icon {
background: linear-gradient(135deg, #d97706, #fbbf24);
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.22);
}

body.page-overdue .notification-stat-card.is-danger .notification-stat-icon {
background: linear-gradient(135deg, #dc2626, #f87171);
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.22);
}

body.page-expiring .notification-stat-copy,
body.page-overdue .notification-stat-copy {
display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-expiring .notification-stat-copy strong,
body.page-overdue .notification-stat-copy strong {
font-size: 1.8rem;
  line-height: 1;
  color: #0f172a;
}

body.page-expiring .notification-stat-copy span,
body.page-overdue .notification-stat-copy span {
font-size: 0.95rem;
  color: #64748b;
}

body.page-expiring .notification-section,
body.page-overdue .notification-section {
display: flex;
  flex-direction: column;
  gap: 20px;
}

body.page-expiring .notification-section-heading,
body.page-overdue .notification-section-heading {
display: flex;
  align-items: center;
  gap: 16px;
}

body.page-expiring .notification-section-icon,
body.page-overdue .notification-section-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #d97706, #fbbf24);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.20);
}

body.page-overdue .notification-section-icon,
body.page-overdue .notification-section-icon.is-danger {
background: linear-gradient(135deg, #dc2626, #f87171);
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.20);
}

body.page-expiring .notification-section-copy h3,
body.page-overdue .notification-section-copy h3 {
margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-expiring .notification-section-copy p,
body.page-overdue .notification-section-copy p {
margin: 0;
  color: #64748b;
  line-height: 1.65;
}

body.page-expiring .notification-vehicle-list,
body.page-overdue .notification-vehicle-list {
display: flex;
  flex-direction: column;
  gap: 18px;
}

body.page-expiring .notification-vehicle-card,
body.page-overdue .notification-vehicle-card {
padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

body.page-expiring .notification-vehicle-card.is-warning {
border-color: #f6ddb0;
}

body.page-overdue .notification-vehicle-card.is-danger {
border-color: #f5c4c4;
}

body.page-expiring .notification-vehicle-top,
body.page-overdue .notification-vehicle-top {
display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

body.page-expiring .notification-vehicle-identity,
body.page-overdue .notification-vehicle-identity {
display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

body.page-expiring .notification-vehicle-icon,
body.page-overdue .notification-vehicle-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.1rem;
}

body.page-expiring .notification-vehicle-icon {
background: linear-gradient(135deg, #d97706, #fbbf24);
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.20);
}

body.page-overdue .notification-vehicle-icon,
body.page-overdue .notification-vehicle-icon.is-danger {
background: linear-gradient(135deg, #dc2626, #f87171);
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.20);
}

body.page-expiring .notification-vehicle-copy,
body.page-overdue .notification-vehicle-copy {
min-width: 0;
}

body.page-expiring .notification-vehicle-copy h3,
body.page-overdue .notification-vehicle-copy h3 {
margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-expiring .notification-vehicle-copy p,
body.page-overdue .notification-vehicle-copy p {
margin: 0;
  color: #64748b;
  line-height: 1.5;
}

body.page-expiring .notification-vehicle-actions,
body.page-overdue .notification-vehicle-actions {
display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-expiring .notification-vehicle-badge,
body.page-overdue .notification-vehicle-badge {
display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #dbe4f0;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

body.page-expiring .notification-vehicle-badge.is-highlight {
background: #fff4db;
  border-color: #f8d38d;
  color: #9a6b00;
}

body.page-overdue .notification-vehicle-badge.is-danger {
background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

body.page-overdue .notification-vehicle-badge.is-highlight-danger {
background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

body.page-expiring .notification-vehicle-terms,
body.page-overdue .notification-vehicle-terms {
display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-expiring .notification-term-item,
body.page-overdue .notification-term-item {
display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
}

body.page-expiring .notification-term-item {
background: linear-gradient(180deg, #fffdf7 0%, #fff8ec 100%);
  border-color: #f6ddb0;
}

body.page-overdue .notification-term-item {
background: linear-gradient(180deg, #fff9f9 0%, #fff1f2 100%);
  border-color: #f5c4c4;
}

body.page-expiring .notification-term-item.is-today {
border-color: #f59e0b;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.10);
}

body.page-expiring .notification-term-item.is-soon {
border-color: #f8d38d;
}

body.page-overdue .notification-term-item.is-critical {
border-color: #f87171;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.10);
}

body.page-overdue .notification-term-item.is-high {
border-color: #fca5a5;
}

body.page-expiring .notification-term-icon,
body.page-overdue .notification-term-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 1rem;
}

body.page-expiring .notification-term-icon {
background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

body.page-overdue .notification-term-icon,
body.page-overdue .notification-term-icon.is-danger {
background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

body.page-expiring .notification-term-copy,
body.page-overdue .notification-term-copy {
display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body.page-expiring .notification-term-copy strong,
body.page-overdue .notification-term-copy strong {
font-size: 0.96rem;
  color: #0f172a;
}

body.page-expiring .notification-term-copy span,
body.page-overdue .notification-term-copy span {
font-size: 0.88rem;
  color: #64748b;
}

body.page-expiring .notification-term-status,
body.page-overdue .notification-term-status {
display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

body.page-expiring .notification-term-status {
background: #fff4db;
  border: 1px solid #f8d38d;
  color: #9a6b00;
}

body.page-overdue .notification-term-status,
body.page-overdue .notification-term-status.is-danger {
background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

body.page-expiring .notification-empty-state,
body.page-overdue .notification-empty-state {
display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 24px;
  border-radius: 24px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
}

body.page-expiring .notification-empty-state.is-success,
body.page-overdue .notification-empty-state.is-success {
border-color: #bbf7d0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

body.page-expiring .notification-empty-icon,
body.page-overdue .notification-empty-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.20);
}

body.page-expiring .notification-empty-state h3,
body.page-expiring .notification-empty-state p,
body.page-overdue .notification-empty-state h3,
body.page-overdue .notification-empty-state p {
margin: 0;
}

body.page-expiring .notification-empty-state h3,
body.page-overdue .notification-empty-state h3 {
font-size: 1.4rem;
  color: #0f172a;
}

body.page-expiring .notification-empty-state p,
body.page-overdue .notification-empty-state p {
max-width: 460px;
  color: #64748b;
  line-height: 1.7;
}

@media (max-width: 1280px) {
body.page-expiring .notification-stats-grid,
body.page-overdue .notification-stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 960px) {
body.page-expiring .main-content,
body.page-overdue .main-content {
padding: 20px !important;
}

body.page-expiring .notification-page-shell,
body.page-overdue .notification-page-shell {
padding: 22px !important;
  gap: 24px;
  border-radius: 24px;
}

body.page-expiring .notification-hero,
body.page-overdue .notification-hero {
grid-template-columns: 1fr;
  padding: 26px 24px;
}

body.page-expiring .notification-hero-actions,
body.page-overdue .notification-hero-actions {
flex-direction: row;
  flex-wrap: wrap;
}

body.page-expiring .notification-hero-actions .btn,
body.page-overdue .notification-hero-actions .btn {
flex: 1 1 220px;
}

body.page-expiring .notification-vehicle-terms,
body.page-overdue .notification-vehicle-terms {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
body.page-expiring .main-content,
body.page-overdue .main-content {
padding: 14px !important;
}

body.page-expiring .notification-page-shell,
body.page-overdue .notification-page-shell {
padding: 18px !important;
  gap: 20px;
  border-radius: 20px;
}

body.page-expiring .notification-hero,
body.page-overdue .notification-hero {
padding: 22px 18px;
  border-radius: 22px;
}

body.page-expiring .notification-hero-title,
body.page-overdue .notification-hero-title {
font-size: 1.85rem;
}

body.page-expiring .notification-hero-meta,
body.page-overdue .notification-hero-meta {
flex-direction: column;
}

body.page-expiring .notification-chip,
body.page-overdue .notification-chip {
width: 100%;
}

body.page-expiring .notification-stats-grid,
body.page-overdue .notification-stats-grid {
grid-template-columns: 1fr;
  gap: 16px;
}

body.page-expiring .notification-section-heading,
body.page-overdue .notification-section-heading {
align-items: flex-start;
}

body.page-expiring .notification-vehicle-card,
body.page-overdue .notification-vehicle-card {
padding: 18px;
  border-radius: 20px;
}

body.page-expiring .notification-vehicle-top,
body.page-overdue .notification-vehicle-top {
flex-direction: column;
}

body.page-expiring .notification-vehicle-actions,
body.page-overdue .notification-vehicle-actions {
justify-content: flex-start;
}

body.page-expiring .notification-term-item,
body.page-overdue .notification-term-item {
grid-template-columns: 44px minmax(0, 1fr);
}

body.page-expiring .notification-term-status,
body.page-overdue .notification-term-status {
grid-column: 2;
  justify-self: start;
  white-space: normal;
}
}


/* Refreshed styles for /pages/notifikacie/sms.php */
body.page-sms .sms-page-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.page-sms .sms-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid #dbe4f2;
  background: linear-gradient(135deg, #1f3b84 0%, #2557c8 55%, #5b92f2 100%);
  color: #ffffff;
}

body.page-sms .sms-hero-main,
body.page-sms .sms-hero-actions {
  min-width: 0;
}

body.page-sms .sms-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-sms .sms-hero-title {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.15;
}

body.page-sms .sms-hero-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.62;
  max-width: 760px;
}

body.page-sms .sms-hero-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-sms .sms-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.page-sms .sms-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

body.page-sms .sms-hero-actions .btn {
  min-width: 230px;
  color: #1e293b !important;
  background: #ffffff !important;
  border-color: rgba(226, 232, 240, 0.92) !important;
}

body.page-sms .sms-hero-actions .btn:hover {
  color: #0f172a !important;
  background: #f8fbff !important;
  border-color: #d6e2f3 !important;
}

body.page-sms .sms-filter-section,
body.page-historia-vozidla .sms-filter-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-sms .sms-filter,
body.page-historia-vozidla .sms-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-sms .sms-filter label,
body.page-historia-vozidla .sms-filter label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

body.page-sms .sms-filter select,
body.page-historia-vozidla .sms-filter select {
  min-width: 190px;
  height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid #cfd9e7;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-sms .sms-filter select:hover,
body.page-historia-vozidla .sms-filter select:hover {
  border-color: #b8c7dc;
}

body.page-sms .sms-filter select:focus,
body.page-historia-vozidla .sms-filter select:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

body.page-sms .sms-stats,
body.page-historia-vozidla .sms-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-sms .sms-stat-item,
body.page-historia-vozidla .sms-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
}

body.page-sms .sms-stat-label,
body.page-historia-vozidla .sms-stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.page-sms .sms-stat-value,
body.page-historia-vozidla .sms-stat-value {
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
}

body.page-sms .sms-messages-section {
  margin-top: 4px;
}

body.page-sms .sms-message-empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed #cbd5e1;
  background: #f8fbff;
  color: #64748b;
}

body.page-sms .sms-message-empty i {
  font-size: 34px;
  margin-bottom: 10px;
  display: block;
  color: #94a3b8;
}

body.page-sms .sms-message-empty p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

body.page-sms .sms-messages-list-full {
  display: grid;
  gap: 12px;
}

body.page-sms .sms-message-item-full {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-sms .sms-message-item-full:hover {
  border-color: #c9d8ea;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

body.page-sms .sms-message-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  font-size: 17px;
}

body.page-sms .sms-message-content {
  min-width: 0;
}

body.page-sms .sms-message-text {
  margin: 0;
  font-size: 14px;
  color: #111827;
  line-height: 1.62;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

body.page-sms .sms-message-date {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

body.page-sms .sms-message-date i {
  font-size: 11px;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  body.page-sms .sms-hero {
    grid-template-columns: 1fr;
  }

  body.page-sms .sms-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-sms .sms-hero-actions .btn {
    min-width: 0;
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  body.page-sms .sms-hero {
    padding: 16px;
  }

  body.page-sms .sms-hero-title {
    font-size: 29px;
  }

  body.page-sms .sms-filter-section,
  body.page-historia-vozidla .sms-filter-section {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-sms .sms-filter,
  body.page-historia-vozidla .sms-filter {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-sms .sms-filter select,
  body.page-historia-vozidla .sms-filter select {
    min-width: 0;
    width: 100%;
  }

  body.page-sms .sms-stats,
  body.page-historia-vozidla .sms-stats {
    width: 100%;
  }

  body.page-sms .sms-stat-item {
    width: 100%;
    justify-content: space-between;
  }

  body.page-sms .sms-message-item-full {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  body.page-sms .sms-message-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}


/* Inline styles migrated from /pages/users/info.php */
body.page-info .info-container {
width: 100%;
  margin: 0;
  padding: 0;
}

body.page-info .card-wide {
width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 1.5rem;
  overflow: visible;
  box-sizing: border-box;
}

body.page-info .page-card {
margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: auto;
  overflow: visible;
}

body.page-info .main-content {
padding-left: 0 !important; 
  padding-right: 0 !important; 
  padding-top: 0 !important; 
  padding-bottom: 0 !important;
}

body.page-info .breadcrumb-nav {
margin-bottom: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0;
  width: calc(100% + 3rem);
}

body.page-info .breadcrumb {
list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

body.page-info .breadcrumb li {
display: flex;
  align-items: center;
}

body.page-info .breadcrumb li:not(:last-child)::after {
content: '/';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-weight: 400;
}

body.page-info .breadcrumb li a {
color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-info .breadcrumb li a:hover {
color: #2563eb;
  text-decoration: underline;
}

body.page-info .breadcrumb li.active a {
color: #6b7280;
  cursor: default;
  text-decoration: none;
}

body.page-info .info-section {
margin-bottom: 2rem;
}

body.page-info .info-section:last-child {
margin-bottom: 0;
}

body.page-info .section-title {
font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
  line-height: 1.4;
}

body.page-info .info-card {
background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

body.page-info .info-card h3 {
font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.5;
  white-space: nowrap;
  width: 100%;
  flex-shrink: 0;
}

body.page-info .info-card h3 i {
color: #3b82f6;
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  display: inline-block;
}

body.page-info .info-card p {
color: #4b5563;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  width: 100%;
  display: block;
}

body.page-info .info-card p:last-child {
margin-bottom: 0;
}

body.page-info .info-list {
list-style: none;
  padding: 0;
  margin: 0;
}

body.page-info .info-list li {
padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #4b5563;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

body.page-info .info-list li:last-child {
border-bottom: none;
}

body.page-info .info-list li i {
color: #10b981;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

body.page-info .contact-info {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

body.page-info .contact-info h4 {
font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1rem 0;
}

body.page-info .contact-info p {
color: #4b5563;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.page-info .contact-info p i {
color: #3b82f6;
  width: 20px;
}

@media (max-width: 768px) {
body.page-info .breadcrumb-nav {
margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0.75rem 1rem;
}

body.page-info .section-title {
font-size: 1.25rem;
}

body.page-info .info-card {
padding: 1rem;
}
}


/* Inline styles migrated from /pages/users/moje-vozidla.php */
body.page-moje-vozidla .card-wide {
width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 2% 1% 2% 2%;
}

body.page-moje-vozidla .page-card {
margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: calc(100vh - 2%);
}

body.page-moje-vozidla .main-content {
padding-left: 0 !important; 
  padding-right: 0 !important; 
  padding-top: 0 !important; 
  padding-bottom: 0 !important;
}

body.page-moje-vozidla .breadcrumb-nav {
margin-bottom: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0;
  width: calc(100% + 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.page-moje-vozidla .breadcrumb {
list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

body.page-moje-vozidla .breadcrumb li {
display: flex;
  align-items: center;
}

body.page-moje-vozidla .breadcrumb li:not(:last-child)::after {
content: '/';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-weight: 400;
}

body.page-moje-vozidla .breadcrumb li a {
color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-moje-vozidla .breadcrumb li a:hover {
color: #2563eb;
  text-decoration: underline;
}

body.page-moje-vozidla .breadcrumb li.active a {
color: #6b7280;
  cursor: default;
  text-decoration: none;
}

body.page-moje-vozidla .breadcrumb li.active a:hover {
text-decoration: none;
}

body.page-moje-vozidla .status-badge-breadcrumb-link {
text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.page-moje-vozidla .status-badge-breadcrumb-link:hover .status-badge-breadcrumb {
transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.page-moje-vozidla .status-badge-breadcrumb-link.active .status-badge-breadcrumb {
background: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body.page-moje-vozidla .status-badge-breadcrumb {
display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  margin-left: 8px;
  transition: all 0.2s ease;
}

body.page-moje-vozidla .status-badge-breadcrumb:first-of-type {
margin-left: 12px;
}

body.page-moje-vozidla .status-badge-breadcrumb i {
font-size: 12px;
}

body.page-moje-vozidla .status-badge-breadcrumb.filter-active {
opacity: 1;
}

body.page-moje-vozidla .status-badge-breadcrumb:not(.filter-active) {
opacity: 0.5;
}

body.page-moje-vozidla .status-badge-breadcrumb.filter-active {
opacity: 1;
}

body.page-moje-vozidla .status-badge-breadcrumb:not(.filter-active) {
opacity: 0.5;
}

body.page-moje-vozidla .vehicle-list {
display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

body.page-moje-vozidla .vehicle-grid {
display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  overflow: visible;
}

body.page-moje-vozidla .btn-group {
display: flex;
  gap: 8px;
  border: none;
  box-shadow: none;
  background: transparent;
}

body.page-moje-vozidla .btn-group .btn {
border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  color: #1e293b;
}

body.page-moje-vozidla .btn-group .btn:last-child {
border-right: 1px solid #cbd5e1;
}

body.page-moje-vozidla .btn-group .btn.active {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  color: #1e293b;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.4);
}

body.page-moje-vozidla .btn-group .btn:hover:not(.active) {
background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%);
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.page-moje-vozidla .btn-group .btn i {
font-size: 16px;
}

body.page-moje-vozidla .form-input {
width: 250px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

body.page-moje-vozidla .form-input:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.page-moje-vozidla .vehicle-section-header {
margin-bottom: 1.5rem;
  margin-top: 2rem;
}

body.page-moje-vozidla .vehicle-section-header:first-child {
margin-top: 0;
}

body.page-moje-vozidla .section-title {
font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

body.page-moje-vozidla .vehicle-item {
display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: white;
  position: relative;
  overflow: visible;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

body.page-moje-vozidla .vehicle-grid .vehicle-item {
flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 20px;
}

body.page-moje-vozidla .vehicle-grid .vehicle-icon {
align-self: center;
}

body.page-moje-vozidla .vehicle-grid .vehicle-info {
text-align: center;
  width: 100%;
}

body.page-moje-vozidla .vehicle-grid .vehicle-details-compact {
justify-content: center;
}

body.page-moje-vozidla .vehicle-grid .vehicle-actions {
justify-content: center;
  flex-wrap: wrap;
}

body.page-moje-vozidla .vehicle-item:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

body.page-moje-vozidla .vehicle-icon {
position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 50%, #374151 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
  overflow: visible;
  box-shadow: 0 4px 6px rgba(107, 114, 128, 0.2);
  transition: transform 0.2s ease;
}

body.page-moje-vozidla .vehicle-item:hover .vehicle-icon {
transform: scale(1.05);
}

body.page-moje-vozidla .status-badge {
position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  color: white !important;
  border: 3px solid white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  z-index: 10 !important;
}

body.page-moje-vozidla .status-badge.success {
background: #10b981;
}

body.page-moje-vozidla .status-badge.danger {
background: #ef4444;
}

body.page-moje-vozidla .vehicle-info {
flex: 1;
  min-width: 0;
}

body.page-moje-vozidla .vehicle-main {
margin-bottom: 8px;
}

body.page-moje-vozidla .vehicle-name {
font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

body.page-moje-vozidla .vehicle-spz {
font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.5px;
  border: 1px solid #d1d5db;
}

body.page-moje-vozidla .vehicle-details-compact {
display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-moje-vozidla .detail-item {
display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
}

body.page-moje-vozidla .detail-item i {
font-size: 10px;
  width: 12px;
  text-align: center;
}

body.page-moje-vozidla .text-red-600 {
color: #dc2626 !important;
}

body.page-moje-vozidla .text-orange-600 {
color: #ea580c !important;
}

body.page-moje-vozidla .text-green-600 {
color: #16a34a !important;
}

body.page-moje-vozidla .toast {
position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  min-width: 300px !important;
  max-width: 500px !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0 !important;
  background: #f8f9fa !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  transform: translateX(100%) !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.page-moje-vozidla .toast.show {
transform: translateX(0) !important;
  opacity: 1 !important;
}

body.page-moje-vozidla .toast.success {
background: #f8f9fa !important;
  color: #1f2937 !important;
}

body.page-moje-vozidla .toast.error {
background: #f8f9fa !important;
  color: #1f2937 !important;
}

body.page-moje-vozidla .toast i {
font-size: 16px;
  flex-shrink: 0;
}

body.page-moje-vozidla .toast.success i {
color: #10b981 !important;
}

body.page-moje-vozidla .toast.error i {
color: #ef4444 !important;
}

body.page-moje-vozidla .toast span {
flex: 1;
  font-weight: 500;
  line-height: 1.4;
  color: #1f2937;
}

body.page-moje-vozidla .toast-close {
background: transparent;
  border: none;
  border-radius: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

body.page-moje-vozidla .toast-close:hover {
background: rgba(0, 0, 0, 0.05);
}

body.page-moje-vozidla .toast-close i {
font-size: 14px;
  color: #6b7280;
}

body.page-moje-vozidla .vehicle-actions {
display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
  position: relative;
  overflow: visible;
}

body.page-moje-vozidla .vehicle-actions .btn {
width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

body.page-moje-vozidla .toggle-status-form {
display: inline-block;
  margin: 0;
  padding: 0;
}

body.page-moje-vozidla .btn-toggle-status {
width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

body.page-moje-vozidla .btn-toggle-status:hover {
background: #e5e7eb !important;
  border-color: #d1d5db !important;
}

body.page-moje-vozidla .btn-toggle-status i {
font-size: 20px !important;
  transition: all 0.3s ease !important;
  color: inherit !important;
}

body.page-moje-vozidla .btn-toggle-status .fa-toggle-on {
color: #10b981 !important;
}

body.page-moje-vozidla .btn-toggle-status .fa-toggle-off {
color: #cbd5e1 !important;
}

body.page-moje-vozidla .vehicle-actions .delete-vehicle-btn.btn-danger {
background: #ef4444 !important;
  color: white !important;
  border: none !important;
}

body.page-moje-vozidla .vehicle-actions .delete-vehicle-btn.btn-danger:hover {
background: #dc2626 !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

body.page-moje-vozidla .vehicle-actions .btn-primary {
background: #10b981 !important;
  color: white !important;
  border: none !important;
}

body.page-moje-vozidla .vehicle-actions .btn-primary:hover {
background: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

body.page-moje-vozidla .modal {
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.page-moje-vozidla .modal.active {
opacity: 1;
  visibility: visible;
}

body.page-moje-vozidla .modal-content {
background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  margin: 20px;
}

body.page-moje-vozidla .modal.active .modal-content {
transform: scale(1);
  z-index: 1000000 !important;
}

body.page-moje-vozidla #editVehicleModal {
z-index: 99999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body.page-moje-vozidla #editVehicleModal.active {
display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 99999999 !important;
}

body.page-moje-vozidla > #editVehicleModal {
z-index: 99999999 !important;
}

body.page-moje-vozidla > #editVehicleModal.active {
z-index: 99999999 !important;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.page-moje-vozidla .add-modal-close,
body.page-moje-vozidla .edit-modal-close {
position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-moje-vozidla .add-modal-close:hover,
body.page-moje-vozidla .edit-modal-close:hover {
background: #f3f4f6 !important;
  color: #1f2937 !important;
  transform: scale(1.1) !important;
}

body.page-moje-vozidla .modal-header {
display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-right: 60px;
}

body.page-moje-vozidla .modal-title {
font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

body.page-moje-vozidla .form-group {
margin-bottom: 20px;
}

body.page-moje-vozidla .form-section-card {
padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-moje-vozidla .form-section-title {
display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

body.page-moje-vozidla .form-section-text {
margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

body.page-moje-vozidla .insurance-custom-provider,
body.page-zobrazit-vozidlo .insurance-custom-provider {
  margin-top: 12px;
}

body.page-moje-vozidla .insurance-provider-select,
body.page-zobrazit-vozidlo .insurance-provider-select {
  cursor: pointer;
}

body.page-moje-vozidla .insurance-policy-input:disabled,
body.page-zobrazit-vozidlo .insurance-policy-input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

body.page-moje-vozidla .form-label {
display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

body.page-moje-vozidla .form-input {
width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

body.page-moje-vozidla .form-input:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.page-moje-vozidla .grid {
display: grid;
}

body.page-moje-vozidla .grid-cols-2 {
grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

body.page-moje-vozidla .w-full {
width: 100%;
}

body.page-moje-vozidla .btn-primary {
background: #3b82f6;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.page-moje-vozidla .btn-primary:hover {
background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

body.page-moje-vozidla transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}

.mb-6 {
margin-bottom: 24px;
}

body.page-moje-vozidla .mb-4 {
margin-bottom: 16px;
}

@media (max-width: 768px) {
body.page-moje-vozidla .vehicle-grid {
grid-template-columns: 1fr;
    gap: 16px;
}

body.page-moje-vozidla .vehicle-item {
padding: 12px;
    gap: 12px;
}

body.page-moje-vozidla .vehicle-icon {
width: 40px;
    height: 40px;
    font-size: 16px;
}

body.page-moje-vozidla .status-badge {
width: 18px !important;
    height: 18px !important;
    font-size: 9px !important;
    top: -3px !important;
    right: -3px !important;
}

body.page-moje-vozidla .vehicle-name {
font-size: 14px;
}

body.page-moje-vozidla .vehicle-spz {
font-size: 12px;
}

body.page-moje-vozidla .vehicle-details-compact {
gap: 8px;
}

body.page-moje-vozidla .detail-item {
font-size: 11px;
}

body.page-moje-vozidla .vehicle-actions {
gap: 6px;
}

body.page-moje-vozidla .vehicle-actions .btn {
width: 32px;
    height: 32px;
    font-size: 12px;
}

body.page-moje-vozidla .form-input {
min-width: 200px;
}

body.page-moje-vozidla .btn-group .btn {
padding: 8px 12px;
    height: 36px;
    font-size: 12px;
}

body.page-moje-vozidla .toast {
top: 10px;
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
    padding: 12px 16px;
}
}

@media (max-width: 480px) {
body.page-moje-vozidla .vehicle-item {
padding: 10px;
    gap: 10px;
}

body.page-moje-vozidla .vehicle-icon {
width: 36px;
    height: 36px;
    font-size: 14px;
}

body.page-moje-vozidla .vehicle-name {
font-size: 13px;
}

body.page-moje-vozidla .vehicle-spz {
font-size: 11px;
}

body.page-moje-vozidla .vehicle-actions .btn {
width: 28px;
    height: 28px;
    font-size: 11px;
}

body.page-moje-vozidla .form-input {
min-width: 150px;
}

body.page-moje-vozidla .btn-group .btn {
padding: 6px 10px;
    height: 32px;
    font-size: 11px;
}
}

body.page-moje-vozidla #friends_list_container::-webkit-scrollbar {
width: 6px;
}

body.page-moje-vozidla #friends_list_container::-webkit-scrollbar-track {
background: #f8fafc;
  border-radius: 3px;
}

body.page-moje-vozidla #friends_list_container::-webkit-scrollbar-thumb {
background: #cbd5e1;
  border-radius: 3px;
}

body.page-moje-vozidla #friends_list_container::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}

body.page-moje-vozidla #friend_search_input:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.page-moje-vozidla .vehicle-view-toggle {
display: flex;
  align-items: center;
  gap: 12px;
}

body.page-moje-vozidla .toggle-switch {
cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-moje-vozidla /* Toggle prepínač - vždy sivý */
.toggle-slider,
body.page-moje-vozidla #toggleSlider {
position: relative;
  width: 50px;
  height: 26px;
  background: #cbd5e1 !important;
  background-color: #cbd5e1 !important;
  border-radius: 13px;
  transition: background-color 0.3s ease !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.page-moje-vozidla .toggle-switch input:checked + .toggle-slider,
body.page-moje-vozidla .toggle-switch input:checked + #toggleSlider {
background: #94a3b8 !important;
  background-color: #94a3b8 !important;
}

body.page-moje-vozidla .toggle-slider:hover,
body.page-moje-vozidla #toggleSlider:hover {
background: #cbd5e1 !important;
  background-color: #cbd5e1 !important;
}

body.page-moje-vozidla .toggle-switch input:checked + .toggle-slider:hover,
body.page-moje-vozidla .toggle-switch input:checked + #toggleSlider:hover {
background: #94a3b8 !important;
  background-color: #94a3b8 !important;
}

body.page-moje-vozidla .toggle-knob {
position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white !important;
  background-color: white !important;
  border-radius: 50%;
  transition: left 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: block !important;
  visibility: visible !important;
}

body.page-moje-vozidla .toggle-switch input:checked + .toggle-slider .toggle-knob,
body.page-moje-vozidla .toggle-switch input:checked + #toggleSlider .toggle-knob {
left: 27px;
}


/* Inline styles migrated from /pages/users/priatelia.php */
body.page-priatelia .toast {
position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2147483647;
  max-width: 500px;
  min-width: 300px;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  background: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1f2937;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-priatelia .toast.show {
opacity: 1;
  transform: translateX(0);
}

body.page-priatelia .toast.success {
background: #f8f9fa;
  color: #1f2937;
}

body.page-priatelia .toast.error {
background: #f8f9fa;
  color: #1f2937;
}

body.page-priatelia .toast i {
font-size: 16px;
  flex-shrink: 0;
}

body.page-priatelia .toast.success i {
color: #10b981;
}

body.page-priatelia .toast.error i {
color: #ef4444;
}

body.page-priatelia .toast .toast-text {
flex: 1;
  font-weight: 500;
  line-height: 1.4;
  color: #1f2937;
}

body.page-priatelia .toast .toast-close {
background: transparent;
  border: 0;
  width: 24px;
  height: 24px;
  border-radius: 0;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

body.page-priatelia .toast .toast-close:hover {
background: rgba(0, 0, 0, 0.05);
}

body.page-priatelia .toast .toast-close i {
font-size: 14px;
  color: #6b7280;
}

body.page-priatelia .page-card.card-wide {
height: calc(100vh - 80px - 4rem) !important;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

body.page-priatelia .modal {
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.page-priatelia .modal.active {
opacity: 1;
  visibility: visible;
}

body.page-priatelia .modal-content {
background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  margin: 20px;
}

body.page-priatelia .modal.active .modal-content {
transform: scale(1);
  z-index: 1000000 !important;
}

body.page-priatelia .add-modal-close {
position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-priatelia .add-modal-close:hover {
background: #f3f4f6 !important;
  color: #1f2937 !important;
  transform: scale(1.1) !important;
}

body.page-priatelia .modal-header {
display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-right: 60px;
}

body.page-priatelia .modal-title {
font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

body.page-priatelia .form-group {
margin-bottom: 20px;
}

body.page-priatelia .form-label {
display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

body.page-priatelia .form-input {
width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

body.page-priatelia .form-input:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.page-priatelia textarea.form-input {
font-family: inherit;
  resize: vertical;
}


/* Inline styles migrated from /pages/users/uvod.php */
body.page-uvod .modal {
display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

body.page-uvod .modal.active {
display: flex;
  align-items: center;
  justify-content: center;
}

body.page-uvod .modal-content {
background-color: #fff;
  margin: auto;
  padding: 0;
  border: none;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

body.page-uvod .modal-close {
position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #6b7280;
  cursor: pointer;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

body.page-uvod .overdue-modal-close,
body.page-uvod .expiring-modal-close,
body.page-uvod .sms-modal-close {
position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  z-index: 10 !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
}

body.page-uvod .modal-close:hover,
body.page-uvod .overdue-modal-close:hover,
body.page-uvod .expiring-modal-close:hover,
body.page-uvod .sms-modal-close:hover {
background: #f3f4f6 !important;
  color: #1f2937 !important;
  transform: scale(1.1) !important;
}

body.page-uvod .modal-header {
padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

body.page-uvod .modal-title {
font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

body.page-uvod .modal-body {
padding: 24px;
}

body.page-uvod .vehicle-list-modal {
display: flex;
  flex-direction: column;
  gap: 16px;
}

body.page-uvod .vehicle-item-modal {
display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}

body.page-uvod .vehicle-item-modal:hover {
background: #f3f4f6;
  border-color: #d1d5db;
}

body.page-uvod .vehicle-icon-modal {
width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

body.page-uvod .vehicle-info-modal {
flex: 1;
  min-width: 0;
}

body.page-uvod .vehicle-name-modal {
font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

body.page-uvod .vehicle-spz-modal {
font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

body.page-uvod .vehicle-dates-modal {
display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-uvod .overdue-date-item,
body.page-uvod .expiring-date-item {
display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1f2937;
}

body.page-uvod .overdue-date-item {
color: #dc2626;
}

body.page-uvod .expiring-date-item {
color: #d97706;
}

body.page-uvod .vehicle-action-modal {
flex-shrink: 0;
}

body.page-uvod .card-wide {
width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 2% 1% 2% 2%;
}

body.page-uvod .page-card {
margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: calc(100vh - 2%);
}

body.page-uvod .main-content {
padding-left: 0 !important; 
  padding-right: 0 !important; 
  padding-top: 0 !important; 
  padding-bottom: 0 !important;
}

body.page-uvod .breadcrumb-nav {
margin-bottom: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0;
  width: calc(100% + 3rem);
}

body.page-uvod .breadcrumb {
list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

body.page-uvod .breadcrumb li {
display: flex;
  align-items: center;
}

body.page-uvod .breadcrumb li:not(:last-child)::after {
content: '/';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-weight: 400;
}

body.page-uvod .breadcrumb li a {
color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-uvod .breadcrumb li a:hover {
color: #2563eb;
  text-decoration: underline;
}

body.page-uvod .breadcrumb li.active a {
color: #6b7280;
  cursor: default;
  text-decoration: none;
}

body.page-uvod .breadcrumb li.active a:hover {
text-decoration: none;
}

body.page-uvod .dashboard-user {
display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
}

body.page-uvod .dashboard-user-avatar {
width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-uvod .dashboard-user-avatar i {
font-size: 16px;
  color: white;
}

body.page-uvod .dashboard-user-phone {
font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

body.page-uvod .dashboard-user-status {
font-size: 12px;
  opacity: 0.8;
}

body.page-uvod .stats-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}

body.page-uvod .stat-card {
background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body.page-uvod .stat-card:hover {
transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.page-uvod .stat-card::before {
content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-color), var(--card-color-light));
}

body.page-uvod .stat-card-primary {
--card-color: #3b82f6; --card-color-light: #60a5fa;
}

body.page-uvod .stat-card-success {
--card-color: #10b981; --card-color-light: #34d399;
}

body.page-uvod .stat-card-warning {
--card-color: #f59e0b; --card-color-light: #fbbf24;
}

body.page-uvod .stat-card-info {
--card-color: #8b5cf6; --card-color-light: #a78bfa;
}

body.page-uvod .stat-card-danger {
--card-color: #ef4444; --card-color-light: #f87171;
}

body.page-uvod .stat-card-content {
display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  justify-content: space-between;
}

body.page-uvod .stat-card-success .stat-card-content {
justify-content: flex-start;
}

body.page-uvod .stat-card-header-row {
display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  min-height: 48px;
}

body.page-uvod .stat-card-right-content {
display: flex;
  flex-direction: column;
  flex: 1;
}

body.page-uvod .stat-card-icon {
width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--card-color), var(--card-color-light));
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

body.page-uvod .stat-card-header-sms {
display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  margin-top: -8px;
  min-height: 48px;
}

body.page-uvod .stat-card-header-sms .stat-card-icon {
margin-bottom: 0;
  flex-shrink: 0;
}

body.page-uvod .stat-card-sms-content-wrapper {
display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

body.page-uvod .stat-card-header-sms-inline {
display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

body.page-uvod .stat-card-label-sms {
display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0;
}

body.page-uvod .stat-card-label-sms i {
color: #ef4444;
  font-size: 16px;
}

body.page-uvod .sms-icon-toggle {
transition: all 0.3s ease;
}

body.page-uvod .sms-icon-toggle:hover {
transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.page-uvod .sms-icon-on {
background: linear-gradient(135deg, #10b981, #34d399) !important;
}

body.page-uvod .sms-icon-off {
background: linear-gradient(135deg, #ef4444, #f87171) !important;
}

body.page-uvod .stat-card-number {
font-size: 32px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 0;
}

body.page-uvod .stat-card-label {
font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: 500;
}

body.page-uvod .stat-card-trend {
display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--card-color);
  font-weight: 600;
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
}

body.page-uvod .stat-card-success .stat-card-content .stat-card-trend {
margin-top: auto;
}

body.page-uvod .sms-settings-section {
margin-top: 0;
  padding-top: 0;
}

body.page-uvod .sms-toggle-wrapper {
margin-bottom: 8px;
}

body.page-uvod .sms-toggle-label {
display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

body.page-uvod .sms-toggle-text {
font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

body.page-uvod .sms-toggle-switch {
position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

body.page-uvod .sms-toggle-switch input {
opacity: 0;
  width: 0;
  height: 0;
}

body.page-uvod .sms-toggle-slider {
position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 24px;
}

body.page-uvod .sms-toggle-slider:before {
position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

body.page-uvod .sms-toggle-switch input:checked + .sms-toggle-slider {
background-color: #10b981;
}

body.page-uvod .sms-toggle-switch input:checked + .sms-toggle-slider:before {
transform: translateX(20px);
}

body.page-uvod .sms-days-wrapper {
margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

body.page-uvod .sms-days-label {
display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
}

body.page-uvod .sms-days-select {
width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: #1f2937;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

body.page-uvod .sms-days-select:hover {
border-color: #10b981;
}

body.page-uvod .sms-days-select:focus {
outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

body.page-uvod .categories-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

body.page-uvod .category-card {
background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

body.page-uvod .category-card:hover {
transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.page-uvod .category-card-bg {
position: absolute !important;
  top: -60px !important;
  right: -35px !important;
  width: 140px !important;
  height: 140px !important;
  border-radius: 50% !important;
  opacity: 0.1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body.page-uvod .category-card-blue {
--cat-color: #3b82f6;
}

body.page-uvod .category-card-orange {
--cat-color: #f59e0b;
}

body.page-uvod .category-card-red {
--cat-color: #ef4444;
}

body.page-uvod .category-card-green {
--cat-color: #10b981;
}

body.page-uvod .category-card-blue .category-card-bg {
background: var(--cat-color);
}

body.page-uvod .category-card-orange .category-card-bg {
background: var(--cat-color);
}

body.page-uvod .category-card-red .category-card-bg {
background: var(--cat-color);
}

body.page-uvod .category-card-green .category-card-bg {
background: var(--cat-color);
}

body.page-uvod .category-card-header {
display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

body.page-uvod .category-card-icon {
width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cat-color), color-mix(in srgb, var(--cat-color) 80%, white));
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

body.page-uvod .category-card-title {
font-size: 17px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  flex: 1;
  line-height: 36px;
  padding-top: 0;
}

body.page-uvod .category-card-description {
font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
  line-height: 1.4;
  margin-top: 0;
}

body.page-uvod .category-card-action {
display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--cat-color);
  transition: all 0.3s ease;
}

body.page-uvod .category-card:hover .category-card-action {
transform: translateX(4px);
}

body.page-uvod .category-card:hover .category-card-action i {
transform: translateX(4px);
}

body.page-uvod .enhanced-card {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.page-uvod .enhanced-card:hover {
transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2), 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

body.page-uvod .category-card-icon-wrapper {
position: relative;
  display: inline-block;
}

body.page-uvod .category-card-icon {
position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

body.page-uvod .enhanced-card:hover .category-card-icon {
transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

body.page-uvod .icon-glow {
position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

body.page-uvod .enhanced-card:hover .icon-glow {
opacity: 1;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

body.page-uvod .category-card-title {
position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

body.page-uvod .enhanced-card:hover .category-card-title {
color: #3b82f6;
}

body.page-uvod .category-card-description {
position: relative;
  z-index: 1;
}

body.page-uvod .category-card-action {
position: relative;
  z-index: 1;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02));
  border-radius: 10px;
  margin-top: 0;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

body.page-uvod .enhanced-card:hover .category-card-action {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateX(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

body.page-uvod .category-card-shine {
position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

body.page-uvod .enhanced-card:hover .category-card-shine {
left: 100%;
  transition: left 0.6s ease;
}

body.page-uvod .category-card-bg {
background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15), transparent 70%);
  opacity: 0.6 !important;
  transition: opacity 0.3s ease;
}

body.page-uvod .enhanced-card:hover .category-card-bg {
opacity: 0.8 !important;
}

@media (max-width: 768px) {
body.page-uvod .stats-grid {
grid-template-columns: 1fr;
    gap: 16px;
}

body.page-uvod .categories-grid {
grid-template-columns: 1fr;
    gap: 16px;
}

body.page-uvod .dashboard-right {
justify-content: flex-end;
    width: 100%;
}

body.page-uvod .dashboard-time {
padding: 10px 14px;
}

body.page-uvod .dashboard-date {
font-size: 16px;
}

body.page-uvod .dashboard-clock {
font-size: 14px;
}

body.page-uvod .stat-card {
padding: 20px;
}

body.page-uvod .stat-card-header-sms {
gap: 8px;
    margin-bottom: 12px;
}

body.page-uvod .stat-card-label-sms {
font-size: 13px;
    gap: 6px;
}

body.page-uvod .stat-card-label-sms i {
font-size: 14px;
}

body.page-uvod .sms-settings-section {
margin-top: 0;
    padding-top: 0;
}

body.page-uvod .sms-toggle-text {
font-size: 12px;
}

body.page-uvod .sms-toggle-switch {
width: 40px;
    height: 22px;
}

body.page-uvod .sms-toggle-slider:before {
height: 16px;
    width: 16px;
}

body.page-uvod .sms-toggle-switch input:checked + .sms-toggle-slider:before {
transform: translateX(18px);
}

body.page-uvod .sms-days-label {
font-size: 11px;
}

body.page-uvod .sms-days-select {
padding: 6px 10px;
    font-size: 12px;
}

body.page-uvod .category-card {
padding: 20px;
}

body.page-uvod .category-card-header {
gap: 8px;
    margin-bottom: 4px;
}

body.page-uvod .category-card-icon {
width: 32px;
    height: 32px;
    font-size: 14px;
}

body.page-uvod .category-card-title {
font-size: 15px;
    line-height: 32px;
}

body.page-uvod .enhanced-card:hover {
transform: translateY(-4px) scale(1.01);
}

body.page-uvod .category-card-action {
padding: 6px 10px;
    font-size: 12px;
}
}

body.page-uvod .analytics-section {
margin-top: 32px;
  margin-bottom: 32px;
}

body.page-uvod .analytics-title {
font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
}

body.page-uvod .analytics-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

body.page-uvod .analytics-card {
background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

body.page-uvod .analytics-card:hover {
transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.page-uvod .analytics-card-header {
display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

body.page-uvod .analytics-card-title {
font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

body.page-uvod .analytics-card-header i {
font-size: 20px;
  color: #3b82f6;
}

body.page-uvod .analytics-info .analytics-card-header i {
color: #6b7280;
}

body.page-uvod .analytics-sms .analytics-card-header i {
color: #6b7280;
}

body.page-uvod .analytics-chart .analytics-card-header i {
color: #6b7280;
}

body.page-uvod .chart-container {
height: 140px;
  position: relative;
  flex: 1;
  min-height: 0;
}

body.page-uvod .sms-chart-container {
height: 120px;
  flex: 0 0 auto;
}

body.page-uvod .sms-filter {
display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

body.page-uvod .sms-filter label {
font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

body.page-uvod .sms-filter select {
padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: #1f2937;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

body.page-uvod .sms-filter select:hover {
border-color: #3b82f6;
}

body.page-uvod .sms-filter select:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.page-uvod .sms-stats {
display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 8px;
}

body.page-uvod .sms-stat-item {
display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

body.page-uvod .sms-stat-label {
font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
  text-align: center;
}

body.page-uvod .sms-stat-value {
font-size: 20px;
  font-weight: 700;
  color: #3b82f6;
}

body.page-uvod .sms-messages-list {
margin-top: 16px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

body.page-uvod .sms-messages-header {
margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.page-uvod .sms-messages-header h4 {
font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

body.page-uvod .sms-messages-header .btn {
padding: 4px 10px;
  font-size: 11px;
  height: auto;
  line-height: 1.3;
  min-height: auto;
}

body.page-uvod .sms-messages-content {
display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-uvod .sms-message-empty {
text-align: center;
  padding: 30px 20px;
  color: #9ca3af;
}

body.page-uvod .sms-message-empty i {
font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

body.page-uvod .sms-message-empty p {
font-size: 13px;
  margin: 0;
}

body.page-uvod .sms-message-item {
display: flex;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

body.page-uvod .sms-message-item:hover {
background: #f3f4f6;
  border-color: #d1d5db;
}

body.page-uvod .sms-message-icon {
width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

body.page-uvod .sms-message-content {
flex: 1;
  min-width: 0;
}

body.page-uvod .sms-message-text {
font-size: 13px;
  color: #1f2937;
  line-height: 1.5;
  margin-bottom: 6px;
  word-wrap: break-word;
}

body.page-uvod .sms-message-date {
font-size: 11px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.page-uvod .sms-message-date i {
font-size: 10px;
}

body.page-uvod .sms-view-all {
margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

body.page-uvod .sms-modal-list {
display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
}

body.page-uvod .sms-modal-item {
display: flex;
  gap: 12px;
  padding: 14px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

body.page-uvod .sms-modal-item:hover {
background: #f3f4f6;
  border-color: #d1d5db;
}

body.page-uvod .sms-modal-icon {
width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

body.page-uvod .sms-modal-content {
flex: 1;
  min-width: 0;
}

body.page-uvod .sms-modal-text {
font-size: 14px;
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 8px;
  word-wrap: break-word;
}

body.page-uvod .sms-modal-date {
font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.page-uvod .sms-modal-date i {
font-size: 11px;
}

body.page-uvod .analytics-info {
grid-column: span 1;
}

body.page-uvod .info-list {
display: flex;
  flex-direction: column;
  gap: 16px;
}

body.page-uvod .info-item {
display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

body.page-uvod .info-item:hover {
background: #f3f4f6;
}

body.page-uvod .info-item-link {
text-decoration: none;
  color: inherit;
  display: block;
}

body.page-uvod .info-item-clickable {
cursor: pointer;
  position: relative;
}

body.page-uvod .info-item-clickable:hover {
background: #f3f4f6;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.page-uvod .info-arrow {
display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

body.page-uvod .info-item-clickable:hover .info-arrow {
color: #3b82f6;
  transform: translateX(4px);
}

body.page-uvod .info-icon {
width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

body.page-uvod .info-content {
flex: 1;
}

body.page-uvod .info-label {
font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

body.page-uvod .info-value {
font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

body.page-uvod .info-date {
font-size: 13px;
  color: #9ca3af;
}

body.page-uvod .info-stats {
display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-uvod .info-stat-item {
display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

body.page-uvod .info-stat-item:last-child {
border-bottom: none;
}

body.page-uvod .stat-label {
font-size: 14px;
  color: #6b7280;
}

body.page-uvod .stat-value {
font-size: 16px;
  font-weight: 700;
  color: #3b82f6;
}

@media (max-width: 768px) {
body.page-uvod .analytics-grid {
grid-template-columns: 1fr;
    gap: 16px;
}

body.page-uvod .analytics-card {
padding: 14px;
}

body.page-uvod .analytics-card-header {
margin-bottom: 10px;
    padding-bottom: 8px;
}

body.page-uvod .chart-container {
height: 120px;
}

body.page-uvod .sms-chart-container {
height: 100px;
}

body.page-uvod .sms-stats {
flex-direction: column;
    gap: 8px;
}

body.page-uvod .sms-stat-value {
font-size: 18px;
}

body.page-uvod .sms-messages-content {
max-height: 250px;
}

body.page-uvod .sms-message-item {
padding: 10px;
}

body.page-uvod .sms-message-icon {
width: 32px;
    height: 32px;
    font-size: 14px;
}

body.page-uvod .sms-message-text {
font-size: 12px;
}

body.page-uvod .sms-modal-list {
max-height: 50vh;
}

body.page-uvod .sms-modal-item {
padding: 12px;
}

body.page-uvod .sms-modal-icon {
width: 36px;
    height: 36px;
    font-size: 16px;
}

body.page-uvod .sms-modal-text {
font-size: 13px;
}

body.page-uvod .analytics-title {
font-size: 20px;
    margin-bottom: 20px;
}
}

body.page-uvod .two-factor-modal {
position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  background: #ffffff;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.page-uvod .two-factor-modal-content {
background: white;
  border-radius: 0;
  padding: 32px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-shadow: none;
  position: relative;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body.page-uvod .two-factor-header {
margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

body.page-uvod .two-factor-body {
padding-top: 8px;
}

body.page-uvod .two-factor-error {
display: flex;
  align-items: center;
  gap: 8px;
}

body.page-uvod .two-factor-error i {
font-size: 16px;
}

body.page-uvod #two_factor_code:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

@media (max-width: 768px) {
body.page-uvod .two-factor-modal-content {
padding: 24px;
    width: 100%;
}
}

/* Refreshed dashboard layout for /pages/users/uvod.php */
body.page-uvod {
background:
  radial-gradient(circle at top right, rgba(59, 130, 246, 0.10) 0%, transparent 28%),
  linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-uvod .main-content {
padding: 28px !important;
background: transparent;
}

body.page-uvod .dashboard-shell {
display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 28px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8fbff 100%);
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body.page-uvod .breadcrumb-nav {
margin: 0;
  padding: 0;
  background: transparent;
  width: auto;
}

body.page-uvod .breadcrumb {
gap: 0.65rem;
  font-size: 0.9rem;
}

body.page-uvod .breadcrumb li a {
color: #64748b;
  font-weight: 600;
}

body.page-uvod .breadcrumb li a:hover {
color: #2563eb;
}

body.page-uvod .breadcrumb li.active a {
color: #0f172a;
}

body.page-uvod .dashboard-hero {
position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 24px;
  padding: 30px 32px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #60a5fa 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(29, 78, 216, 0.24);
}

body.page-uvod .dashboard-hero::before,
body.page-uvod .dashboard-hero::after {
content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.page-uvod .dashboard-hero::before {
top: -140px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page-uvod .dashboard-hero::after {
bottom: -160px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.18) 0%, rgba(191, 219, 254, 0) 72%);
}

body.page-uvod .dashboard-hero-main,
body.page-uvod .dashboard-hero-actions {
position: relative;
  z-index: 1;
}

body.page-uvod .dashboard-hero-main {
display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-uvod .dashboard-hero-kicker {
display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-uvod .dashboard-hero-title {
margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  font-weight: 800;
}

body.page-uvod .dashboard-hero-text {
max-width: 680px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

body.page-uvod .dashboard-hero-meta {
display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

body.page-uvod .dashboard-chip {
display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

body.page-uvod .dashboard-chip i {
font-size: 0.9rem;
  opacity: 0.92;
}

body.page-uvod .dashboard-hero-actions {
display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

body.page-uvod .dashboard-hero-actions .btn {
justify-content: flex-start;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: none;
}

body.page-uvod .dashboard-hero-actions .btn:hover {
background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

body.page-uvod .dashboard-hero-actions .btn i {
color: inherit;
}

body.page-uvod .stats-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

body.page-uvod .dashboard-stat-link {
color: inherit;
  text-decoration: none;
}

body.page-uvod .stat-card {
padding: 24px;
  border-radius: 22px;
  border: 1px solid #e5edf6;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

body.page-uvod .stat-card:hover {
transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10);
}

body.page-uvod .stat-card::before {
height: 5px;
}

body.page-uvod .stat-card-header-row {
align-items: center;
  margin-bottom: 18px;
}

body.page-uvod .stat-card-number {
font-size: 2.25rem;
}

body.page-uvod .stat-card-label {
font-size: 0.95rem;
}

body.page-uvod .stat-card-trend {
padding-top: 16px;
  border-top: 1px solid #e8eef6;
  color: #475569;
}

body.page-uvod .analytics-section {
margin: 0;
}

body.page-uvod .dashboard-section-heading {
display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

body.page-uvod .dashboard-section-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
  font-size: 1.1rem;
}

body.page-uvod .dashboard-section-copy h3 {
margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-uvod .dashboard-section-copy p {
margin: 0;
  color: #64748b;
  line-height: 1.65;
}

body.page-uvod .analytics-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.page-uvod .analytics-card {
padding: 22px;
  border-radius: 24px;
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

body.page-uvod .analytics-card-header {
margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom-color: #e8eef6;
}

body.page-uvod .analytics-card-title {
font-size: 1.08rem;
}

body.page-uvod .analytics-card-header i {
display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eff6ff;
}

body.page-uvod .analytics-chart .chart-container {
height: 320px;
}

body.page-uvod .analytics-sms .sms-chart-container {
height: 150px;
}

body.page-uvod .sms-filter {
justify-content: space-between;
  gap: 12px;
}

body.page-uvod .sms-filter select {
min-width: 120px;
}

body.page-uvod .sms-stats {
padding: 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e5edf6;
}

body.page-uvod .sms-stat-value {
color: #2563eb;
}

body.page-uvod .sms-messages-list {
margin-top: 18px;
  padding-top: 18px;
  border-top-color: #e8eef6;
}

body.page-uvod .sms-messages-header {
align-items: center;
}

body.page-uvod .sms-message-item {
padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #e5edf6;
}

body.page-uvod .sms-message-icon {
background: linear-gradient(135deg, #2563eb, #60a5fa);
}

body.page-uvod .analytics-activity .activity-list {
display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

body.page-uvod .activity-item {
display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e5edf6;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-uvod .activity-item:hover {
transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

body.page-uvod .activity-item-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  font-size: 1rem;
}

body.page-uvod .activity-item-copy {
display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body.page-uvod .activity-item-copy strong {
font-size: 0.98rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-uvod .activity-item-copy span {
color: #64748b;
  font-size: 0.9rem;
}

body.page-uvod .activity-item-date {
font-size: 0.82rem;
  color: #64748b;
  white-space: nowrap;
}

body.page-uvod .activity-empty {
display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 240px;
  padding: 28px 20px;
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

body.page-uvod .activity-empty i {
font-size: 1.6rem;
  color: #94a3b8;
}

body.page-uvod .info-list {
gap: 14px;
}

body.page-uvod .info-item {
padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-uvod .info-item-clickable:hover {
transform: translateX(0);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.07);
}

body.page-uvod .info-icon {
background: linear-gradient(135deg, #2563eb, #60a5fa);
}

body.page-uvod .info-label {
letter-spacing: 0.08em;
}

body.page-uvod .info-value {
font-size: 1rem;
}

body.page-uvod .info-stat-item {
padding: 10px 0;
}

body.page-uvod .stat-value {
color: #0f172a;
}

body.page-uvod .main-content:has(.two-factor-modal) {
  transform: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.page-uvod.two-factor-active {
  overflow: hidden;
}

body.page-uvod .two-factor-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 36px);
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.14) 0%, transparent 28%),
    rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 2147483000;
}

body.page-uvod .two-factor-modal-content {
  width: min(100%, 560px);
  height: auto;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.page-uvod .two-factor-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(219, 228, 240, 0.92);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26);
}

body.page-uvod .two-factor-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #93c5fd);
}

body.page-uvod .two-factor-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom-color: #e8eef6;
}

body.page-uvod .two-factor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.24);
}

body.page-uvod .two-factor-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-uvod .two-factor-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-uvod .two-factor-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
}

body.page-uvod .two-factor-description {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

body.page-uvod .two-factor-description strong {
  color: #0f172a;
}

body.page-uvod .two-factor-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff4f4;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

body.page-uvod .two-factor-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.page-uvod .two-factor-form .form-group {
  margin-bottom: 0;
}

body.page-uvod .two-factor-label {
  display: block;
  margin-bottom: 10px;
  color: #334155;
  font-weight: 700;
}

body.page-uvod .two-factor-code-input {
  height: 76px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-align: center;
  padding: 0 18px 0 calc(18px + 0.32em);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-uvod .two-factor-hint {
  display: inline-block;
  margin-top: 12px;
  color: #64748b;
  line-height: 1.6;
}

body.page-uvod .two-factor-actions {
  display: flex;
}

body.page-uvod .two-factor-submit {
  width: 100%;
  min-height: 56px;
  justify-content: center !important;
  border-radius: 18px;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.22);
}

body.page-uvod #two_factor_code:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

@media (max-width: 1280px) {
body.page-uvod .stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 960px) {
body.page-uvod .main-content {
padding: 20px !important;
}

body.page-uvod .dashboard-shell {
padding: 22px !important;
  gap: 24px;
  border-radius: 24px;
}

body.page-uvod .dashboard-hero {
grid-template-columns: 1fr;
  padding: 26px 24px;
}

body.page-uvod .dashboard-hero-actions {
flex-direction: row;
  flex-wrap: wrap;
}

body.page-uvod .dashboard-hero-actions .btn {
flex: 1 1 220px;
}

body.page-uvod .analytics-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
body.page-uvod .main-content {
padding: 14px !important;
}

body.page-uvod .dashboard-shell {
padding: 18px !important;
  gap: 20px;
  border-radius: 20px;
}

body.page-uvod .dashboard-hero {
padding: 22px 18px;
  border-radius: 22px;
}

body.page-uvod .dashboard-hero-title {
font-size: 1.85rem;
}

body.page-uvod .dashboard-hero-meta {
flex-direction: column;
}

body.page-uvod .dashboard-chip {
width: 100%;
}

body.page-uvod .stats-grid {
grid-template-columns: 1fr;
  gap: 16px;
}

body.page-uvod .analytics-card {
padding: 18px;
  border-radius: 20px;
}

body.page-uvod .analytics-chart .chart-container {
height: 260px;
}

body.page-uvod .activity-item {
grid-template-columns: 44px minmax(0, 1fr);
}

body.page-uvod .activity-item-date {
grid-column: 2;
  justify-self: start;
}

body.page-uvod .two-factor-modal {
padding: 14px;
}

body.page-uvod .two-factor-modal-content {
width: 100%;
}

body.page-uvod .two-factor-panel {
padding: 26px 20px;
  border-radius: 22px;
}

body.page-uvod .two-factor-header {
flex-direction: column;
}

body.page-uvod .two-factor-title {
font-size: 1.7rem;
}

body.page-uvod .two-factor-code-input {
font-size: 1.6rem;
  letter-spacing: 0.22em;
  padding-left: calc(16px + 0.22em);
}
}


/* Inline styles migrated from /pages/users/zobrazit_vozidlo.php */
body.page-zobrazit-vozidlo .badge {
display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.page-zobrazit-vozidlo .badge-info {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

body.page-zobrazit-vozidlo .vehicle-hero {
position: relative;
  background: transparent;
  border-radius: 20px;
  margin-bottom: 24px;
}

body.page-zobrazit-vozidlo .vehicle-hero-bg {
display: none;
}

body.page-zobrazit-vozidlo .vehicle-hero-content {
position: relative;
  z-index: 2;
  padding: 0;
  color: #1f2937;
}

body.page-zobrazit-vozidlo .card-wide {
width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 2% 1% 2% 2%;
}

body.page-zobrazit-vozidlo .section {
margin-bottom: 24px;
}

body.page-zobrazit-vozidlo .page-card {
margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: calc(100vh - 2%);
}

body.page-zobrazit-vozidlo .main-content {
padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-zobrazit-vozidlo .breadcrumb-nav {
margin-bottom: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0;
  width: calc(100% + 3rem);
}

body.page-zobrazit-vozidlo .breadcrumb {
list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

body.page-zobrazit-vozidlo .breadcrumb li {
display: flex;
  align-items: center;
}

body.page-zobrazit-vozidlo .breadcrumb li:not(:last-child)::after {
content: '/';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-weight: 400;
}

body.page-zobrazit-vozidlo .breadcrumb li a {
color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-zobrazit-vozidlo .breadcrumb li a:hover {
color: #2563eb;
  text-decoration: underline;
}

body.page-zobrazit-vozidlo .breadcrumb li.active a {
color: #6b7280;
  cursor: default;
  text-decoration: none;
}

body.page-zobrazit-vozidlo .breadcrumb li.active a:hover {
text-decoration: none;
}

body.page-zobrazit-vozidlo .vehicle-hero-main {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

body.page-zobrazit-vozidlo .vehicle-hero-image {
flex-shrink: 0;
}

body.page-zobrazit-vozidlo .vehicle-image-container {
position: relative;
  display: inline-block;
}

body.page-zobrazit-vozidlo .vehicle-image-large {
width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

body.page-zobrazit-vozidlo .vehicle-image-overlay {
position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px;
  border-radius: 50%;
  font-size: 24px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

body.page-zobrazit-vozidlo .vehicle-image-container:hover .vehicle-image-overlay {
opacity: 1;
}

body.page-zobrazit-vozidlo .vehicle-image-container:hover .vehicle-image-large {
transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.6);
}

body.page-zobrazit-vozidlo .vehicle-hero-info {
flex: 1;
}

body.page-zobrazit-vozidlo .vehicle-category,
body.page-zobrazit-vozidlo .vehicle-hero-spz {
display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

body.page-zobrazit-vozidlo .vehicle-category i,
body.page-zobrazit-vozidlo .vehicle-hero-spz i {
font-size: 14px;
}

body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
font-size: 32px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

body.page-zobrazit-vozidlo .vehicle-header-row {
display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

body.page-zobrazit-vozidlo .vehicle-header-label {
font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

body.page-zobrazit-vozidlo .vehicle-title-row {
display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

body.page-zobrazit-vozidlo .vehicle-name-edit-wrapper {
display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

body.page-zobrazit-vozidlo .vehicle-name-edit-wrapper h1 {
margin: 0;
}

body.page-zobrazit-vozidlo .btn-edit-name {
background: transparent;
  border: 1px solid #d1d5db;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .btn-edit-name:hover {
background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

body.page-zobrazit-vozidlo .btn-edit-name i {
font-size: 14px;
}

body.page-zobrazit-vozidlo .vehicle-name-edit-form {
display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

body.page-zobrazit-vozidlo .vehicle-name-input {
flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 32px;
  font-weight: 800;
  color: #1f2937;
  background: white;
  font-family: inherit;
  min-width: 200px;
}

body.page-zobrazit-vozidlo .vehicle-name-input:focus {
outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.page-zobrazit-vozidlo .btn-name-save,
body.page-zobrazit-vozidlo .btn-name-cancel {
background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .btn-name-save:hover {
background: #10b981;
  border-color: #10b981;
  color: white;
}

body.page-zobrazit-vozidlo .btn-name-cancel:hover {
background: #ef4444;
  border-color: #ef4444;
  color: white;
}

body.page-zobrazit-vozidlo .vehicle-badges {
display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

body.page-zobrazit-vozidlo .vehicle-hero-spz {
opacity: 0.95;
}

body.page-zobrazit-vozidlo .vehicle-hero-spz i {
font-size: 16px;
  opacity: 0.8;
}

body.page-zobrazit-vozidlo .status-badge {
display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

body.page-zobrazit-vozidlo .status-badge.status-inline {
padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.page-zobrazit-vozidlo .status-badge:hover {
transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.page-zobrazit-vozidlo .status-active {
background: linear-gradient(135deg, rgba(107, 114, 128, 0.9), rgba(75, 85, 99, 0.9)) !important;
  color: white !important;
  border: 1px solid rgba(107, 114, 128, 0.5) !important;
}

body.page-zobrazit-vozidlo .status-inactive {
background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
  color: white;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

body.page-zobrazit-vozidlo .vehicle-hero-actions {
display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  justify-content: center !important;
  align-items: stretch !important;
  margin-top: 0 !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn {
padding: 8px 16px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 260px !important;
  width: 100% !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .badge {
height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn:hover {
transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn-primary {
background: linear-gradient(135deg, #6b7280 0%, #4b5563 50%, #374151 100%) !important;
  border: 1px solid rgba(107, 114, 128, 0.5) !important;
  color: white !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn-primary:hover {
background: linear-gradient(135deg, #4b5563 0%, #374151 50%, #1f2937 100%) !important;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}

body.page-zobrazit-vozidlo #editModal .btn-primary,
body.page-zobrazit-vozidlo #editModal button[type="submit"].btn-primary {
background: linear-gradient(135deg, #6b7280 0%, #4b5563 50%, #374151 100%) !important;
  border: none !important;
  color: white !important;
}

body.page-zobrazit-vozidlo #editModal .btn-primary:hover,
body.page-zobrazit-vozidlo #editModal button[type="submit"].btn-primary:hover {
background: linear-gradient(135deg, #4b5563 0%, #374151 50%, #1f2937 100%) !important;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn-outline-primary {
background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn-outline-primary:hover {
background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

body.page-zobrazit-vozidlo #editModal .modal-content {
position: relative !important;
  width: min(980px, calc(100vw - 48px)) !important;
  max-width: 980px !important;
  max-height: calc(100vh - 48px) !important;
  margin: 0 auto !important;
  overflow-y: auto !important;
  border-radius: 16px !important;
}

body.page-zobrazit-vozidlo #editModal.is-single-editor .modal-content {
  width: min(760px, calc(100vw - 48px)) !important;
  max-width: 760px !important;
}

body.page-zobrazit-vozidlo #editModal.is-single-editor .notification-editor-layout {
  grid-template-columns: 1fr !important;
}

body.page-zobrazit-vozidlo #editModal.is-single-editor .notification-editor-card {
  grid-column: auto !important;
}

body.page-zobrazit-vozidlo #editModal .notification-editor-card[hidden],
body.page-zobrazit-vozidlo #editModal .edit-modal-section[hidden],
body.page-zobrazit-vozidlo #editModal .edit-modal-summary[hidden] {
  display: none !important;
}

body.page-zobrazit-vozidlo #editModal.is-single-editor .edit-modal-section-heading {
  display: none !important;
}

body.page-zobrazit-vozidlo #editModal {
position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 24px !important;
  overflow-y: auto !important;
  z-index: 2147483646 !important;
}

body.page-zobrazit-vozidlo #editModal.active {
display: flex !important;
}

body.page-zobrazit-vozidlo #editModal .modal-header {
position: relative !important;
  padding-right: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body.page-zobrazit-vozidlo #editModal .card-modal-close {
position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-zobrazit-vozidlo #editModal .card-modal-close:hover {
background: #f3f4f6 !important;
  color: #1f2937 !important;
  transform: scale(1.05) !important;
}

body.page-zobrazit-vozidlo .extend-modal .modal-content {
position: relative !important;
}

body.page-zobrazit-vozidlo .extend-modal .modal-header {
position: relative !important;
  padding-right: 60px !important;
}

body.page-zobrazit-vozidlo .extend-modal .card-modal-close {
position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
}

body.page-zobrazit-vozidlo .extend-modal .card-modal-close:hover {
background: #f3f4f6 !important;
  color: #1f2937 !important;
  transform: scale(1.05) !important;
}

body.page-zobrazit-vozidlo .toast {
position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2147483647;
  max-width: 500px;
  min-width: 300px;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  background: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1f2937;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-zobrazit-vozidlo .toast.show {
opacity: 1; 
  transform: translateX(0);
}

body.page-zobrazit-vozidlo .toast.success {
background: #f8f9fa; 
  color: #1f2937;
}

body.page-zobrazit-vozidlo .toast.error {
background: #f8f9fa; 
  color: #1f2937;
}

body.page-zobrazit-vozidlo .toast i {
font-size: 16px;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .toast.success i {
color: #10b981;
}

body.page-zobrazit-vozidlo .toast.error i {
color: #ef4444;
}

body.page-zobrazit-vozidlo .toast .toast-text {
flex: 1; 
  font-weight: 500; 
  line-height: 1.4; 
  color: #1f2937;
}

body.page-zobrazit-vozidlo .toast .toast-close {
background: transparent; 
  border: 0; 
  width: 24px; 
  height: 24px; 
  border-radius: 0; 
  color: #6b7280; 
  cursor: pointer; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

body.page-zobrazit-vozidlo .toast .toast-close:hover {
background: rgba(0, 0, 0, 0.05);
}

body.page-zobrazit-vozidlo .toast .toast-close i {
font-size: 14px;
  color: #6b7280;
}

body.page-zobrazit-vozidlo .expiration-overview {
margin-bottom: 32px;
}

body.page-zobrazit-vozidlo .expiration-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

body.page-zobrazit-vozidlo .expiration-card {
background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

body.page-zobrazit-vozidlo .expiration-card:hover {
transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.page-zobrazit-vozidlo .expiration-card::before {
content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

body.page-zobrazit-vozidlo .expiration-card.success::before {
background: #10b981;
}

body.page-zobrazit-vozidlo .expiration-card.info::before {
background: #3b82f6;
}

body.page-zobrazit-vozidlo .expiration-card.warning::before {
background: #f59e0b;
}

body.page-zobrazit-vozidlo .expiration-card.danger::before {
background: #ef4444;
}

body.page-zobrazit-vozidlo .expiration-card-header {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: visible;
  z-index: 1;
}

body.page-zobrazit-vozidlo .expiration-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .expiration-card-icon {
width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .expiration-card.success .expiration-card-icon {
background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

body.page-zobrazit-vozidlo .expiration-card.info .expiration-card-icon {
background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

body.page-zobrazit-vozidlo .expiration-card.warning .expiration-card-icon {
background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

body.page-zobrazit-vozidlo .expiration-card.danger .expiration-card-icon {
background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

body.page-zobrazit-vozidlo .expiration-card-header h3 {
font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  flex: 1;
}

body.page-zobrazit-vozidlo .expiration-card-content {
margin-top: 0;
  position: relative;
  z-index: 1;
}

body.page-zobrazit-vozidlo .expiration-card-content p {
font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

body.page-zobrazit-vozidlo .extend-dropdown-wrapper {
position: relative;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 10;
}

body.page-zobrazit-vozidlo .btn-extend-toggle {
background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  position: static;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .btn-extend-toggle:hover {
background: #e5e7eb;
  border-color: #9ca3af;
  color: #4b5563;
}

body.page-zobrazit-vozidlo .expiration-edit-toggle,
body.page-zobrazit-vozidlo .insurance-summary-edit-btn {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

body.page-zobrazit-vozidlo .expiration-edit-toggle:hover,
body.page-zobrazit-vozidlo .insurance-summary-edit-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

body.page-zobrazit-vozidlo .btn-extend-toggle i {
font-size: 12px;
}

body.page-zobrazit-vozidlo .extend-dropdown-menu {
display: none;
  position: fixed;
  margin-top: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

body.page-zobrazit-vozidlo .extend-dropdown-menu.show {
display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

body.page-zobrazit-vozidlo .extend-dropdown-menu form {
display: flex;
  flex-direction: column;
}

body.page-zobrazit-vozidlo .extend-dropdown-item {
background: white;
  color: #1f2937;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid #f3f4f6;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body.page-zobrazit-vozidlo .extend-dropdown-item:last-child {
border-bottom: none;
}

body.page-zobrazit-vozidlo .extend-dropdown-item:hover {
background: #f3f4f6;
  color: #3b82f6;
}

body.page-zobrazit-vozidlo .extend-dropdown-item i {
font-size: 12px;
  color: #3b82f6;
}

body.page-zobrazit-vozidlo .vehicle-info-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

body.page-zobrazit-vozidlo .vehicle-info-item {
padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

body.page-zobrazit-vozidlo .vehicle-info-item-full {
grid-column: 1 / -1;
}

body.page-zobrazit-vozidlo .vehicle-info-label {
font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-zobrazit-vozidlo .vehicle-info-value {
font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

@media (max-width: 768px) {
body.page-zobrazit-vozidlo .vehicle-hero-content {
padding: 24px;
}

body.page-zobrazit-vozidlo .vehicle-hero-main {
flex-direction: column;
    text-align: center;
    gap: 20px;
}

body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
font-size: 24px;
}

body.page-zobrazit-vozidlo .vehicle-name-input {
font-size: 24px !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions {
position: static !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn,
body.page-zobrazit-vozidlo .vehicle-hero-actions .badge {
height: 44px !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
}

body.page-zobrazit-vozidlo .vehicle-category {
font-size: 11px;
    padding: 5px 10px;
}

body.page-zobrazit-vozidlo .vehicle-hero-spz {
font-size: 16px;
    padding: 6px 12px;
}

body.page-zobrazit-vozidlo .status-badge {
padding: 8px 16px;
    font-size: 12px;
}

body.page-zobrazit-vozidlo .expiration-grid {
grid-template-columns: 1fr;
}

body.page-zobrazit-vozidlo .vehicle-info-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
body.page-zobrazit-vozidlo .vehicle-hero-content {
padding: 20px;
}

body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
font-size: 20px;
}

body.page-zobrazit-vozidlo .vehicle-name-input {
font-size: 20px !important;
}

body.page-zobrazit-vozidlo .vehicle-name-edit-wrapper {
flex-wrap: wrap;
}

body.page-zobrazit-vozidlo .btn-edit-name {
width: 28px;
    height: 28px;
    padding: 4px;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions {
position: static !important;
    flex-direction: column !important;
    margin-top: 16px !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn,
body.page-zobrazit-vozidlo .vehicle-hero-actions .badge {
height: 40px !important;
    font-size: 12px !important;
    padding: 8px 16px !important;
}

body.page-zobrazit-vozidlo .vehicle-category {
font-size: 10px;
    padding: 4px 8px;
}

body.page-zobrazit-vozidlo .vehicle-hero-spz {
font-size: 14px;
    padding: 5px 10px;
}

body.page-zobrazit-vozidlo .status-badge {
padding: 6px 12px;
    font-size: 11px;
}
}

/* Detail vozidla refresh */
body.page-zobrazit-vozidlo .card-wide {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid #e6ebf2;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  padding: 32px;
}

body.page-zobrazit-vozidlo .page-card {
  margin: 16px !important;
  width: calc(100% - 32px) !important;
  min-height: auto;
}

body.page-zobrazit-vozidlo .main-content {
  background: linear-gradient(180deg, #f5f8fc 0%, #edf2f7 100%);
}

body.page-zobrazit-vozidlo .breadcrumb-nav {
  margin: 0 0 24px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  background: transparent;
  width: auto;
}

body.page-zobrazit-vozidlo .breadcrumb {
  gap: 0.35rem;
  font-size: 13px;
  color: #64748b;
}

body.page-zobrazit-vozidlo .breadcrumb li a {
  color: #7c8aa0;
  font-weight: 600;
}

body.page-zobrazit-vozidlo .breadcrumb li.active a {
  color: #475569;
}

body.page-zobrazit-vozidlo .vehicle-hero {
  margin-bottom: 28px;
  border: 1px solid #e5ecf3;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3f7fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.page-zobrazit-vozidlo .vehicle-hero-content {
  padding: 28px 30px;
}

body.page-zobrazit-vozidlo .vehicle-hero-main {
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 0;
}

body.page-zobrazit-vozidlo .vehicle-hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-zobrazit-vozidlo .vehicle-header-row {
  margin-bottom: 0;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-zobrazit-vozidlo .vehicle-header-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: #111827;
  text-shadow: none;
}

body.page-zobrazit-vozidlo .vehicle-hero-subtitle {
  margin: 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
}

body.page-zobrazit-vozidlo .status-badge.status-inline {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: none;
}

body.page-zobrazit-vozidlo .status-badge.status-inline:hover {
  transform: none;
}

body.page-zobrazit-vozidlo .btn-edit-name,
body.page-zobrazit-vozidlo .btn-name-save,
body.page-zobrazit-vozidlo .btn-name-cancel {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border-color: #d8e1ec;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

body.page-zobrazit-vozidlo .btn-edit-name {
  background: rgba(255, 255, 255, 0.92);
}

body.page-zobrazit-vozidlo .btn-edit-name:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

body.page-zobrazit-vozidlo .vehicle-hero-actions {
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn {
  height: 46px !important;
  padding: 0 20px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn:hover {
  transform: translateY(-1px);
}

body.page-zobrazit-vozidlo .section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid #e5ecf3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body.page-zobrazit-vozidlo .section-heading-spaced {
  margin-top: 8px;
}

body.page-zobrazit-vozidlo .section-heading-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eef7f3 0%, #e8f0fb 100%);
  color: #334155;
}

body.page-zobrazit-vozidlo .section-heading-icon i {
  font-size: 18px;
}

body.page-zobrazit-vozidlo .section-heading-body {
  min-width: 0;
}

body.page-zobrazit-vozidlo .section-heading-body h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

body.page-zobrazit-vozidlo .section-heading-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

body.page-zobrazit-vozidlo .expiration-overview {
  margin-bottom: 28px;
}

body.page-zobrazit-vozidlo .expiration-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

body.page-zobrazit-vozidlo .expiration-card {
  min-height: 156px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid #e5eaf1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

body.page-zobrazit-vozidlo .expiration-card:hover {
  transform: translateY(-3px);
}

body.page-zobrazit-vozidlo .expiration-card::before {
  height: 5px;
  border-radius: 18px 18px 0 0;
}

body.page-zobrazit-vozidlo .expiration-card-header {
  align-items: flex-start;
  margin-bottom: 14px;
}

body.page-zobrazit-vozidlo .expiration-card-header h3 {
  font-size: 18px;
  line-height: 1.25;
}

body.page-zobrazit-vozidlo .expiration-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

body.page-zobrazit-vozidlo .expiration-card-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

body.page-zobrazit-vozidlo .vehicle-info-grid {
  gap: 16px;
}

body.page-zobrazit-vozidlo .vehicle-info-item {
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #e5eaf1;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.page-zobrazit-vozidlo .vehicle-info-label {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.page-zobrazit-vozidlo .vehicle-info-value {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .insurance-summary-card {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

body.page-zobrazit-vozidlo .insurance-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

body.page-zobrazit-vozidlo .insurance-summary-panel {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e5eaf1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-zobrazit-vozidlo .insurance-summary-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
}

body.page-zobrazit-vozidlo .insurance-summary-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eef7f3 0%, #e8f0fb 100%);
  color: #334155;
}

body.page-zobrazit-vozidlo .insurance-summary-title-wrap {
  min-width: 0;
  flex: 1;
  padding-right: 0;
}

body.page-zobrazit-vozidlo .insurance-summary-title-wrap h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .insurance-summary-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .insurance-summary-state {
  position: static;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-zobrazit-vozidlo .insurance-summary-edit-btn {
  position: static;
}

body.page-zobrazit-vozidlo .insurance-summary-state-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

body.page-zobrazit-vozidlo .insurance-summary-state-info {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

body.page-zobrazit-vozidlo .insurance-summary-state-warning {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

body.page-zobrazit-vozidlo .insurance-summary-state-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

body.page-zobrazit-vozidlo .insurance-summary-state-unset {
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
}

body.page-zobrazit-vozidlo .insurance-summary-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-zobrazit-vozidlo .insurance-meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-zobrazit-vozidlo .insurance-meta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

body.page-zobrazit-vozidlo .insurance-meta-value {
  font-size: 15px;
  line-height: 1.5;
  color: #0f172a;
  word-break: break-word;
}

body.page-zobrazit-vozidlo .insurance-meta-row-policy {
  gap: 6px;
}

body.page-zobrazit-vozidlo .insurance-meta-value-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-zobrazit-vozidlo .insurance-meta-value-wrap .insurance-meta-value {
  flex: 1 1 auto;
  min-width: 0;
}

body.page-zobrazit-vozidlo .insurance-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.page-zobrazit-vozidlo .insurance-copy-btn:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .insurance-copy-btn.is-copied {
  border-color: #86efac;
  background: #dcfce7;
  color: #166534;
}

body.page-zobrazit-vozidlo .insurance-copy-btn.is-copy-error {
  border-color: #fca5a5;
  background: #fee2e2;
  color: #991b1b;
}

body.page-zobrazit-vozidlo .vehicle-meta-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5ecf3;
}

body.page-zobrazit-vozidlo .vehicle-meta-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e5ecf3;
  background: rgba(248, 250, 252, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.page-zobrazit-vozidlo .vehicle-meta-pill-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-meta-pill-value {
  font-size: 16px;
  line-height: 1.45;
  color: #0f172a;
  word-break: break-word;
}

body.page-zobrazit-vozidlo .vehicle-share-card {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

body.page-zobrazit-vozidlo .vehicle-share-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid #e5ecf3;
}

body.page-zobrazit-vozidlo .vehicle-share-heading {
  min-width: 0;
  max-width: 720px;
}

body.page-zobrazit-vozidlo .vehicle-share-label {
  margin-bottom: 8px;
}

body.page-zobrazit-vozidlo .vehicle-share-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-share-capability {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #dbe4ee;
  background: #ffffff;
}

body.page-zobrazit-vozidlo .vehicle-share-capability strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body.page-zobrazit-vozidlo .vehicle-share-capability span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-zobrazit-vozidlo .vehicle-share-capability.is-allowed {
  border-color: #bfdbfe;
  background: #eff6ff;
}

body.page-zobrazit-vozidlo .vehicle-share-capability.is-blocked {
  border-color: #fde68a;
  background: #fffbeb;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-form {
  margin: 0;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dbe4ee;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  user-select: none;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-label.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(100%);
  pointer-events: none;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-state {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-icon {
  font-size: 34px;
  line-height: 1;
  color: #cbd5e1;
  transition: color 0.2s ease, transform 0.2s ease;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-label:hover .vehicle-share-toggle-icon {
  transform: scale(1.03);
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-icon.is-enabled {
  color: #10b981;
}

body.page-zobrazit-vozidlo .vehicle-share-toggle-icon.is-disabled {
  color: #cbd5e1;
}

body.page-zobrazit-vozidlo .vehicle-share-panel {
  margin: 0 24px 24px;
  padding: 20px 22px;
  border: 1px solid #e5ecf3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body.page-zobrazit-vozidlo .vehicle-share-panel.is-hidden {
  display: none;
}

body.page-zobrazit-vozidlo .vehicle-share-panel-title {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .vehicle-share-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-zobrazit-vozidlo .shared-friend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e5ecf3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-zobrazit-vozidlo .shared-friend-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

body.page-zobrazit-vozidlo .shared-friend-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}

body.page-zobrazit-vozidlo .shared-friend-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-zobrazit-vozidlo .shared-friend-status.is-enabled {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

body.page-zobrazit-vozidlo .shared-friend-status.is-disabled {
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

body.page-zobrazit-vozidlo .shared-friend-remove-form {
  margin: 0;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .share-selection-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

body.page-zobrazit-vozidlo .share-search-wrap {
  margin-bottom: 16px;
}

body.page-zobrazit-vozidlo .share-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #d8e1ec;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-zobrazit-vozidlo .share-search-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
  outline: none;
}

body.page-zobrazit-vozidlo .share-selection-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

body.page-zobrazit-vozidlo .share-friend-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #e5ecf3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page-zobrazit-vozidlo .share-friend-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

body.page-zobrazit-vozidlo .share-friend-card.is-filter-hidden {
  display: none;
}

body.page-zobrazit-vozidlo .share-friend-card-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

body.page-zobrazit-vozidlo .share-friend-checkbox,
body.page-zobrazit-vozidlo .share-notification-checkbox {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #10b981;
}

body.page-zobrazit-vozidlo .share-friend-card-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .share-friend-card-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-zobrazit-vozidlo .share-friend-card-phone {
  font-size: 14px;
  color: #64748b;
}

body.page-zobrazit-vozidlo .share-friend-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

body.page-zobrazit-vozidlo .share-friend-card-toggle input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.page-zobrazit-vozidlo .share-friend-card-note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #d8e1ec;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-share-empty {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed #d8e1ec;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

body.page-zobrazit-vozidlo .share-save-btn {
  margin-top: 18px;
}

body.page-zobrazit-vozidlo .edit-modal-content {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page-zobrazit-vozidlo .edit-modal-header {
  padding: 26px 30px 18px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid #e5ecf3;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

body.page-zobrazit-vozidlo .edit-modal-header-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-zobrazit-vozidlo .edit-modal-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-zobrazit-vozidlo .edit-modal-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-zobrazit-vozidlo .edit-modal-spz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #dbe4ee;
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

body.page-zobrazit-vozidlo .edit-modal-subtitle {
  margin: 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

body.page-zobrazit-vozidlo .edit-modal-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

body.page-zobrazit-vozidlo .edit-modal-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 24px 0;
  overflow-y: auto;
}

body.page-zobrazit-vozidlo .edit-modal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.page-zobrazit-vozidlo .edit-modal-summary-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5ecf3;
}

body.page-zobrazit-vozidlo .edit-modal-summary-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

body.page-zobrazit-vozidlo .edit-modal-summary-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .edit-modal-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-zobrazit-vozidlo .edit-modal-section-heading h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .edit-modal-section-heading p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

body.page-zobrazit-vozidlo .notification-editor-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

body.page-zobrazit-vozidlo .notification-editor-card {
  padding: 18px;
  border: 1px solid #e5ecf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.page-zobrazit-vozidlo .notification-editor-card.is-collapsed {
  gap: 0;
}

body.page-zobrazit-vozidlo .notification-editor-card.is-expanded {
  border-color: #cbdaf0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.page-zobrazit-vozidlo .notification-editor-card-full {
  grid-column: 1 / -1;
}

body.page-zobrazit-vozidlo .notification-editor-card-insurance {
  min-height: 0;
}

body.page-zobrazit-vozidlo .notification-editor-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.page-zobrazit-vozidlo .notification-editor-card-header-main {
  min-width: 0;
  flex: 1;
}

body.page-zobrazit-vozidlo .notification-editor-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-zobrazit-vozidlo .notification-editor-card-header h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .notification-editor-card-header p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

body.page-zobrazit-vozidlo .notification-editor-toggle {
  min-width: 112px;
  align-self: flex-start;
  justify-content: center;
  gap: 8px;
  padding-inline: 16px !important;
}

body.page-zobrazit-vozidlo .notification-editor-toggle-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}

body.page-zobrazit-vozidlo .notification-editor-card.is-expanded .notification-editor-toggle-icon {
  transform: rotate(180deg);
}

body.page-zobrazit-vozidlo .notification-editor-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5ecf3;
}

body.page-zobrazit-vozidlo .notification-editor-card-content[hidden] {
  display: none !important;
}

body.page-zobrazit-vozidlo .notification-editor-grid {
  margin-top: 0;
}

body.page-zobrazit-vozidlo .notification-editor-full-row {
  margin-top: -2px;
}

body.page-zobrazit-vozidlo .notification-note-input {
  min-height: 74px;
  resize: vertical;
}

body.page-zobrazit-vozidlo .edit-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 22px;
  margin-top: 18px;
  border-top: 1px solid #e5ecf3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
}

body.page-zobrazit-vozidlo .edit-modal-footer-note {
  max-width: 580px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

body.page-zobrazit-vozidlo .edit-modal-save-btn {
  width: auto !important;
  min-width: 240px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  body.page-zobrazit-vozidlo .card-wide {
    padding: 24px 18px;
    border-radius: 20px;
  }

  body.page-zobrazit-vozidlo .page-card {
    margin: 12px !important;
    width: calc(100% - 24px) !important;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-content {
    padding: 22px 20px;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-main {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
    font-size: 30px;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-actions {
    width: 100%;
    justify-content: flex-start !important;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-actions .btn {
    width: 100%;
  }

  body.page-zobrazit-vozidlo .section-heading {
    padding: 16px 18px;
  }

  body.page-zobrazit-vozidlo .section-heading-body p {
    font-size: 12px;
  }

  body.page-zobrazit-vozidlo .insurance-summary-grid {
    grid-template-columns: 1fr;
  }

  body.page-zobrazit-vozidlo .insurance-summary-title-wrap {
    padding-right: 0;
  }

  body.page-zobrazit-vozidlo .insurance-summary-state {
    position: static;
  }

  body.page-zobrazit-vozidlo .vehicle-meta-strip {
    grid-template-columns: 1fr;
  }

  body.page-zobrazit-vozidlo .vehicle-share-header {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  body.page-zobrazit-vozidlo .vehicle-share-toggle-form {
    width: 100%;
  }

  body.page-zobrazit-vozidlo .vehicle-share-toggle-label {
    width: 100%;
    min-width: 0;
  }

  body.page-zobrazit-vozidlo .vehicle-share-panel {
    margin: 0 20px 20px;
    padding: 18px;
  }

  body.page-zobrazit-vozidlo .shared-friend-row {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-zobrazit-vozidlo .shared-friend-remove-form,
  body.page-zobrazit-vozidlo .shared-friend-remove-form .btn {
    width: 100%;
  }

  body.page-zobrazit-vozidlo .share-selection-list {
    grid-template-columns: 1fr;
  }

  body.page-zobrazit-vozidlo .edit-modal-header {
    padding: 22px 20px 16px !important;
  }

  body.page-zobrazit-vozidlo .edit-modal-body {
    padding: 18px 18px 0;
  }

  body.page-zobrazit-vozidlo .edit-modal-summary {
    grid-template-columns: 1fr;
  }

  body.page-zobrazit-vozidlo .notification-editor-layout {
    grid-template-columns: 1fr;
  }

  body.page-zobrazit-vozidlo .notification-editor-card {
    padding: 18px;
  }

  body.page-zobrazit-vozidlo .notification-editor-card-full {
    grid-column: auto;
  }

  body.page-zobrazit-vozidlo .notification-editor-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-zobrazit-vozidlo .notification-editor-toggle {
    width: 100%;
  }

  body.page-zobrazit-vozidlo .edit-modal-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 18px;
  }

  body.page-zobrazit-vozidlo .edit-modal-save-btn {
    width: 100% !important;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  body.page-zobrazit-vozidlo .card-wide {
    padding: 18px 14px;
  }

  body.page-zobrazit-vozidlo .page-card {
    margin: 8px !important;
    width: calc(100% - 16px) !important;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-content {
    padding: 18px 16px;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
    font-size: 26px;
  }

  body.page-zobrazit-vozidlo .vehicle-hero-subtitle {
    font-size: 14px;
  }

  body.page-zobrazit-vozidlo .section-heading {
    gap: 12px;
    padding: 14px 16px;
  }

  body.page-zobrazit-vozidlo .section-heading-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  body.page-zobrazit-vozidlo .edit-modal-title-row {
    align-items: flex-start;
  }

  body.page-zobrazit-vozidlo .edit-modal-spz {
    font-size: 14px;
  }

  body.page-zobrazit-vozidlo .edit-modal-body {
    padding: 16px 14px 0;
  }

  body.page-zobrazit-vozidlo .insurance-summary-card,
  body.page-zobrazit-vozidlo .notification-editor-card {
    padding: 16px;
  }

  body.page-zobrazit-vozidlo .vehicle-meta-pill {
    padding: 14px 16px;
  }

  body.page-zobrazit-vozidlo .vehicle-share-header {
    padding: 18px 16px;
  }

  body.page-zobrazit-vozidlo .vehicle-share-panel {
    margin: 0 16px 16px;
    padding: 16px;
  }

  body.page-zobrazit-vozidlo .vehicle-share-toggle-label {
    padding: 13px 14px;
  }

  body.page-zobrazit-vozidlo .shared-friend-row,
  body.page-zobrazit-vozidlo .share-friend-card {
    padding: 16px;
  }

  body.page-zobrazit-vozidlo .share-search-input {
    height: 44px;
    padding: 0 14px;
  }

  body.page-zobrazit-vozidlo .insurance-summary-panel {
    padding: 16px;
  }

  body.page-zobrazit-vozidlo .insurance-summary-title-wrap {
    padding-right: 0;
  }

  body.page-zobrazit-vozidlo .insurance-summary-state {
    position: static;
    padding: 3px 8px;
    font-size: 10px;
  }

  body.page-zobrazit-vozidlo .expiration-card {
    min-height: 0;
  }
}


/* Zona-inspired buttons */
body.app-shell button:focus,
body.auth-page button:focus {
  outline: 0 !important;
}

body.app-shell .btn,
body.auth-page .btn {
  border-radius: 3px !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.app-shell .btn::before,
body.auth-page .btn::before {
  display: none !important;
}

body.app-shell .btn:focus,
body.auth-page .btn:focus {
  box-shadow: none !important;
}

body.app-shell .btn.active,
body.app-shell .btn:active,
body.auth-page .btn.active,
body.auth-page .btn:active {
  background-image: none !important;
}

body.app-shell .btn-primary,
body.auth-page .btn-primary {
  color: #fff !important;
  background: #1ab394 !important;
  border-color: #1ab394 !important;
}

body.app-shell .btn-primary:hover,
body.app-shell .btn-primary:focus,
body.app-shell .btn-primary.focus,
body.auth-page .btn-primary:hover,
body.auth-page .btn-primary:focus,
body.auth-page .btn-primary.focus {
  color: #fff !important;
  background: #18a689 !important;
  border-color: #18a689 !important;
}

body.app-shell .btn-success,
body.auth-page .btn-success {
  color: #fff !important;
  background: #1c84c6 !important;
  border-color: #1c84c6 !important;
}

body.app-shell .btn-success:hover,
body.app-shell .btn-success:focus,
body.auth-page .btn-success:hover,
body.auth-page .btn-success:focus {
  color: #fff !important;
  background: #1a7bb9 !important;
  border-color: #1a7bb9 !important;
}

body.app-shell .btn-info,
body.auth-page .btn-info {
  color: #fff !important;
  background: #23c6c8 !important;
  border-color: #23c6c8 !important;
}

body.app-shell .btn-info:hover,
body.app-shell .btn-info:focus,
body.auth-page .btn-info:hover,
body.auth-page .btn-info:focus {
  color: #fff !important;
  background: #21b9bb !important;
  border-color: #21b9bb !important;
}

body.app-shell .btn-warning,
body.auth-page .btn-warning {
  color: #fff !important;
  background: #f8ac59 !important;
  border-color: #f8ac59 !important;
}

body.app-shell .btn-warning:hover,
body.app-shell .btn-warning:focus,
body.auth-page .btn-warning:hover,
body.auth-page .btn-warning:focus {
  color: #fff !important;
  background: #f7a54a !important;
  border-color: #f7a54a !important;
}

body.app-shell .btn-danger,
body.auth-page .btn-danger {
  color: #fff !important;
  background: #ed5565 !important;
  border-color: #ed5565 !important;
}

body.app-shell .btn-danger:hover,
body.app-shell .btn-danger:focus,
body.auth-page .btn-danger:hover,
body.auth-page .btn-danger:focus {
  color: #fff !important;
  background: #ec4758 !important;
  border-color: #ec4758 !important;
}

body.app-shell .btn-default,
body.auth-page .btn-default {
  color: inherit !important;
  background: #fff !important;
  border: 1px solid #e7eaec !important;
}

body.app-shell .btn-default:hover,
body.app-shell .btn-default:focus,
body.auth-page .btn-default:hover,
body.auth-page .btn-default:focus {
  border-color: #d2d2d2 !important;
}

/* Unified button system */
body.app-shell .btn,
body.auth-page .btn,
body.app-shell .btn-section,
body.app-shell .btn-save,
body.app-shell .btn-revoke {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0.72rem 1.15rem !important;
  border-radius: 4px !important;
  border: 1px solid transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
  background-image: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

body.app-shell .btn:hover,
body.auth-page .btn:hover,
body.app-shell .btn-section:hover,
body.app-shell .btn-save:hover,
body.app-shell .btn-revoke:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
}

body.app-shell .btn:active,
body.auth-page .btn:active,
body.app-shell .btn-section:active,
body.app-shell .btn-save:active,
body.app-shell .btn-revoke:active {
  transform: translateY(0) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12) !important;
}

body.app-shell .btn-sm,
body.auth-page .btn-sm {
  min-height: 32px !important;
  padding: 0.45rem 0.8rem !important;
  font-size: 12px !important;
}

body.app-shell .btn-lg,
body.auth-page .btn-lg {
  min-height: 46px !important;
  padding: 0.85rem 1.4rem !important;
  font-size: 15px !important;
}

body.auth-page .btn {
  width: 100% !important;
}

body.app-shell .btn.btn-gray,
body.app-shell .btn-secondary,
body.app-shell .btn-default,
body.app-shell .btn-section:not(.btn-green),
body.auth-page .btn.btn-gray,
body.auth-page .btn-secondary,
body.auth-page .btn-default {
  color: #676a6c !important;
  background: #ffffff !important;
  border-color: #d2d2d2 !important;
}

body.app-shell .btn.btn-gray:hover,
body.app-shell .btn-secondary:hover,
body.app-shell .btn-default:hover,
body.app-shell .btn-section:not(.btn-green):hover,
body.auth-page .btn.btn-gray:hover,
body.auth-page .btn-secondary:hover,
body.auth-page .btn-default:hover {
  color: #4b5563 !important;
  background: #f8fafb !important;
  border-color: #c4c4c4 !important;
}

body.app-shell .btn-primary,
body.app-shell .btn-green,
body.app-shell .btn-save,
body.app-shell .btn-section.btn-green,
body.auth-page .btn,
body.auth-page .btn-primary {
  color: #ffffff !important;
  background: #1ab394 !important;
  border-color: #1ab394 !important;
}

body.app-shell .btn-primary:hover,
body.app-shell .btn-green:hover,
body.app-shell .btn-save:hover,
body.app-shell .btn-section.btn-green:hover,
body.auth-page .btn:hover,
body.auth-page .btn-primary:hover {
  color: #ffffff !important;
  background: #18a689 !important;
  border-color: #18a689 !important;
}

body.app-shell .btn-success,
body.auth-page .btn-success {
  color: #ffffff !important;
  background: #1c84c6 !important;
  border-color: #1c84c6 !important;
}

body.app-shell .btn-success:hover,
body.auth-page .btn-success:hover {
  color: #ffffff !important;
  background: #1a7bb9 !important;
  border-color: #1a7bb9 !important;
}

body.app-shell .btn-info,
body.auth-page .btn-info {
  color: #ffffff !important;
  background: #23c6c8 !important;
  border-color: #23c6c8 !important;
}

body.app-shell .btn-info:hover,
body.auth-page .btn-info:hover {
  color: #ffffff !important;
  background: #21b9bb !important;
  border-color: #21b9bb !important;
}

body.app-shell .btn-warning,
body.auth-page .btn-warning {
  color: #ffffff !important;
  background: #f8ac59 !important;
  border-color: #f8ac59 !important;
}

body.app-shell .btn-warning:hover,
body.auth-page .btn-warning:hover {
  color: #ffffff !important;
  background: #f7a54a !important;
  border-color: #f7a54a !important;
}

body.app-shell .btn-danger,
body.app-shell .btn-revoke,
body.auth-page .btn-danger {
  color: #ffffff !important;
  background: #ed5565 !important;
  border-color: #ed5565 !important;
}

body.app-shell .btn-danger:hover,
body.app-shell .btn-revoke:hover,
body.auth-page .btn-danger:hover {
  color: #ffffff !important;
  background: #ec4758 !important;
  border-color: #ec4758 !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn,
body.page-zobrazit-vozidlo #editModal .btn,
body.page-zobrazit-vozidlo .extend-modal .btn {
  text-transform: none !important;
  letter-spacing: normal !important;
  height: auto !important;
  min-height: 40px !important;
  border-radius: 4px !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn-primary,
body.page-zobrazit-vozidlo #editModal .btn-primary,
body.page-zobrazit-vozidlo .extend-modal .btn-primary {
  color: #ffffff !important;
  background: #1ab394 !important;
  border-color: #1ab394 !important;
}

body.page-zobrazit-vozidlo .vehicle-hero-actions .btn-primary:hover,
body.page-zobrazit-vozidlo #editModal .btn-primary:hover,
body.page-zobrazit-vozidlo .extend-modal .btn-primary:hover {
  color: #ffffff !important;
  background: #18a689 !important;
  border-color: #18a689 !important;
}

body.page-administrator-index .delete-user-btn.btn-danger {
  color: #ffffff !important;
  background: #ed5565 !important;
  border: 1px solid #ed5565 !important;
  border-radius: 4px !important;
}

body.page-administrator-index .delete-user-btn.btn-danger:hover {
  color: #ffffff !important;
  background: #ec4758 !important;
  border-color: #ec4758 !important;
  box-shadow: 0 3px 10px rgba(236, 71, 88, 0.22) !important;
}

body.page-zobrazit-vozidlo .btn-edit-name,
body.page-zobrazit-vozidlo .btn-extend-toggle,
body.page-zobrazit-vozidlo .btn-name-save,
body.page-zobrazit-vozidlo .btn-name-cancel {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  border: 1px solid #d2d2d2 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

body.page-zobrazit-vozidlo .btn-edit-name,
body.page-zobrazit-vozidlo .btn-extend-toggle {
  background: #ffffff !important;
  color: #676a6c !important;
  border-color: #d2d2d2 !important;
}

body.page-zobrazit-vozidlo .btn-edit-name:hover,
body.page-zobrazit-vozidlo .btn-extend-toggle:hover {
  background: #f8fafb !important;
  color: #4b5563 !important;
  border-color: #c4c4c4 !important;
  transform: translateY(-1px) !important;
}

body.page-zobrazit-vozidlo .btn-name-save {
  background: #1ab394 !important;
  color: #ffffff !important;
  border-color: #1ab394 !important;
}

body.page-zobrazit-vozidlo .btn-name-save:hover {
  background: #18a689 !important;
  border-color: #18a689 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

body.page-zobrazit-vozidlo .btn-name-cancel {
  background: #ed5565 !important;
  color: #ffffff !important;
  border-color: #ed5565 !important;
}

body.page-zobrazit-vozidlo .btn-name-cancel:hover {
  background: #ec4758 !important;
  border-color: #ec4758 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

body.app-shell .btn-block,
body.auth-page .btn-block {
  width: 100% !important;
}

body.app-shell .btn-left,
body.auth-page .btn-left {
  justify-content: flex-start !important;
  text-align: left !important;
}

body.app-shell .btn-icon-only,
body.auth-page .btn-icon-only {
  width: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
}

body.app-shell .btn-icon-only.btn-sm,
body.auth-page .btn-icon-only.btn-sm {
  width: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
}

body.app-shell .btn-toggle-plain {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body.app-shell .btn-toggle-plain:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body.page-moje-vozidla .btn,
body.page-priatelia .btn,
body.page-uvod .btn,
body.page-expiring .btn,
body.page-overdue .btn,
body.page-sms .btn,
body.page-profil .btn,
body.page-nastavenia .btn,
body.page-info .btn,
body.page-moje-objednavky .btn,
body.page-administrator-index .btn,
body.page-administrator-platby .btn,
body.page-administrator-user .btn {
  border-radius: 3px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body.page-moje-vozidla .btn-primary {
  color: #ffffff !important;
  background: #1ab394 !important;
  border: 1px solid #1ab394 !important;
  border-radius: 3px !important;
}

body.page-moje-vozidla .btn-primary:hover {
  color: #ffffff !important;
  background: #18a689 !important;
  border-color: #18a689 !important;
}

body.page-moje-vozidla .btn-group .btn {
  color: #676a6c !important;
  background: #ffffff !important;
  border: 1px solid #d2d2d2 !important;
  border-radius: 3px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body.page-moje-vozidla .btn-group .btn.active {
  color: #ffffff !important;
  background: #1ab394 !important;
  border-color: #1ab394 !important;
  box-shadow: none !important;
}

body.page-moje-vozidla .btn-group .btn:hover:not(.active) {
  color: #4b5563 !important;
  background: #f8fafb !important;
  border-color: #c4c4c4 !important;
}

body.page-moje-vozidla .vehicle-actions .btn,
body.page-moje-vozidla .btn-toggle-status,
body.page-uvod .sms-messages-header .btn {
  border-radius: 3px !important;
}

body.page-moje-vozidla .btn-toggle-status {
  background: #ffffff !important;
  border-color: #d2d2d2 !important;
}

body.page-moje-vozidla .btn-toggle-status:hover {
  background: #f8fafb !important;
  border-color: #c4c4c4 !important;
}

/* Refreshed personal vehicles page for /pages/users/moje-vozidla.php */
body.page-moje-vozidla {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.10) 0%, transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-moje-vozidla.modal-open {
  overflow: hidden;
}

body.page-moje-vozidla .main-content {
  padding: 28px !important;
  background: transparent;
}

body.page-moje-vozidla .personal-vehicles-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 28px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8fbff 100%);
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body.page-moje-vozidla .breadcrumb-nav {
  margin: 0;
  padding: 0;
  width: auto;
  background: transparent;
}

body.page-moje-vozidla .breadcrumb li a {
  color: #64748b;
  font-weight: 600;
}

body.page-moje-vozidla .breadcrumb li.active a {
  color: #0f172a;
}

body.page-moje-vozidla .personal-vehicles-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  gap: 24px;
  padding: 30px 32px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #60a5fa 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(29, 78, 216, 0.24);
}

body.page-moje-vozidla .personal-vehicles-hero::before,
body.page-moje-vozidla .personal-vehicles-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.page-moje-vozidla .personal-vehicles-hero::before {
  top: -140px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page-moje-vozidla .personal-vehicles-hero::after {
  bottom: -150px;
  left: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.18) 0%, rgba(191, 219, 254, 0) 72%);
}

body.page-moje-vozidla .personal-vehicles-hero-main,
body.page-moje-vozidla .personal-vehicles-hero-actions {
  position: relative;
  z-index: 1;
}

body.page-moje-vozidla .personal-vehicles-hero-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-moje-vozidla .personal-vehicles-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-moje-vozidla .personal-vehicles-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  font-weight: 800;
}

body.page-moje-vozidla .personal-vehicles-text {
  max-width: 700px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

body.page-moje-vozidla .personal-vehicles-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-moje-vozidla .personal-vehicles-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

body.page-moje-vozidla .personal-vehicles-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

body.page-moje-vozidla .personal-vehicles-hero-actions .btn {
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.page-moje-vozidla .personal-vehicles-hero-actions .btn:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

body.page-moje-vozidla .personal-toolbar-card,
body.page-moje-vozidla .personal-list-section {
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

body.page-moje-vozidla .personal-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.page-moje-vozidla .personal-search-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 280px;
}

body.page-moje-vozidla .personal-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

body.page-moje-vozidla .personal-search-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px !important;
  border-radius: 16px !important;
  border: 1px solid #dbe4f0 !important;
  background: #f8fbff;
}

body.page-moje-vozidla .personal-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.page-moje-vozidla .personal-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #f8fbff;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
}

body.page-moje-vozidla .personal-view-switch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #64748b;
  font-weight: 700;
  transition: all 0.2s ease;
}

body.page-moje-vozidla .personal-view-switch-link:hover {
  color: #0f172a;
}

body.page-moje-vozidla .personal-view-switch-link.is-active {
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

body.page-moje-vozidla .personal-layout-toggle {
  display: inline-flex;
  gap: 8px;
}

body.page-moje-vozidla .personal-layout-toggle .btn {
  width: 44px;
  height: 44px;
  border-radius: 14px !important;
}

body.page-moje-vozidla .personal-layout-toggle .btn.is-active {
  background: linear-gradient(135deg, #0f172a, #334155) !important;
  color: #ffffff !important;
  border-color: #334155 !important;
}

body.page-moje-vozidla .personal-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

body.page-moje-vozidla .personal-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

body.page-moje-vozidla .personal-filter-pill strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.82rem;
}

body.page-moje-vozidla .personal-filter-pill.is-active {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #93c5fd;
  color: #1d4ed8;
}

body.page-moje-vozidla .personal-filter-pill.is-success.is-active {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #86efac;
  color: #15803d;
}

body.page-moje-vozidla .personal-filter-pill.is-danger.is-active {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: #fca5a5;
  color: #b91c1c;
}

body.page-moje-vozidla .personal-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

body.page-moje-vozidla .personal-section-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.65);
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 45%, #14b8a6 100%);
  color: #ffffff;
  box-shadow:
    0 14px 28px rgba(29, 78, 216, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body.page-moje-vozidla .personal-section-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 56%);
  pointer-events: none;
}

body.page-moje-vozidla .personal-section-icon::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

body.page-moje-vozidla .personal-section-icon i {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.25));
}

body.page-moje-vozidla .personal-section-copy h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-moje-vozidla .personal-section-copy p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

body.page-moje-vozidla .personal-vehicles-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.page-moje-vozidla .personal-vehicles-layout.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-moje-vozidla .personal-vehicle-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.page-moje-vozidla .personal-vehicle-card:hover {
  transform: translateY(-3px);
  border-color: #c7d8ec;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

body.page-moje-vozidla .personal-vehicle-card.is-search-hidden {
  display: none !important;
}

body.page-moje-vozidla .personal-vehicle-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

body.page-moje-vozidla .personal-vehicle-identity {
  display: flex;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

body.page-moje-vozidla .personal-vehicle-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.20);
}

body.page-moje-vozidla .personal-vehicle-status-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid #1e293b;
  z-index: 2;
}

body.page-moje-vozidla .personal-vehicle-status-dot.is-active {
  background: #22c55e;
}

body.page-moje-vozidla .personal-vehicle-status-dot.is-inactive {
  background: #ef4444;
}

body.page-moje-vozidla .personal-vehicle-title-group {
  min-width: 0;
  flex: 1;
}

body.page-moje-vozidla .personal-vehicle-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

body.page-moje-vozidla .personal-vehicle-title-row h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-moje-vozidla .personal-vehicle-plate {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #dbe4f0;
  color: #334155;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.page-moje-vozidla .personal-vehicle-subline,
body.page-moje-vozidla .personal-vehicle-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-moje-vozidla .personal-status-pill,
body.page-moje-vozidla .personal-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid #dbe4f0;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
}

body.page-moje-vozidla .personal-status-pill.is-active {
  background: #ecfdf5;
  border-color: #86efac;
  color: #15803d;
}

body.page-moje-vozidla .personal-status-pill.is-inactive {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

body.page-moje-vozidla .personal-meta-chip.is-owner {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body.page-moje-vozidla .personal-meta-chip.is-note {
  background: #f8fafc;
  border-color: #cbd5e1;
}

body.page-moje-vozidla .personal-vehicle-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

body.page-moje-vozidla .personal-vehicle-actions .btn {
  border-radius: 14px !important;
}

body.page-moje-vozidla .personal-action-detail {
  min-height: 42px;
  padding: 0 14px !important;
}

body.page-moje-vozidla .toggle-status-form {
  margin: 0;
}

body.page-moje-vozidla .toggle-status-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.page-moje-vozidla .toggle-status-btn:hover,
body.page-moje-vozidla .toggle-status-btn:focus,
body.page-moje-vozidla .toggle-status-btn:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body.page-moje-vozidla .toggle-status-btn i {
  font-size: 32px;
  line-height: 1;
}

body.page-moje-vozidla .personal-toggle-active {
  color: #22c55e !important;
}

body.page-moje-vozidla .personal-toggle-inactive {
  color: #cbd5e1 !important;
}

body.page-moje-vozidla .personal-vehicle-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #e5edf6;
}

body.page-moje-vozidla .personal-vehicle-summary.tone-danger {
  background: linear-gradient(180deg, #fff9f9 0%, #fff1f2 100%);
  border-color: #fecaca;
}

body.page-moje-vozidla .personal-vehicle-summary.tone-warning {
  background: linear-gradient(180deg, #fffdf7 0%, #fff8ec 100%);
  border-color: #f8d38d;
}

body.page-moje-vozidla .personal-vehicle-summary.tone-info {
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}

body.page-moje-vozidla .personal-vehicle-summary.tone-neutral {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-moje-vozidla .personal-vehicle-summary-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.page-moje-vozidla .personal-summary-icon,
body.page-moje-vozidla .personal-owner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

body.page-moje-vozidla .personal-summary-copy {
  min-width: 0;
}

body.page-moje-vozidla .personal-summary-copy strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

body.page-moje-vozidla .personal-summary-copy p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

body.page-moje-vozidla .personal-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-moje-vozidla .personal-summary-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

body.page-moje-vozidla .personal-summary-tag strong {
  font-weight: 800;
}

body.page-moje-vozidla .personal-summary-tag.tone-critical,
body.page-moje-vozidla .personal-summary-tag.tone-danger {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

body.page-moje-vozidla .personal-summary-tag.tone-warning {
  background: #fff4db;
  border-color: #f8d38d;
  color: #9a6b00;
}

body.page-moje-vozidla .personal-summary-tag.tone-neutral {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body.page-moje-vozidla .personal-empty-state,
body.page-moje-vozidla .personal-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 24px;
  border-radius: 24px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
}

body.page-moje-vozidla .personal-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  font-size: 1.55rem;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.20);
}

body.page-moje-vozidla .personal-empty-state h3,
body.page-moje-vozidla .personal-empty-state p,
body.page-moje-vozidla .personal-search-empty span {
  margin: 0;
}

body.page-moje-vozidla .personal-empty-state h3 {
  color: #0f172a;
  font-size: 1.4rem;
}

body.page-moje-vozidla .personal-empty-state p,
body.page-moje-vozidla .personal-search-empty {
  color: #64748b;
  line-height: 1.7;
}

body.page-moje-vozidla .personal-search-empty {
  margin-bottom: 18px;
  padding: 22px;
}

body.page-moje-vozidla .personal-search-empty.hidden,
body.page-moje-vozidla .hidden,
body.page-moje-vozidla .is-hidden,
body.page-moje-vozidla .is-filter-hidden {
  display: none !important;
}

body.page-moje-vozidla .personal-modal {
  position: fixed !important;
  inset: 0 !important;
  display: flex;
  align-items: flex-start !important;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2147483646 !important;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
}

body.page-moje-vozidla .personal-modal.active {
  display: flex !important;
}

body.page-moje-vozidla .personal-modal-content {
  width: min(920px, calc(100vw - 32px));
  max-width: 920px;
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 0;
  border-radius: 28px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

body.page-moje-vozidla .personal-modal-header {
  margin: 0;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #e8eef6;
}

body.page-moje-vozidla .personal-modal-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-moje-vozidla .personal-modal-text {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.7;
}

body.page-moje-vozidla .personal-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe4f0 !important;
}

body.page-moje-vozidla .personal-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 28px 28px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.page-moje-vozidla .personal-form-section {
  padding: 20px;
  border: 1px solid #e5edf6;
  border-radius: 22px;
  background: #ffffff;
}

body.page-moje-vozidla .personal-form-section-heading {
  margin-bottom: 18px;
}

body.page-moje-vozidla .personal-form-section-heading-inline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body.page-moje-vozidla .personal-form-section-heading h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-moje-vozidla .personal-form-section-heading p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

body.page-moje-vozidla .personal-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  flex-shrink: 0;
  cursor: pointer;
}

body.page-moje-vozidla .personal-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.page-moje-vozidla .personal-switch-icon {
  font-size: 32px;
  line-height: 1;
  color: #cbd5e1;
  transition: color 0.22s ease, transform 0.22s ease;
}

body.page-moje-vozidla .personal-switch .fa-toggle-on.personal-switch-icon {
  color: #10b981;
}

body.page-moje-vozidla .personal-switch:hover .personal-switch-icon {
  transform: scale(1.02);
}

body.page-moje-vozidla .personal-switch input:disabled + .personal-switch-icon {
  color: #94a3b8;
  cursor: not-allowed;
}

body.page-moje-vozidla .personal-share-capability {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
}

body.page-moje-vozidla .personal-share-capability strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body.page-moje-vozidla .personal-share-capability span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-moje-vozidla .personal-share-capability-success {
  border-color: #bfdbfe;
  background: #eff6ff;
}

body.page-moje-vozidla .personal-share-capability-warning {
  border-color: #fde68a;
  background: #fffbeb;
}

body.page-moje-vozidla .personal-share-panel {
  margin-top: 4px;
  padding-top: 8px;
}

body.page-moje-vozidla .personal-share-search {
  margin-bottom: 14px;
}

body.page-moje-vozidla .personal-friends-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

body.page-moje-vozidla .personal-friends-list::-webkit-scrollbar {
  width: 6px;
}

body.page-moje-vozidla .personal-friends-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

body.page-moje-vozidla .personal-friend-share-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.page-moje-vozidla .personal-friend-share-item:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

body.page-moje-vozidla .personal-friend-share-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.page-moje-vozidla .personal-friend-share-main input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

body.page-moje-vozidla .personal-friend-share-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.page-moje-vozidla .personal-friend-share-copy strong {
  color: #0f172a;
}

body.page-moje-vozidla .personal-friend-share-copy span,
body.page-moje-vozidla .personal-friend-share-note {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

body.page-moje-vozidla .personal-share-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

body.page-moje-vozidla .personal-share-empty p {
  margin: 0;
}

body.page-moje-vozidla .personal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

body.page-moje-vozidla .personal-modal-footer p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

body.page-moje-vozidla .personal-submit-btn {
  min-height: 48px;
  padding: 0 18px !important;
  border-radius: 16px !important;
  flex-shrink: 0;
}

body.page-moje-vozidla .toast {
  top: 22px !important;
  right: 22px !important;
  min-width: 320px !important;
  max-width: 520px !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
  border: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
}

body.page-moje-vozidla .toast.success {
  border-color: #86efac !important;
}

body.page-moje-vozidla .toast.error {
  border-color: #fca5a5 !important;
}

body.page-moje-vozidla .toast-close {
  border-radius: 10px;
}

@media (max-width: 1280px) {
  body.page-moje-vozidla .personal-vehicles-layout.is-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  body.page-moje-vozidla .main-content {
    padding: 20px !important;
  }

  body.page-moje-vozidla .personal-vehicles-shell {
    padding: 22px !important;
    gap: 24px;
    border-radius: 24px;
  }

  body.page-moje-vozidla .personal-vehicles-hero {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }

  body.page-moje-vozidla .personal-vehicles-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-moje-vozidla .personal-vehicles-hero-actions .btn {
    flex: 1 1 220px;
  }

  body.page-moje-vozidla .personal-toolbar-top,
  body.page-moje-vozidla .personal-form-section-heading-inline,
  body.page-moje-vozidla .personal-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-moje-vozidla .personal-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  body.page-moje-vozidla .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.page-moje-vozidla .main-content {
    padding: 14px !important;
  }

  body.page-moje-vozidla .personal-vehicles-shell {
    padding: 18px !important;
    gap: 20px;
    border-radius: 20px;
  }

  body.page-moje-vozidla .personal-toolbar-card,
  body.page-moje-vozidla .personal-list-section,
  body.page-moje-vozidla .personal-vehicle-card {
    padding: 18px;
    border-radius: 20px;
  }

  body.page-moje-vozidla .personal-vehicles-hero {
    padding: 22px 18px;
    border-radius: 22px;
  }

  body.page-moje-vozidla .personal-vehicles-title {
    font-size: 1.9rem;
  }

  body.page-moje-vozidla .personal-vehicles-meta {
    flex-direction: column;
  }

  body.page-moje-vozidla .personal-vehicles-chip {
    width: 100%;
  }

  body.page-moje-vozidla .personal-search-wrap {
    min-width: 0;
  }

  body.page-moje-vozidla .personal-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-moje-vozidla .personal-view-switch {
    width: 100%;
    justify-content: space-between;
  }

  body.page-moje-vozidla .personal-view-switch-link {
    flex: 1 1 0;
    justify-content: center;
  }

  body.page-moje-vozidla .personal-filter-row {
    gap: 10px;
  }

  body.page-moje-vozidla .personal-filter-pill {
    width: 100%;
    justify-content: space-between;
  }

  body.page-moje-vozidla .personal-vehicle-card-head,
  body.page-moje-vozidla .personal-vehicle-summary-main {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-moje-vozidla .personal-vehicle-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.page-moje-vozidla .personal-vehicle-title-row {
    align-items: flex-start;
  }

  body.page-moje-vozidla .personal-modal-content {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  body.page-moje-vozidla .personal-modal {
    padding: 10px;
    align-items: stretch !important;
  }

  body.page-moje-vozidla .personal-modal-header,
  body.page-moje-vozidla .personal-modal-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-moje-vozidla .personal-modal-form {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    padding-bottom: 0;
  }

  body.page-moje-vozidla .personal-modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin: 0 -20px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5edf6;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.94) 0%, #ffffff 42%);
    box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.08);
  }

  body.page-moje-vozidla .personal-submit-btn {
    width: 100%;
    justify-content: center !important;
  }

  body.page-moje-vozidla .toast {
    left: 12px !important;
    right: 12px !important;
    min-width: auto !important;
    max-width: none !important;
  }
}

/* Refreshed friends page for /pages/users/priatelia.php */
body.page-priatelia {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.10) 0%, transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-priatelia.modal-open {
  overflow: hidden;
}

body.page-priatelia .main-content {
  padding: 28px !important;
  background: transparent;
}

body.page-priatelia .friends-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 28px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8fbff 100%);
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: visible !important;
}

body.page-priatelia .breadcrumb-nav {
  margin: 0;
  padding: 0;
  width: auto;
  background: transparent;
}

body.page-priatelia .breadcrumb li a {
  color: #64748b;
  font-weight: 600;
}

body.page-priatelia .breadcrumb li.active a {
  color: #0f172a;
}

body.page-priatelia .friends-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  gap: 24px;
  padding: 30px 32px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #0f766e 52%, #22c55e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(15, 118, 110, 0.22);
}

body.page-priatelia .friends-hero::before,
body.page-priatelia .friends-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.page-priatelia .friends-hero::before {
  top: -140px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page-priatelia .friends-hero::after {
  bottom: -150px;
  left: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(187, 247, 208, 0.18) 0%, rgba(187, 247, 208, 0) 72%);
}

body.page-priatelia .friends-hero-main,
body.page-priatelia .friends-hero-actions {
  position: relative;
  z-index: 1;
}

body.page-priatelia .friends-hero-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-priatelia .friends-hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-priatelia .friends-hero-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  font-weight: 800;
}

body.page-priatelia .friends-hero-text {
  max-width: 700px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

body.page-priatelia .friends-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-priatelia .friends-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

body.page-priatelia .friends-chip.is-light {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body.page-priatelia .friends-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

body.page-priatelia .friends-hero-actions .btn {
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.page-priatelia .friends-hero-actions .btn:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

body.page-priatelia .friends-toolbar-card,
body.page-priatelia .friends-list-section,
body.page-priatelia .friends-vehicles-section,
body.page-priatelia .friends-warning-box {
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

body.page-priatelia .friends-search-wrap {
  position: relative;
}

body.page-priatelia .friends-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

body.page-priatelia .friends-search-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px !important;
  border-radius: 16px !important;
  border: 1px solid #dbe4f0 !important;
  background: #f8fbff;
}

body.page-priatelia .friends-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

body.page-priatelia .friends-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e, #22c55e);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.22);
}

body.page-priatelia .friends-section-icon.is-secondary {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

body.page-priatelia .friends-section-copy h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-priatelia .friends-section-copy p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

body.page-priatelia .friends-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.page-priatelia .friend-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e5edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.page-priatelia .friend-card:hover {
  transform: translateY(-3px);
  border-color: #c7d8ec;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

body.page-priatelia .friend-card.is-search-hidden {
  display: none !important;
}

body.page-priatelia .friend-card.is-registered {
  border-color: #cce8dd;
}

body.page-priatelia .friend-card.is-pending {
  border-color: #f8d38d;
}

body.page-priatelia .friend-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body.page-priatelia .friend-card-main {
  display: flex;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

body.page-priatelia .friend-card-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

body.page-priatelia .friend-card-copy {
  min-width: 0;
  flex: 1;
}

body.page-priatelia .friend-card-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

body.page-priatelia .friend-card-title-row h3 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-priatelia .friend-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

body.page-priatelia .friend-status-pill.is-registered {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #15803d;
}

body.page-priatelia .friend-status-pill.is-pending {
  background: #fff4db;
  border: 1px solid #f8d38d;
  color: #9a6b00;
}

body.page-priatelia .friend-card-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-priatelia .friend-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid #dbe4f0;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
}

body.page-priatelia .friend-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

body.page-priatelia .friend-card-actions .btn {
  border-radius: 14px !important;
}

body.page-priatelia .friend-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-priatelia .friend-stat-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dbe4f0;
}

body.page-priatelia .friend-stat-label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

body.page-priatelia .friend-stat-value {
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

body.page-priatelia .friend-card-note {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #e5edf6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-priatelia .friend-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #eff6ff;
  color: #1d4ed8;
}

body.page-priatelia .friend-note-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

body.page-priatelia .friend-note-copy p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  word-break: break-word;
}

body.page-priatelia .friend-note-copy p.is-empty {
  color: #94a3b8;
  font-style: italic;
}

body.page-priatelia .friends-empty-state,
body.page-priatelia .friends-search-empty,
body.page-priatelia .friends-inline-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 24px;
  border-radius: 24px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
}

body.page-priatelia .friends-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f766e, #22c55e);
  color: #ffffff;
  font-size: 1.55rem;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.20);
}

body.page-priatelia .friends-empty-state h3,
body.page-priatelia .friends-empty-state p,
body.page-priatelia .friends-search-empty span,
body.page-priatelia .friends-inline-empty p {
  margin: 0;
}

body.page-priatelia .friends-empty-state h3 {
  color: #0f172a;
  font-size: 1.4rem;
}

body.page-priatelia .friends-empty-state p,
body.page-priatelia .friends-search-empty,
body.page-priatelia .friends-inline-empty {
  color: #64748b;
  line-height: 1.7;
}

body.page-priatelia .friends-search-empty {
  margin-bottom: 18px;
  padding: 22px;
}

body.page-priatelia .friends-vehicles-toolbar,
body.page-priatelia .friends-warning-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.page-priatelia .friends-warning-box {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff9f9 0%, #fff1f2 100%);
}

body.page-priatelia .friends-warning-box i {
  color: #b91c1c;
  font-size: 1.2rem;
}

body.page-priatelia .friends-warning-box strong {
  display: block;
  color: #7f1d1d;
  margin-bottom: 4px;
}

body.page-priatelia .friends-warning-box p {
  margin: 0;
  color: #991b1b;
}

body.page-priatelia .friends-vehicles-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-priatelia .friends-vehicles-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

body.page-priatelia .friend-vehicle-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e5edf6;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-priatelia .friend-vehicle-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.10);
}

body.page-priatelia .friend-vehicle-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.page-priatelia .friend-vehicle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

body.page-priatelia .friend-vehicle-copy {
  min-width: 0;
  flex: 1;
}

body.page-priatelia .friend-vehicle-copy h4 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 800;
}

body.page-priatelia .friend-vehicle-copy p {
  margin: 0;
  color: #64748b;
}

body.page-priatelia .friend-vehicle-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 700;
}

body.page-priatelia .friend-vehicle-highlight {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
}

body.page-priatelia .friend-vehicle-highlight.tone-danger {
  background: #fef2f2;
  border-color: #fecaca;
}

body.page-priatelia .friend-vehicle-highlight.tone-warning {
  background: #fff7ed;
  border-color: #fdba74;
}

body.page-priatelia .friend-vehicle-highlight.tone-info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

body.page-priatelia .friend-vehicle-highlight.tone-neutral {
  background: #f8fbff;
}

body.page-priatelia .friend-vehicle-highlight strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

body.page-priatelia .friend-vehicle-highlight p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

body.page-priatelia .friend-vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-priatelia .friend-vehicle-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.83rem;
  font-weight: 700;
}

body.page-priatelia .friend-vehicle-tag.tone-danger {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

body.page-priatelia .friend-vehicle-tag.tone-warning {
  background: #fff4db;
  border-color: #f8d38d;
  color: #9a6b00;
}

body.page-priatelia .friend-vehicle-tag.tone-info,
body.page-priatelia .friend-vehicle-tag.tone-neutral {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body.page-priatelia .friends-search-empty.hidden,
body.page-priatelia .friends-search-result.hidden,
body.page-priatelia .hidden {
  display: none !important;
}

body.page-priatelia .friends-modal {
  position: fixed !important;
  inset: 0 !important;
  display: flex;
  align-items: flex-start !important;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2147483646 !important;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
}

body.page-priatelia .friends-modal.active {
  display: flex !important;
}

body.page-priatelia .friends-modal-content {
  width: min(720px, calc(100vw - 32px));
  max-width: 720px;
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 0;
  border-radius: 28px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

body.page-priatelia .friends-note-modal-content {
  max-width: 620px;
}

body.page-priatelia .friends-modal-header {
  margin: 0;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #e8eef6;
}

body.page-priatelia .friends-modal-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-priatelia .friends-modal-text {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.7;
}

body.page-priatelia .friends-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe4f0 !important;
}

body.page-priatelia .friends-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 28px 28px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.page-priatelia .friends-phone-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-priatelia .friends-phone-search .form-input {
  flex: 1;
}

body.page-priatelia .friends-form-hint {
  display: inline-block;
  margin-top: 8px;
  color: #64748b;
}

body.page-priatelia .friends-search-result {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
}

body.page-priatelia .friends-search-result.is-success {
  background: #ecfdf5;
  border-color: #86efac;
}

body.page-priatelia .friends-search-result.is-warning {
  background: #fff7ed;
  border-color: #fdba74;
}

body.page-priatelia .friends-search-result.is-error {
  background: #fef2f2;
  border-color: #fecaca;
}

body.page-priatelia .friends-search-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

body.page-priatelia .friends-search-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  font-weight: 800;
}

body.page-priatelia .friends-search-copy strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

body.page-priatelia .friends-search-copy span,
body.page-priatelia .friends-search-message {
  color: #475569;
  line-height: 1.6;
}

body.page-priatelia .friends-modal-footer,
body.page-priatelia .friends-note-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.page-priatelia .friends-modal-footer p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

body.page-priatelia .friends-note-textarea {
  min-height: 120px;
  resize: vertical;
}

body.page-priatelia .toast {
  top: 20px !important;
  right: 20px !important;
  min-width: 300px !important;
  max-width: 500px !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: #f8f9fa !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.page-priatelia .toast.success {
  background: #f8f9fa !important;
  color: #1f2937 !important;
}

body.page-priatelia .toast.error {
  background: #f8f9fa !important;
  color: #1f2937 !important;
}

body.page-priatelia .toast .toast-close {
  border-radius: 0 !important;
}

@media (max-width: 1200px) {
  body.page-priatelia .friends-grid,
  body.page-priatelia .friends-vehicles-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  body.page-priatelia .main-content {
    padding: 20px !important;
  }

  body.page-priatelia .friends-shell {
    padding: 22px !important;
    gap: 24px;
    border-radius: 24px;
  }

  body.page-priatelia .friends-hero {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }

  body.page-priatelia .friends-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-priatelia .friends-hero-actions .btn {
    flex: 1 1 220px;
  }

  body.page-priatelia .friends-vehicles-toolbar,
  body.page-priatelia .friends-warning-box,
  body.page-priatelia .friends-modal-footer,
  body.page-priatelia .friends-note-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  body.page-priatelia .main-content {
    padding: 14px !important;
  }

  body.page-priatelia .friends-shell {
    padding: 18px !important;
    gap: 20px;
    border-radius: 20px;
  }

  body.page-priatelia .friends-toolbar-card,
  body.page-priatelia .friends-list-section,
  body.page-priatelia .friends-vehicles-section,
  body.page-priatelia .friends-warning-box,
  body.page-priatelia .friend-card {
    padding: 18px;
    border-radius: 20px;
  }

  body.page-priatelia .friends-hero {
    padding: 22px 18px;
    border-radius: 22px;
  }

  body.page-priatelia .friends-hero-title {
    font-size: 1.9rem;
  }

  body.page-priatelia .friends-hero-meta {
    flex-direction: column;
  }

  body.page-priatelia .friends-chip {
    width: 100%;
  }

  body.page-priatelia .friend-card-head,
  body.page-priatelia .friend-card-main,
  body.page-priatelia .friend-card-note {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-priatelia .friend-card-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.page-priatelia .friend-card-stats {
    grid-template-columns: 1fr;
  }

  body.page-priatelia .friends-modal-content {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  body.page-priatelia .friends-modal {
    padding: 10px;
  }

  body.page-priatelia .friends-modal-header,
  body.page-priatelia .friends-modal-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-priatelia .friends-phone-search {
    flex-direction: column;
  }

  body.page-priatelia .friends-phone-search .btn {
    width: 100%;
  }

  body.page-priatelia .toast {
    left: 12px !important;
    right: 12px !important;
    min-width: auto !important;
    max-width: none !important;
  }
}

/* Refreshed settings page for /pages/account/nastavenia.php */
body.page-nastavenia .settings-shell {
  overflow: visible;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(26, 179, 148, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-nastavenia .settings-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  margin-bottom: 28px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.95));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body.page-nastavenia .settings-hero-main {
  flex: 1;
  min-width: 0;
}

body.page-nastavenia .settings-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1ab394;
}

body.page-nastavenia .settings-title {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 800;
  color: #0f172a;
}

body.page-nastavenia .settings-text {
  max-width: 820px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
}

body.page-nastavenia .settings-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.page-nastavenia .settings-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

body.page-nastavenia .settings-chip i {
  color: #1ab394;
}

body.page-nastavenia .settings-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 220px;
  flex-shrink: 0;
}

body.page-nastavenia .settings-form {
  display: grid;
  gap: 24px;
}

body.page-nastavenia .settings-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-nastavenia .settings-channel-card,
body.page-nastavenia .settings-panel,
body.page-nastavenia .settings-note-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

body.page-nastavenia .settings-channel-card {
  padding: 24px;
}

body.page-nastavenia .settings-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.page-nastavenia .settings-card-icon,
body.page-nastavenia .settings-panel-icon,
body.page-nastavenia .settings-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

body.page-nastavenia .settings-card-icon.sms {
  background: linear-gradient(135deg, #1ab394, #11967c);
}

body.page-nastavenia .settings-card-icon.email {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

body.page-nastavenia .settings-card-copy {
  flex: 1;
  min-width: 0;
}

body.page-nastavenia .settings-card-copy h3,
body.page-nastavenia .settings-panel-title,
body.page-nastavenia .settings-note-card h4 {
  margin: 0;
  color: #0f172a;
}

body.page-nastavenia .settings-card-copy h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.page-nastavenia .settings-card-copy p,
body.page-nastavenia .settings-panel-text,
body.page-nastavenia .settings-note-card p,
body.page-nastavenia .settings-hint,
body.page-nastavenia .settings-save-note {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

body.page-nastavenia .settings-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.page-nastavenia .settings-panel {
  padding: 24px;
}

body.page-nastavenia .settings-panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

body.page-nastavenia .settings-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0f172a, #334155);
  font-size: 18px;
}

body.page-nastavenia .settings-panel-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.page-nastavenia .settings-field,
body.page-nastavenia .settings-select-wrap {
  display: grid;
  gap: 10px;
}

body.page-nastavenia .settings-label {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}

body.page-nastavenia .settings-select,
body.page-nastavenia .settings-preset-badge {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-nastavenia .settings-select {
  color: #0f172a;
  font-weight: 600;
}

body.page-nastavenia .settings-select:focus {
  border-color: #1ab394;
  box-shadow: 0 0 0 4px rgba(26, 179, 148, 0.12);
}

body.page-nastavenia .settings-inline-row {
  display: grid;
  gap: 18px;
}

body.page-nastavenia .settings-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

body.page-nastavenia .settings-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.page-nastavenia .settings-toggle-icon {
  font-size: 32px;
  line-height: 1;
  color: #cbd5e1;
  transition: color 0.22s ease, transform 0.22s ease;
}

body.page-nastavenia .settings-toggle .fa-toggle-on.settings-toggle-icon,
body.page-nastavenia .settings-toggle.is-active .settings-toggle-icon {
  color: #10b981;
}

body.page-nastavenia .settings-toggle:hover .settings-toggle-icon {
  transform: scale(1.02);
}

body.page-nastavenia .settings-toggle-state {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}

body.page-nastavenia .settings-toggle-inline {
  align-self: start;
  padding: 14px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  background: #f8fafc;
}

body.page-nastavenia .settings-select-wrap.is-disabled {
  opacity: 0.52;
}

body.page-nastavenia .settings-preset-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

body.page-nastavenia .settings-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-nastavenia .settings-note-card {
  display: flex;
  gap: 16px;
  padding: 22px;
}

body.page-nastavenia .settings-note-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e293b, #334155);
  font-size: 17px;
}

body.page-nastavenia .settings-note-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.page-nastavenia .settings-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

body.page-nastavenia .settings-save-note {
  max-width: 760px;
}

body.page-nastavenia .toast {
  top: 20px;
  right: 20px;
  min-width: 320px;
  max-width: 460px;
  z-index: 9999;
}

@media (max-width: 1220px) {
  body.page-nastavenia .settings-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  body.page-nastavenia .settings-shell {
    padding: 24px;
  }

  body.page-nastavenia .settings-hero {
    flex-direction: column;
  }

  body.page-nastavenia .settings-hero-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-nastavenia .settings-overview-grid,
  body.page-nastavenia .settings-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.page-nastavenia .settings-shell {
    padding: 18px;
  }

  body.page-nastavenia .settings-hero {
    padding: 22px 18px;
    border-radius: 22px;
  }

  body.page-nastavenia .settings-title {
    font-size: 30px;
  }

  body.page-nastavenia .settings-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-nastavenia .settings-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-nastavenia .settings-form-footer .btn {
    width: 100%;
    justify-content: center !important;
  }

  body.page-nastavenia .toast {
    left: 12px !important;
    right: 12px !important;
    min-width: auto !important;
    max-width: none !important;
  }
}

/* Unified modal close buttons across the whole app */
body.app-shell .modal-close,
body.app-shell .card-modal-close,
body.app-shell .personal-modal-close,
body.app-shell .friends-modal-close,
body.app-shell .add-modal-close,
body.app-shell .edit-modal-close,
body.app-shell .overdue-modal-close,
body.app-shell .expiring-modal-close,
body.app-shell .sms-modal-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98)) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10) !important;
  color: #64748b !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease !important;
  z-index: 10 !important;
}

body.app-shell .modal-close:hover,
body.app-shell .card-modal-close:hover,
body.app-shell .personal-modal-close:hover,
body.app-shell .friends-modal-close:hover,
body.app-shell .add-modal-close:hover,
body.app-shell .edit-modal-close:hover,
body.app-shell .overdue-modal-close:hover,
body.app-shell .expiring-modal-close:hover,
body.app-shell .sms-modal-close:hover {
  background: linear-gradient(180deg, #ffffff, #eff6ff) !important;
  border-color: #bfdbfe !important;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12) !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
}

body.app-shell .modal-close:focus-visible,
body.app-shell .card-modal-close:focus-visible,
body.app-shell .personal-modal-close:focus-visible,
body.app-shell .friends-modal-close:focus-visible,
body.app-shell .add-modal-close:focus-visible,
body.app-shell .edit-modal-close:focus-visible,
body.app-shell .overdue-modal-close:focus-visible,
body.app-shell .expiring-modal-close:focus-visible,
body.app-shell .sms-modal-close:focus-visible {
  outline: none !important;
  border-color: #93c5fd !important;
  box-shadow:
    0 0 0 4px rgba(147, 197, 253, 0.25),
    0 16px 32px rgba(37, 99, 235, 0.12) !important;
}

@media (max-width: 640px) {
  body.app-shell .modal-close,
  body.app-shell .card-modal-close,
  body.app-shell .personal-modal-close,
  body.app-shell .friends-modal-close,
  body.app-shell .add-modal-close,
  body.app-shell .edit-modal-close,
  body.app-shell .overdue-modal-close,
  body.app-shell .expiring-modal-close,
  body.app-shell .sms-modal-close {
    top: 14px !important;
    right: 14px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
    border-radius: 12px !important;
  }
}

/* Refreshed info page for /pages/users/info.php */
body.page-info {
  background:
    radial-gradient(circle at top right, rgba(26, 179, 148, 0.10) 0%, transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-info .main-content {
  padding: 28px !important;
  background: transparent;
}

body.page-info .info-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 30px !important;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
  overflow: visible !important;
}

body.page-info .info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92) 58%, rgba(26, 179, 148, 0.78));
  color: #ffffff;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

body.page-info .info-hero-main {
  min-width: 0;
}

body.page-info .info-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-info .info-title {
  margin: 0 0 10px;
  font-size: 2.6rem;
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
}

body.page-info .info-text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.8;
}

body.page-info .info-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.page-info .info-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

body.page-info .info-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-info .info-hero-actions .btn {
  width: 100%;
}

body.page-info .info-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.page-info .info-overview-card,
body.page-info .info-panel,
body.page-info .info-coverage-card,
body.page-info .info-note-card,
body.page-info .info-faq-item {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

body.page-info .info-overview-card {
  display: flex;
  gap: 16px;
  padding: 22px;
}

body.page-info .info-overview-icon,
body.page-info .info-panel-icon,
body.page-info .info-coverage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

body.page-info .info-overview-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 18px;
}

body.page-info .info-overview-card.tone-blue .info-overview-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

body.page-info .info-overview-card.tone-green .info-overview-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

body.page-info .info-overview-card.tone-slate .info-overview-icon {
  background: linear-gradient(135deg, #475569, #334155);
}

body.page-info .info-overview-card.tone-amber .info-overview-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

body.page-info .info-overview-copy {
  min-width: 0;
}

body.page-info .info-overview-copy strong {
  display: block;
  margin-bottom: 2px;
  color: #0f172a;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

body.page-info .info-overview-copy h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

body.page-info .info-overview-copy p,
body.page-info .info-panel-text,
body.page-info .info-step-copy p,
body.page-info .info-contact-item span,
body.page-info .info-note-card p,
body.page-info .info-coverage-card p,
body.page-info .info-faq-answer p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

body.page-info .info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 20px;
}

body.page-info .info-panel {
  padding: 24px;
}

body.page-info .info-panel-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

body.page-info .info-panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

body.page-info .info-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #334155);
  font-size: 18px;
}

body.page-info .info-panel-title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

body.page-info .info-steps {
  display: grid;
  gap: 14px;
}

body.page-info .info-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-info .info-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1ab394, #11967c);
  color: #ffffff;
  font-weight: 800;
  flex-shrink: 0;
}

body.page-info .info-step-copy h4,
body.page-info .info-contact-item strong,
body.page-info .info-note-card h4,
body.page-info .info-coverage-card h4 {
  margin: 0 0 6px;
  color: #0f172a;
  font-weight: 800;
}

body.page-info .info-contact-stack {
  display: grid;
  gap: 14px;
}

body.page-info .info-contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-info .info-contact-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  flex-shrink: 0;
}

body.page-info .info-contact-item div {
  display: grid;
  gap: 2px;
}

body.page-info .info-note-card {
  margin-top: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #eff6ff, #f8fbff);
}

body.page-info .info-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.page-info .info-coverage-card {
  padding: 20px;
}

body.page-info .info-coverage-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1ab394, #0f766e);
  font-size: 17px;
}

body.page-info .info-faq-list {
  display: grid;
  gap: 14px;
}

body.page-info .info-faq-item {
  overflow: hidden;
}

body.page-info .info-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

body.page-info .info-faq-item summary::-webkit-details-marker {
  display: none;
}

body.page-info .info-faq-item summary i {
  color: #1ab394;
  transition: transform 0.2s ease;
}

body.page-info .info-faq-item[open] summary i {
  transform: rotate(45deg);
}

body.page-info .info-faq-answer {
  padding: 0 20px 20px;
}

@media (max-width: 1220px) {
  body.page-info .info-overview-grid,
  body.page-info .info-coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-info .info-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  body.page-info .main-content {
    padding: 20px !important;
  }

  body.page-info .info-shell {
    padding: 22px !important;
    gap: 24px;
    border-radius: 24px;
  }

  body.page-info .info-hero {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }

  body.page-info .info-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-info .info-hero-actions .btn {
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  body.page-info .main-content {
    padding: 14px !important;
  }

  body.page-info .info-shell {
    padding: 18px !important;
    gap: 20px;
    border-radius: 20px;
  }

  body.page-info .info-hero,
  body.page-info .info-panel,
  body.page-info .info-overview-card,
  body.page-info .info-coverage-card,
  body.page-info .info-faq-item {
    border-radius: 20px;
  }

  body.page-info .info-hero {
    padding: 22px 18px;
  }

  body.page-info .info-title {
    font-size: 2rem;
  }

  body.page-info .info-chip-row {
    flex-direction: column;
  }

  body.page-info .info-chip,
  body.page-info .info-overview-grid,
  body.page-info .info-coverage-grid {
    width: 100%;
  }

  body.page-info .info-overview-grid,
  body.page-info .info-coverage-grid {
    grid-template-columns: 1fr;
  }

  body.page-info .info-overview-card,
  body.page-info .info-panel-head,
  body.page-info .info-step,
  body.page-info .info-contact-item {
    align-items: flex-start;
  }
}

/* Refreshed administrator index page for /pages/administrator/index.php */
body.page-administrator-index {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 30%),
    linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-administrator-index .main-content {
  padding: 28px !important;
  background: transparent;
}

body.page-administrator-index .admin-index-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 28px !important;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

body.page-administrator-index .admin-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92) 58%, rgba(26, 179, 148, 0.78));
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

body.page-administrator-index .admin-index-hero-main,
body.page-administrator-index .admin-index-hero-actions {
  min-width: 0;
}

body.page-administrator-index .admin-index-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-administrator-index .admin-index-title {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.14;
}

body.page-administrator-index .admin-index-text {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.62;
}

body.page-administrator-index .admin-index-chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-administrator-index .admin-index-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.2);
}

body.page-administrator-index .admin-index-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

body.page-administrator-index .admin-index-hero-actions .btn {
  min-width: 220px;
  color: #1e293b !important;
  background: #ffffff !important;
  border-color: rgba(226, 232, 240, 0.92) !important;
}

body.page-administrator-index .admin-index-hero-actions .btn:hover {
  color: #0f172a !important;
  background: #f8fbff !important;
  border-color: #d6e2f3 !important;
}

body.page-administrator-index.modal-open {
  overflow: hidden;
}

body.page-administrator-index .admin-sms-demo-modal {
  position: fixed !important;
  inset: 0 !important;
  display: flex;
  align-items: flex-start !important;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2147483646 !important;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
}

body.page-administrator-index .admin-sms-demo-modal.active {
  display: flex !important;
}

body.page-administrator-index .admin-sms-demo-modal-content {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

body.page-administrator-index .admin-sms-demo-modal-header {
  margin: 0;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #e8eef6;
}

body.page-administrator-index .admin-sms-demo-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-administrator-index .admin-sms-demo-text {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.7;
}

body.page-administrator-index .admin-sms-demo-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe4f0 !important;
}

body.page-administrator-index .admin-sms-demo-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 28px 28px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.page-administrator-index .admin-sms-demo-section {
  padding: 20px;
  border: 1px solid #e5edf6;
  background: #ffffff;
}

body.page-administrator-index .admin-sms-demo-section-heading {
  margin-bottom: 18px;
}

body.page-administrator-index .admin-sms-demo-section-heading h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
}

body.page-administrator-index .admin-sms-demo-section-heading p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

body.page-administrator-index .admin-sms-demo-input-wrap {
  position: relative;
}

body.page-administrator-index .admin-sms-demo-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

body.page-administrator-index .admin-sms-demo-input {
  width: 100%;
  height: 44px;
  padding-left: 42px;
}

body.page-administrator-index .admin-sms-demo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.page-administrator-index .admin-sms-demo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  background: #f8fbff;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

body.page-administrator-index .admin-sms-demo-item i {
  color: #2563eb;
}

body.page-administrator-index .admin-sms-demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

body.page-administrator-index .admin-sms-demo-footer p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

body.page-administrator-index .admin-sms-demo-submit {
  min-height: 48px;
  padding: 0 18px !important;
  flex-shrink: 0;
}

body.page-administrator-index .admin-index-table-panel {
  border: 1px solid #dbe4f0;
  background: #ffffff;
}

body.page-administrator-index .admin-index-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-administrator-index .admin-index-table-head-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 420px;
}

body.page-administrator-index .admin-index-table-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

body.page-administrator-index .admin-index-table-copy h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

body.page-administrator-index .admin-index-table-copy p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

body.page-administrator-index .admin-index-search-wrap {
  position: relative;
  flex: 0 1 360px;
  min-width: 280px;
  margin-left: auto;
}

body.page-administrator-index .admin-index-search-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

body.page-administrator-index .admin-index-search-input {
  width: 100%;
  height: 44px;
  padding-left: 42px;
  border: 1px solid #d6e2f3;
  background: #ffffff;
  box-shadow: none;
}

body.page-administrator-index .admin-index-search-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.page-administrator-index .admin-index-table-wrap {
  overflow-x: auto;
}

body.page-administrator-index .admin-index-table {
  width: 100%;
  border-collapse: collapse;
}

body.page-administrator-index .admin-index-table th {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

body.page-administrator-index .admin-index-table td {
  padding: 14px;
  border-bottom: 1px solid #e5edf6;
  color: #0f172a;
  font-size: 14px;
  vertical-align: middle;
}

body.page-administrator-index .admin-index-table .is-center {
  text-align: center;
}

body.page-administrator-index .admin-index-row {
  transition: background-color 0.18s ease;
}

body.page-administrator-index .admin-index-row:hover {
  background: #f8fbff;
}

body.page-administrator-index .admin-index-user-name {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

body.page-administrator-index .admin-index-user-username {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

body.page-administrator-index .admin-index-user-vehicles {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

body.page-administrator-index .admin-index-cell-phone,
body.page-administrator-index .admin-index-cell-date {
  font-size: 13px;
  color: #475569;
}

body.page-administrator-index .admin-index-vehicle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
}

body.page-administrator-index .admin-index-vehicle-pill i {
  font-size: 12px;
  color: #64748b;
}

body.page-administrator-index .admin-index-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.page-administrator-index .admin-index-view-btn {
  min-height: 34px !important;
  padding: 0 12px !important;
}

body.page-administrator-index .delete-user-btn.btn-danger,
body.page-administrator-index .admin-index-delete-btn.btn-danger {
  width: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: #ef4444 !important;
  border: 1px solid #ef4444 !important;
  box-shadow: none !important;
}

body.page-administrator-index .delete-user-btn.btn-danger:hover,
body.page-administrator-index .admin-index-delete-btn.btn-danger:hover {
  color: #ffffff !important;
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.24) !important;
}

body.page-administrator-index .admin-index-empty-cell {
  padding: 46px 20px !important;
  text-align: center;
  color: #64748b;
}

body.page-administrator-index .admin-index-empty-cell i {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
  color: #94a3b8;
}

body.page-administrator-index .admin-index-empty-cell p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

body.page-administrator-index .admin-index-row.hidden,
body.page-administrator-index .admin-index-search-empty.hidden {
  display: none;
}

body.page-administrator-index .admin-index-search-empty td {
  background: #fbfdff;
}

body.page-administrator-index .toast {
  position: fixed;
  top: 86px;
  right: 20px;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  transform: translateX(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

body.page-administrator-index .toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

body.page-administrator-index .toast.success {
  border-color: #86efac;
}

body.page-administrator-index .toast.error {
  border-color: #fca5a5;
}

body.page-administrator-index .toast-close {
  margin-left: auto;
  border: none;
  background: transparent;
  color: #64748b;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1024px) {
  body.page-administrator-index .admin-index-hero {
    grid-template-columns: 1fr;
  }

  body.page-administrator-index .admin-index-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-administrator-index .admin-index-hero-actions .btn {
    min-width: 0;
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  body.page-administrator-index .main-content {
    padding: 14px !important;
  }

  body.page-administrator-index .admin-index-shell {
    padding: 16px !important;
    gap: 16px;
  }

  body.page-administrator-index .admin-index-hero {
    padding: 16px;
    gap: 14px;
  }

  body.page-administrator-index .admin-index-title {
    font-size: 30px;
  }

  body.page-administrator-index .admin-index-hero-actions {
    flex-direction: column;
  }

  body.page-administrator-index .admin-sms-demo-modal {
    padding: 14px;
  }

  body.page-administrator-index .admin-sms-demo-modal-content {
    width: min(100vw - 16px, 760px);
  }

  body.page-administrator-index .admin-sms-demo-modal-header,
  body.page-administrator-index .admin-sms-demo-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.page-administrator-index .admin-sms-demo-list {
    grid-template-columns: 1fr;
  }

  body.page-administrator-index .admin-sms-demo-footer {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-administrator-index .admin-index-table-head {
    padding: 14px;
    align-items: flex-start;
  }

  body.page-administrator-index .admin-index-table-head-main,
  body.page-administrator-index .admin-index-search-wrap {
    width: 100%;
    min-width: 0;
  }

  body.page-administrator-index .admin-index-table th,
  body.page-administrator-index .admin-index-table td {
    padding: 12px 10px;
  }

  body.page-administrator-index .admin-index-actions {
    flex-direction: column;
  }

  body.page-administrator-index .admin-index-view-btn {
    width: 100%;
  }

  body.page-administrator-index .toast {
    top: 76px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

/* Refreshed administrator user detail page for /pages/administrator/user.php */
body.page-administrator-user {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.10) 0%, transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-administrator-user .main-content {
  padding: 28px !important;
  background: transparent;
}

body.page-administrator-user .admin-user-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 30px !important;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

body.page-administrator-user .admin-user-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92) 58%, rgba(26, 179, 148, 0.76));
  color: #ffffff;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

body.page-administrator-user .admin-user-hero-main {
  display: flex;
  gap: 20px;
  min-width: 0;
}

body.page-administrator-user .admin-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.page-administrator-user .admin-user-hero-copy {
  min-width: 0;
}

body.page-administrator-user .admin-user-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

body.page-administrator-user .admin-user-status-badge,
body.page-administrator-user .admin-user-vehicle-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

body.page-administrator-user .admin-user-status-badge.is-active {
  background: rgba(34, 197, 94, 0.14);
  color: #dcfce7;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

body.page-administrator-user .admin-user-status-badge.is-inactive {
  background: rgba(248, 113, 113, 0.14);
  color: #fee2e2;
  border: 1px solid rgba(248, 113, 113, 0.22);
}

body.page-administrator-user .admin-user-vehicle-status.is-active {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

body.page-administrator-user .admin-user-vehicle-status.is-inactive {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

body.page-administrator-user .admin-user-username {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

body.page-administrator-user .admin-user-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.08;
  font-weight: 800;
}

body.page-administrator-user .admin-user-text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.8;
}

body.page-administrator-user .admin-user-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.page-administrator-user .admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

body.page-administrator-user .admin-user-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-administrator-user .admin-user-hero-actions .btn,
body.page-administrator-user .admin-user-status-form {
  width: 100%;
}

body.page-administrator-user .admin-user-status-form .btn {
  width: 100%;
}

body.page-administrator-user .admin-user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.page-administrator-user .admin-user-stat-card,
body.page-administrator-user .admin-user-panel,
body.page-administrator-user .admin-user-vehicle-card,
body.page-administrator-user .admin-user-empty-state {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

body.page-administrator-user .admin-user-stat-card {
  display: flex;
  gap: 16px;
  padding: 22px;
}

body.page-administrator-user .admin-user-stat-icon,
body.page-administrator-user .admin-user-panel-icon,
body.page-administrator-user .admin-user-vehicle-icon,
body.page-administrator-user .admin-user-deadline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

body.page-administrator-user .admin-user-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 18px;
}

body.page-administrator-user .admin-user-stat-card.tone-blue .admin-user-stat-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

body.page-administrator-user .admin-user-stat-card.tone-green .admin-user-stat-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

body.page-administrator-user .admin-user-stat-card.tone-red .admin-user-stat-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

body.page-administrator-user .admin-user-stat-card.tone-slate .admin-user-stat-icon {
  background: linear-gradient(135deg, #475569, #334155);
}

body.page-administrator-user .admin-user-stat-card.tone-amber .admin-user-stat-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

body.page-administrator-user .admin-user-stat-card.tone-teal .admin-user-stat-icon {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

body.page-administrator-user .admin-user-stat-copy strong {
  display: block;
  margin-bottom: 2px;
  color: #0f172a;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

body.page-administrator-user .admin-user-stat-copy h3,
body.page-administrator-user .admin-user-panel-title,
body.page-administrator-user .admin-user-vehicle-copy h4,
body.page-administrator-user .admin-user-empty-state h4 {
  margin: 0 0 6px;
  color: #0f172a;
  font-weight: 800;
}

body.page-administrator-user .admin-user-stat-copy p,
body.page-administrator-user .admin-user-panel-text,
body.page-administrator-user .admin-user-info-item span,
body.page-administrator-user .admin-user-preference-row span,
body.page-administrator-user .admin-user-vehicle-copy p,
body.page-administrator-user .admin-user-vehicle-meta span,
body.page-administrator-user .admin-user-deadline-note,
body.page-administrator-user .admin-user-empty-state p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

body.page-administrator-user .admin-user-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-administrator-user .admin-user-panel {
  padding: 24px;
}

body.page-administrator-user .admin-user-panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

body.page-administrator-user .admin-user-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #334155);
  font-size: 18px;
}

body.page-administrator-user .admin-user-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-administrator-user .admin-user-info-item,
body.page-administrator-user .admin-user-preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5edf6;
  border-radius: 18px;
  background: #f8fbff;
}

body.page-administrator-user .admin-user-info-item {
  flex-direction: column;
  align-items: flex-start;
}

body.page-administrator-user .admin-user-info-item strong,
body.page-administrator-user .admin-user-preference-row strong,
body.page-administrator-user .admin-user-deadline-value {
  color: #0f172a;
  font-weight: 800;
}

body.page-administrator-user .admin-user-preferences {
  display: grid;
  gap: 12px;
}

body.page-administrator-user .admin-user-preference-row strong.tone-success {
  color: #15803d;
}

body.page-administrator-user .admin-user-preference-row strong.tone-warning {
  color: #b45309;
}

body.page-administrator-user .admin-user-preference-row strong.tone-info {
  color: #1d4ed8;
}

body.page-administrator-user .admin-user-preference-row strong.tone-slate,
body.page-administrator-user .admin-user-preference-row strong.tone-neutral {
  color: #475569;
}

body.page-administrator-user .admin-user-vehicles-panel {
  display: grid;
  gap: 20px;
}

body.page-administrator-user .admin-user-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.page-administrator-user .admin-user-vehicle-card {
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-administrator-user .admin-user-vehicle-card:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.09);
}

body.page-administrator-user .admin-user-vehicle-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

body.page-administrator-user .admin-user-vehicle-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

body.page-administrator-user .admin-user-vehicle-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #334155);
  font-size: 18px;
}

body.page-administrator-user .admin-user-vehicle-copy {
  min-width: 0;
}

body.page-administrator-user .admin-user-vehicle-copy h4 {
  margin-bottom: 4px;
  font-size: 18px;
}

body.page-administrator-user .admin-user-vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
}

body.page-administrator-user .admin-user-vehicle-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-administrator-user .admin-user-vehicle-meta i {
  color: #94a3b8;
}

body.page-administrator-user .admin-user-vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

body.page-administrator-user .admin-user-vehicle-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-administrator-user .admin-user-vehicle-toggle {
  margin-top: 4px;
}

body.page-administrator-user .admin-user-vehicle-details {
  margin-top: 16px;
}

body.page-administrator-user .admin-user-deadline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-administrator-user .admin-user-deadline-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-administrator-user .admin-user-deadline-card.tone-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

body.page-administrator-user .admin-user-deadline-card.tone-warning {
  background: #fffbeb;
  border-color: #fde68a;
}

body.page-administrator-user .admin-user-deadline-card.tone-danger {
  background: #fef2f2;
  border-color: #fecaca;
}

body.page-administrator-user .admin-user-deadline-card.tone-neutral {
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.page-administrator-user .admin-user-deadline-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

body.page-administrator-user .admin-user-deadline-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b, #334155);
  font-size: 14px;
}

body.page-administrator-user .admin-user-deadline-head strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body.page-administrator-user .admin-user-deadline-value {
  margin-bottom: 4px;
  font-size: 15px;
}

body.page-administrator-user .admin-user-empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 56px 24px;
  text-align: center;
}

body.page-administrator-user .admin-user-empty-state i {
  font-size: 42px;
  color: #94a3b8;
}

body.page-administrator-user .toast {
  top: 22px !important;
  right: 22px !important;
  min-width: 320px !important;
  max-width: 520px !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
  border: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
}

body.page-administrator-user .toast.success {
  border-color: #86efac !important;
}

body.page-administrator-user .toast .toast-close {
  border-radius: 10px;
}

@media (max-width: 1220px) {
  body.page-administrator-user .admin-user-stats-grid,
  body.page-administrator-user .admin-user-vehicles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.page-administrator-user .main-content {
    padding: 20px !important;
  }

  body.page-administrator-user .admin-user-shell {
    padding: 22px !important;
    gap: 24px;
    border-radius: 24px;
  }

  body.page-administrator-user .admin-user-hero,
  body.page-administrator-user .admin-user-layout {
    grid-template-columns: 1fr;
  }

  body.page-administrator-user .admin-user-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-administrator-user .admin-user-hero-actions .btn,
  body.page-administrator-user .admin-user-status-form {
    flex: 1 1 240px;
  }

  body.page-administrator-user .admin-user-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.page-administrator-user .main-content {
    padding: 14px !important;
  }

  body.page-administrator-user .admin-user-shell {
    padding: 18px !important;
    gap: 20px;
    border-radius: 20px;
  }

  body.page-administrator-user .admin-user-hero,
  body.page-administrator-user .admin-user-stat-card,
  body.page-administrator-user .admin-user-panel,
  body.page-administrator-user .admin-user-vehicle-card,
  body.page-administrator-user .admin-user-empty-state {
    border-radius: 20px;
  }

  body.page-administrator-user .admin-user-hero {
    padding: 22px 18px;
  }

  body.page-administrator-user .admin-user-hero-main,
  body.page-administrator-user .admin-user-vehicle-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-administrator-user .admin-user-title {
    font-size: 2rem;
  }

  body.page-administrator-user .admin-user-chip-row {
    flex-direction: column;
  }

  body.page-administrator-user .admin-user-chip,
  body.page-administrator-user .admin-user-stats-grid,
  body.page-administrator-user .admin-user-vehicles-grid,
  body.page-administrator-user .admin-user-deadline-grid {
    width: 100%;
  }

  body.page-administrator-user .admin-user-stats-grid,
  body.page-administrator-user .admin-user-vehicles-grid,
  body.page-administrator-user .admin-user-deadline-grid {
    grid-template-columns: 1fr;
  }

  body.page-administrator-user .admin-user-preference-row {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-administrator-user .toast {
    left: 12px !important;
    right: 12px !important;
    min-width: auto !important;
    max-width: none !important;
  }
}

/* Enhanced donut chart on /pages/users/uvod.php */
body.page-uvod .analytics-donut-card {
  overflow: hidden;
}

body.page-uvod .dashboard-donut-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

body.page-uvod .dashboard-donut-visual {
  display: grid;
  gap: 16px;
}

body.page-uvod .dashboard-donut-chart-container {
  position: relative;
  height: 320px;
  border-radius: 24px;
  border: 1px solid #e5edf6;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.10), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-uvod .dashboard-donut-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}

body.page-uvod .dashboard-donut-center strong {
  color: #0f172a;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
}

body.page-uvod .dashboard-donut-center span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 120px;
}

body.page-uvod .dashboard-donut-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-uvod .dashboard-donut-summary-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-uvod .dashboard-donut-summary-item span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

body.page-uvod .dashboard-donut-summary-item strong {
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 800;
}

body.page-uvod .dashboard-donut-legend {
  display: grid;
  gap: 12px;
}

body.page-uvod .dashboard-donut-legend-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e5edf6;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-uvod .dashboard-donut-legend-item:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

body.page-uvod .dashboard-donut-legend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  flex-shrink: 0;
}

body.page-uvod .dashboard-donut-legend-item.tone-blue .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

body.page-uvod .dashboard-donut-legend-item.tone-green .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #1ab394, #11967c);
}

body.page-uvod .dashboard-donut-legend-item.tone-teal .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

body.page-uvod .dashboard-donut-legend-item.tone-amber .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

body.page-uvod .dashboard-donut-legend-item.tone-violet .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

body.page-uvod .dashboard-donut-legend-item.tone-rose .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

body.page-uvod .dashboard-donut-legend-item.tone-slate .dashboard-donut-legend-icon {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

body.page-uvod .dashboard-donut-legend-copy {
  min-width: 0;
}

body.page-uvod .dashboard-donut-legend-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

body.page-uvod .dashboard-donut-legend-top strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

body.page-uvod .dashboard-donut-legend-top span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

body.page-uvod .dashboard-donut-legend-copy p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-uvod .dashboard-donut-legend-stats {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

body.page-uvod .dashboard-donut-legend-stats span {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

body.page-uvod .dashboard-donut-legend-stats small {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  body.page-uvod .dashboard-donut-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.page-uvod .dashboard-donut-chart-container {
    height: 290px;
    border-radius: 20px;
  }

  body.page-uvod .dashboard-donut-summary {
    grid-template-columns: 1fr;
  }

  body.page-uvod .dashboard-donut-legend-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.page-uvod .dashboard-donut-legend-stats {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}

/* Zona-style shell tuning */
:root {
  --sidebar-width: 220px;
  --sidebar-collapsed-width: 70px;
  --header-height: 60px;
}

body.app-shell {
  --font-family: 'Open Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.9375rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.125rem;
  --font-size-2xl: 1.375rem;
  --font-size-3xl: 1.625rem;
  --font-size-4xl: 2rem;
  font-family: var(--font-family) !important;
  font-size: 14px;
}

body.app-shell .sidebar {
  width: var(--sidebar-width) !important;
  min-width: var(--sidebar-width) !important;
  max-width: var(--sidebar-width) !important;
  box-shadow: 0 0 28px rgba(15, 23, 42, 0.22) !important;
}

body.app-shell .sidebar.collapsed {
  width: var(--sidebar-collapsed-width) !important;
  min-width: var(--sidebar-collapsed-width) !important;
  max-width: var(--sidebar-collapsed-width) !important;
}

body.app-shell .sidebar-header {
  padding: 18px 18px 16px !important;
  gap: 10px !important;
}

body.app-shell .sidebar-logo {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
}

body.app-shell .sidebar-title-wrapper {
  gap: 1px !important;
}

body.app-shell .sidebar-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.app-shell .sidebar-subtitle {
  max-width: 128px;
  font-size: 9px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.02em !important;
}

body.app-shell .sidebar-nav {
  padding-top: 4px !important;
}

body.app-shell .nav-list {
  gap: 0 !important;
  padding: 8px 0 48px !important;
}

body.app-shell .nav-link {
  min-height: 48px !important;
  padding: 14px 18px 14px 20px !important;
  gap: 10px !important;
  border-left: 4px solid transparent !important;
  border-radius: 0 !important;
  color: #a7b1c2 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

body.app-shell .nav-link::before,
body.app-shell .nav-link::after {
  display: none !important;
}

body.app-shell .nav-link:hover,
body.app-shell .nav-link:focus {
  background: rgba(41, 56, 70, 0.94) !important;
  color: #ffffff !important;
}

body.app-shell .nav-link.active {
  border-left-color: var(--primary-color) !important;
  background: rgba(41, 56, 70, 0.98) !important;
  color: #ffffff !important;
}

body.app-shell .nav-icon {
  width: 18px !important;
  font-size: 15px !important;
  margin-right: 2px !important;
}

body.app-shell .nav-text {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body.app-shell .nav-badge {
  top: 50% !important;
  right: 14px !important;
  transform: translateY(-50%) !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 20px !important;
}

body.app-shell .sidebar-version {
  right: 12px !important;
  bottom: 12px !important;
}

body.app-shell .sidebar-version code {
  font-size: 9px !important;
  opacity: 0.82;
}

body.app-shell .sidebar.collapsed .sidebar-header {
  padding: 16px 0 !important;
}

body.app-shell .sidebar.collapsed .nav-link {
  padding: 14px 0 !important;
  justify-content: center !important;
  border-left-width: 0 !important;
}

body.app-shell .sidebar.collapsed .nav-icon {
  margin-right: 0 !important;
}

body.app-shell .sidebar.collapsed .nav-badge {
  top: 8px !important;
  right: 10px !important;
  transform: none !important;
}

body.app-shell .header {
  left: var(--sidebar-width) !important;
  height: var(--header-height) !important;
  padding: 0 18px !important;
}

body.app-shell .sidebar.collapsed ~ .header,
body.app-shell:has(.sidebar.collapsed) .header {
  left: var(--sidebar-collapsed-width) !important;
}

body.app-shell .header-left,
body.app-shell .header-right {
  gap: 12px !important;
}

body.app-shell .sidebar-toggle {
  font-size: 18px !important;
}

body.app-shell .header-title {
  font-size: 1.45rem !important;
  font-weight: 700 !important;
}

body.app-shell .main-content {
  margin-left: var(--sidebar-width) !important;
  margin-top: var(--header-height) !important;
  width: calc(100vw - var(--sidebar-width)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
  padding: 18px 22px !important;
  font-size: 14px !important;
}

body.app-shell .sidebar.collapsed ~ .main-content,
body.app-shell:has(.sidebar.collapsed) .main-content {
  margin-left: var(--sidebar-collapsed-width) !important;
  width: calc(100vw - var(--sidebar-collapsed-width)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
}

body.app-shell .page-card,
body.app-shell .page-card.card-wide {
  border-radius: 18px !important;
}

body.page-uvod .dashboard-hero-title,
body.page-moje-vozidla .personal-vehicles-title,
body.page-priatelia .friends-hero-title,
body.page-expiring .notification-hero-title,
body.page-overdue .notification-hero-title,
body.page-nastavenia .settings-title,
body.page-info .info-title,
body.page-administrator-user .admin-user-title,
body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
  font-size: clamp(1.75rem, 2.2vw, 2.25rem) !important;
  line-height: 1.08 !important;
}

body.page-uvod .dashboard-hero-text,
body.page-moje-vozidla .personal-vehicles-text,
body.page-priatelia .friends-hero-text,
body.page-expiring .notification-hero-text,
body.page-overdue .notification-hero-text,
body.page-nastavenia .settings-text,
body.page-info .info-text,
body.page-administrator-user .admin-user-text,
body.page-zobrazit-vozidlo .vehicle-hero-subtitle {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

body.page-uvod .dashboard-hero-kicker,
body.page-priatelia .friends-hero-kicker,
body.page-expiring .notification-hero-kicker,
body.page-overdue .notification-hero-kicker,
body.page-info .info-kicker,
body.page-nastavenia .settings-kicker,
body.page-moje-vozidla .personal-vehicles-kicker {
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
}

body.page-uvod .dashboard-section-heading,
body.page-priatelia .friends-section-heading,
body.page-expiring .notification-section-heading,
body.page-overdue .notification-section-heading,
body.page-moje-vozidla .personal-section-heading,
body.page-zobrazit-vozidlo .section-heading {
  gap: 10px !important;
}

body.page-uvod .analytics-card-title,
body.page-info .info-panel-title,
body.page-nastavenia .settings-panel-title,
body.page-administrator-user .admin-user-panel-title,
body.page-moje-vozidla .personal-form-section-heading h3,
body.page-zobrazit-vozidlo .section-heading-body h2,
body.page-zobrazit-vozidlo .edit-modal-section-heading h3 {
  font-size: 1.08rem !important;
  line-height: 1.3 !important;
}

body.page-zobrazit-vozidlo .section-heading-body p,
body.page-zobrazit-vozidlo .edit-modal-section-heading p,
body.page-moje-vozidla .personal-form-section-heading p {
  font-size: 0.86rem !important;
}

@media (max-width: 1024px) {
  body.app-shell .sidebar {
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width) !important;
  }

  body.app-shell .header,
  body.app-shell .sidebar.collapsed ~ .header,
  body.app-shell:has(.sidebar.collapsed) .header,
  body.app-shell .main-content,
  body.app-shell .sidebar.collapsed ~ .main-content,
  body.app-shell:has(.sidebar.collapsed) .main-content {
    left: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  body.app-shell .header {
    padding: 0 14px !important;
  }

  body.app-shell .main-content {
    padding: 16px !important;
  }
}

@media (max-width: 768px) {
  body.app-shell .header-title {
    font-size: 1.2rem !important;
  }

  body.page-uvod .dashboard-hero-title,
  body.page-moje-vozidla .personal-vehicles-title,
  body.page-priatelia .friends-hero-title,
  body.page-expiring .notification-hero-title,
  body.page-overdue .notification-hero-title,
  body.page-nastavenia .settings-title,
  body.page-info .info-title,
  body.page-administrator-user .admin-user-title,
  body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
    font-size: 1.55rem !important;
  }
}

/* Zona-like compact page wrappers and content sizing */
@media (min-width: 1025px) {
  body.app-shell .header {
    left: var(--sidebar-width) !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.app-shell .sidebar.collapsed ~ .header,
  body.app-shell:has(.sidebar.collapsed) .header {
    left: var(--sidebar-collapsed-width) !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.app-shell .main-content {
    margin-left: var(--sidebar-width) !important;
    width: auto !important;
    max-width: none !important;
  }

  body.app-shell .sidebar.collapsed ~ .main-content,
  body.app-shell:has(.sidebar.collapsed) .main-content {
    margin-left: var(--sidebar-collapsed-width) !important;
    width: auto !important;
    max-width: none !important;
  }
}

body.app-shell .main-content {
  padding: 12px 14px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.page-uvod .main-content,
body.page-moje-vozidla .main-content,
body.page-priatelia .main-content,
body.page-zobrazit-vozidlo .main-content,
body.page-expiring .main-content,
body.page-overdue .main-content,
body.page-info .main-content,
body.page-nastavenia .main-content,
body.page-administrator-user .main-content {
  padding: 12px 14px !important;
}

body.app-shell .main-content > .page-card,
body.app-shell .main-content > .page-card.card-wide,
body.app-shell .main-content > .dashboard-shell,
body.app-shell .main-content > .personal-vehicles-shell,
body.app-shell .main-content > .friends-shell,
body.app-shell .main-content > .info-shell,
body.app-shell .main-content > .settings-shell,
body.app-shell .main-content > .admin-user-shell,
body.app-shell .main-content > .notification-page-shell {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: auto !important;
  height: auto !important;
  padding: 14px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #dde5ef !important;
}

body.app-shell .main-content > .dashboard-shell {
  gap: 16px !important;
}

body.app-shell .main-content:has(.page-card),
body.app-shell .main-content:has(.profile-container),
body.app-shell .main-content:has(.settings-container) {
  padding: 12px 14px !important;
}

body.app-shell .breadcrumb-nav {
  margin: 0 0 12px 0 !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
}

body.app-shell .breadcrumb {
  font-size: 0.82rem !important;
}

body.page-uvod .dashboard-hero,
body.page-moje-vozidla .personal-vehicles-hero,
body.page-priatelia .friends-hero,
body.page-expiring .notification-hero,
body.page-overdue .notification-hero,
body.page-nastavenia .settings-hero,
body.page-info .info-hero,
body.page-administrator-user .admin-user-hero,
body.page-zobrazit-vozidlo .vehicle-hero {
  padding: 18px 20px !important;
  border-radius: 16px !important;
}

body.page-uvod .dashboard-hero-title,
body.page-moje-vozidla .personal-vehicles-title,
body.page-priatelia .friends-hero-title,
body.page-expiring .notification-hero-title,
body.page-overdue .notification-hero-title,
body.page-nastavenia .settings-title,
body.page-info .info-title,
body.page-administrator-user .admin-user-title,
body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
  font-size: clamp(1.5rem, 1.8vw, 2rem) !important;
  line-height: 1.1 !important;
}

body.page-uvod .dashboard-hero-text,
body.page-moje-vozidla .personal-vehicles-text,
body.page-priatelia .friends-hero-text,
body.page-expiring .notification-hero-text,
body.page-overdue .notification-hero-text,
body.page-nastavenia .settings-text,
body.page-info .info-text,
body.page-administrator-user .admin-user-text,
body.page-zobrazit-vozidlo .vehicle-hero-subtitle {
  font-size: 0.86rem !important;
  line-height: 1.58 !important;
}

body.page-uvod .dashboard-hero-kicker,
body.page-moje-vozidla .personal-vehicles-kicker,
body.page-priatelia .friends-hero-kicker,
body.page-expiring .notification-hero-kicker,
body.page-overdue .notification-hero-kicker,
body.page-info .info-kicker,
body.page-nastavenia .settings-kicker {
  font-size: 0.68rem !important;
}

body.page-uvod .dashboard-chip,
body.page-priatelia .friends-chip,
body.page-expiring .notification-chip,
body.page-overdue .notification-chip,
body.page-info .info-chip,
body.page-nastavenia .settings-chip,
body.page-administrator-user .admin-user-chip {
  min-height: 34px !important;
  font-size: 0.78rem !important;
  padding: 8px 10px !important;
}

body.page-uvod .stats-grid {
  gap: 14px !important;
}

body.page-uvod .stat-card {
  padding: 16px !important;
  border-radius: 14px !important;
}

body.page-uvod .stat-card-number {
  font-size: 1.85rem !important;
}

body.page-uvod .stat-card-label,
body.page-uvod .stat-card-trend,
body.page-uvod .stat-card-trend span {
  font-size: 0.84rem !important;
}

body.page-uvod .dashboard-section-copy h3,
body.page-uvod .analytics-card-title,
body.page-moje-vozidla .personal-section-heading h3,
body.page-priatelia .friends-section-heading h3,
body.page-expiring .notification-section-heading h3,
body.page-overdue .notification-section-heading h3,
body.page-zobrazit-vozidlo .section-heading-body h2,
body.page-zobrazit-vozidlo .edit-modal-section-heading h3,
body.page-info .info-panel-title,
body.page-nastavenia .settings-panel-title,
body.page-administrator-user .admin-user-panel-title {
  font-size: 1rem !important;
}

body.page-uvod .analytics-card,
body.page-priatelia .friend-card,
body.page-moje-vozidla .vehicle-card,
body.page-expiring .notification-vehicle-card,
body.page-overdue .notification-vehicle-card,
body.page-info .info-panel,
body.page-nastavenia .settings-panel,
body.page-administrator-user .admin-user-panel {
  border-radius: 14px !important;
}

@media (max-width: 1024px) {
  body.app-shell .main-content,
  body.page-uvod .main-content,
  body.page-moje-vozidla .main-content,
  body.page-priatelia .main-content,
  body.page-zobrazit-vozidlo .main-content,
  body.page-expiring .main-content,
  body.page-overdue .main-content,
  body.page-info .main-content,
  body.page-nastavenia .main-content,
  body.page-administrator-user .main-content {
    padding: 12px !important;
  }

  body.app-shell .main-content > .page-card,
  body.app-shell .main-content > .page-card.card-wide,
  body.app-shell .main-content > .dashboard-shell,
  body.app-shell .main-content > .personal-vehicles-shell,
  body.app-shell .main-content > .friends-shell,
  body.app-shell .main-content > .info-shell,
  body.app-shell .main-content > .settings-shell,
  body.app-shell .main-content > .admin-user-shell,
  body.app-shell .main-content > .notification-page-shell {
    padding: 12px !important;
    border-radius: 10px !important;
  }
}

/* Final full-width pages alignment (zona-like) */
@media (min-width: 1025px) {
  body.app-shell .header {
    left: var(--sidebar-width) !important;
    right: 0 !important;
    width: auto !important;
  }

  body.app-shell .sidebar.collapsed ~ .header,
  body.app-shell:has(.sidebar.collapsed) .header {
    left: var(--sidebar-collapsed-width) !important;
    right: 0 !important;
    width: auto !important;
  }

  body.app-shell .main-content {
    margin-left: var(--sidebar-width) !important;
    width: auto !important;
  }

  body.app-shell .sidebar.collapsed ~ .main-content,
  body.app-shell:has(.sidebar.collapsed) .main-content {
    margin-left: var(--sidebar-collapsed-width) !important;
    width: auto !important;
  }
}

body.app-shell .main-content,
body.page-uvod .main-content,
body.page-moje-vozidla .main-content,
body.page-priatelia .main-content,
body.page-zobrazit-vozidlo .main-content,
body.page-expiring .main-content,
body.page-overdue .main-content,
body.page-info .main-content,
body.page-nastavenia .main-content,
body.page-administrator-user .main-content {
  padding: 0 !important;
  min-height: calc(100vh - var(--header-height)) !important;
  font-size: 12.8px !important;
}

body.app-shell .main-content > .animate-fadeIn,
body.app-shell .main-content > .animate-slideInUp,
body.app-shell .main-content > .animate-fadeInUp,
body.app-shell .main-content > .animate-scaleIn {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.app-shell .main-content .page-card,
body.app-shell .main-content .page-card.card-wide,
body.app-shell .main-content .dashboard-shell,
body.app-shell .main-content .personal-vehicles-shell,
body.app-shell .main-content .friends-shell,
body.app-shell .main-content .info-shell,
body.app-shell .main-content .settings-shell,
body.app-shell .main-content .admin-user-shell,
body.app-shell .main-content .notification-page-shell {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - var(--header-height)) !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.page-uvod .dashboard-shell,
body.page-moje-vozidla .personal-vehicles-shell,
body.page-priatelia .friends-shell,
body.page-info .info-shell,
body.page-nastavenia .settings-shell,
body.page-administrator-user .admin-user-shell,
body.page-expiring .notification-page-shell,
body.page-overdue .notification-page-shell,
body.page-zobrazit-vozidlo .page-card.card-wide {
  padding: 6px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.app-shell .breadcrumb-nav {
  margin: 0 0 8px 0 !important;
  padding: 7px 10px !important;
  width: 100% !important;
  border-radius: 0 !important;
}

body.app-shell .breadcrumb {
  font-size: 0.78rem !important;
}

body.page-uvod .dashboard-hero,
body.page-moje-vozidla .personal-vehicles-hero,
body.page-priatelia .friends-hero,
body.page-expiring .notification-hero,
body.page-overdue .notification-hero,
body.page-info .info-hero,
body.page-nastavenia .settings-hero,
body.page-administrator-user .admin-user-hero,
body.page-zobrazit-vozidlo .vehicle-hero {
  border-radius: 12px !important;
  padding: 16px 18px !important;
}

body.page-uvod .dashboard-hero-title,
body.page-moje-vozidla .personal-vehicles-title,
body.page-priatelia .friends-hero-title,
body.page-expiring .notification-hero-title,
body.page-overdue .notification-hero-title,
body.page-nastavenia .settings-title,
body.page-info .info-title,
body.page-administrator-user .admin-user-title,
body.page-zobrazit-vozidlo .vehicle-hero-title h1 {
  font-size: clamp(1.35rem, 1.6vw, 1.8rem) !important;
}

body.page-uvod .dashboard-hero-text,
body.page-moje-vozidla .personal-vehicles-text,
body.page-priatelia .friends-hero-text,
body.page-expiring .notification-hero-text,
body.page-overdue .notification-hero-text,
body.page-info .info-text,
body.page-nastavenia .settings-text,
body.page-administrator-user .admin-user-text,
body.page-zobrazit-vozidlo .vehicle-hero-subtitle {
  font-size: 0.82rem !important;
}

body.page-uvod .stat-card-number {
  font-size: 1.65rem !important;
}

/* Keep open/collapsed desktop sidebar width perfectly synced with page width */
@media (min-width: 1025px) {
  body.app-shell #sidebar {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }

  body.app-shell #sidebar.collapsed {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
  }

  body.app-shell #sidebar:not(.collapsed) ~ .header {
    left: 220px !important;
    right: 0 !important;
    width: calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
  }

  body.app-shell #sidebar:not(.collapsed) ~ .main-content {
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
  }

  body.app-shell #sidebar.collapsed ~ .header {
    left: 70px !important;
    right: 0 !important;
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
  }

  body.app-shell #sidebar.collapsed ~ .main-content {
    margin-left: 70px !important;
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
  }
}

/* Global lock: identical page width on all screens/pages like zona-master */
@media (min-width: 1025px) {
  body.app-shell #sidebar:not(.collapsed) ~ .header {
    left: 220px !important;
    right: 0 !important;
    width: calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
  }

  body.app-shell #sidebar.collapsed ~ .header {
    left: 70px !important;
    right: 0 !important;
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
  }

  body.app-shell #sidebar:not(.collapsed) ~ .main-content {
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  body.app-shell #sidebar.collapsed ~ .main-content {
    margin-left: 70px !important;
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  body.app-shell #sidebar ~ .main-content > * {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.app-shell #sidebar ~ .main-content > .page-card,
  body.app-shell #sidebar ~ .main-content > .page-card.card-wide,
  body.app-shell #sidebar ~ .main-content > * > .page-card,
  body.app-shell #sidebar ~ .main-content > * > .page-card.card-wide,
  body.app-shell #sidebar ~ .main-content .dashboard-shell,
  body.app-shell #sidebar ~ .main-content .personal-vehicles-shell,
  body.app-shell #sidebar ~ .main-content .friends-shell,
  body.app-shell #sidebar ~ .main-content .info-shell,
  body.app-shell #sidebar ~ .main-content .settings-shell,
  body.app-shell #sidebar ~ .main-content .admin-user-shell,
  body.app-shell #sidebar ~ .main-content .notification-page-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: calc(100vh - var(--header-height)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* Unified breadcrumb-to-hero spacing across all pages */
@media (min-width: 1025px) {
  body.app-shell #sidebar ~ .main-content .dashboard-shell,
  body.app-shell #sidebar ~ .main-content .personal-vehicles-shell,
  body.app-shell #sidebar ~ .main-content .friends-shell,
  body.app-shell #sidebar ~ .main-content .info-shell,
  body.app-shell #sidebar ~ .main-content .admin-user-shell,
  body.app-shell #sidebar ~ .main-content .notification-page-shell {
    gap: 8px !important;
  }

  body.app-shell #sidebar ~ .main-content .dashboard-shell > .breadcrumb-nav,
  body.app-shell #sidebar ~ .main-content .personal-vehicles-shell > .breadcrumb-nav,
  body.app-shell #sidebar ~ .main-content .friends-shell > .breadcrumb-nav,
  body.app-shell #sidebar ~ .main-content .info-shell > .breadcrumb-nav,
  body.app-shell #sidebar ~ .main-content .admin-user-shell > .breadcrumb-nav,
  body.app-shell #sidebar ~ .main-content .notification-page-shell > .breadcrumb-nav {
    margin-bottom: 0 !important;
  }

  body.page-nastavenia .settings-shell > .breadcrumb-nav,
  body.page-zobrazit-vozidlo .page-card.card-wide > .breadcrumb-nav {
    margin-bottom: 8px !important;
  }

  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .dashboard-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .personal-vehicles-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .friends-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .notification-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .info-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .settings-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .admin-user-hero,
  body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .vehicle-hero {
    margin-top: 0 !important;
  }
}

/* Dashboard analytics proportions: wider donut, narrower SMS */
@media (min-width: 1025px) {
  body.page-uvod .analytics-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.page-uvod .analytics-chart {
    min-width: 0 !important;
  }

  body.page-uvod .analytics-sms {
    min-width: 0 !important;
  }

  body.page-uvod .analytics-chart .analytics-card-title {
    white-space: nowrap !important;
    font-size: 0.98rem !important;
  }
}

/* Kill tiny horizontal overflow on dashboard analytics */
body.page-uvod,
body.page-uvod .main-content,
body.page-uvod .dashboard-shell,
body.page-uvod .analytics-section,
body.page-uvod .analytics-grid,
body.page-uvod .analytics-card,
body.page-uvod .dashboard-donut-layout,
body.page-uvod .dashboard-donut-visual,
body.page-uvod .dashboard-donut-chart-container,
body.page-uvod .analytics-sms {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.page-uvod .main-content,
body.page-uvod .dashboard-shell,
body.page-uvod .analytics-section,
body.page-uvod .analytics-grid {
  overflow-x: hidden !important;
}

body.page-uvod .dashboard-donut-chart-container canvas,
body.page-uvod .sms-chart-container canvas {
  display: block !important;
  max-width: 100% !important;
}

body.page-uvod .analytics-donut-card,
body.page-uvod .dashboard-donut-layout,
body.page-uvod .dashboard-donut-visual,
body.page-uvod .dashboard-donut-summary,
body.page-uvod .dashboard-donut-chart-container {
  overflow: hidden !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.page-uvod .analytics-donut-card::-webkit-scrollbar,
body.page-uvod .dashboard-donut-layout::-webkit-scrollbar,
body.page-uvod .dashboard-donut-visual::-webkit-scrollbar,
body.page-uvod .dashboard-donut-summary::-webkit-scrollbar,
body.page-uvod .dashboard-donut-chart-container::-webkit-scrollbar {
  display: none !important;
}

body.page-uvod #globalChart,
body.page-uvod #smsChart {
  display: block !important;
  vertical-align: top !important;
}

/* Normalize breadcrumb top offset across all pages */
@media (min-width: 1025px) {
  body.app-shell #sidebar ~ .main-content .dashboard-shell,
  body.app-shell #sidebar ~ .main-content .personal-vehicles-shell,
  body.app-shell #sidebar ~ .main-content .friends-shell,
  body.app-shell #sidebar ~ .main-content .info-shell,
  body.app-shell #sidebar ~ .main-content .settings-shell,
  body.app-shell #sidebar ~ .main-content .admin-user-shell,
  body.app-shell #sidebar ~ .main-content .notification-page-shell,
  body.app-shell #sidebar ~ .main-content .page-card.card-wide {
    padding-top: 0 !important;
  }

  body.app-shell #sidebar ~ .main-content .dashboard-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .personal-vehicles-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .friends-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .info-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .settings-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .admin-user-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .notification-page-shell > .breadcrumb-nav:first-child,
  body.app-shell #sidebar ~ .main-content .page-card.card-wide > .breadcrumb-nav:first-child {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }
}

/* Vehicle search icon inside input */
body.page-moje-vozidla .personal-search-wrap {
  position: relative !important;
}

body.page-moje-vozidla .personal-search-wrap > i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

body.page-moje-vozidla .personal-search-wrap .personal-search-input {
  padding-left: 42px !important;
}

/* Info page breadcrumb polish */
body.page-info .info-shell > .breadcrumb-nav {
  display: flex !important;
  align-items: center !important;
  padding: 10px 14px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.92) 100%) !important;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
}

body.page-info .info-shell > .breadcrumb-nav .breadcrumb {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

body.page-info .info-shell > .breadcrumb-nav .breadcrumb li {
  display: inline-flex !important;
  align-items: center !important;
}

body.page-info .info-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after {
  content: '/' !important;
  margin-left: 0.55rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

body.page-info .info-shell > .breadcrumb-nav .breadcrumb li a {
  color: #3b82f6 !important;
  text-decoration: none !important;
  transition: color 0.18s ease, opacity 0.18s ease !important;
}

body.page-info .info-shell > .breadcrumb-nav .breadcrumb li a:hover {
  color: #1d4ed8 !important;
}

body.page-info .info-shell > .breadcrumb-nav .breadcrumb li.active a {
  color: #64748b !important;
  font-weight: 800 !important;
  cursor: default !important;
}

/* Unified breadcrumb visual style across app pages */
body.app-shell .dashboard-shell > .breadcrumb-nav,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav,
body.app-shell .friends-shell > .breadcrumb-nav,
body.app-shell .info-shell > .breadcrumb-nav,
body.app-shell .settings-shell > .breadcrumb-nav,
body.app-shell .admin-user-shell > .breadcrumb-nav,
body.app-shell .notification-page-shell > .breadcrumb-nav,
body.app-shell .page-card.card-wide > .breadcrumb-nav {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 0 8px 0 !important;
  padding: 10px 14px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.92) 100%) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
}

body.app-shell .dashboard-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .friends-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .info-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .settings-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .admin-user-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .notification-page-shell > .breadcrumb-nav .breadcrumb,
body.app-shell .page-card.card-wide > .breadcrumb-nav .breadcrumb {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

body.app-shell .dashboard-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .friends-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .info-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .settings-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .admin-user-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .notification-page-shell > .breadcrumb-nav .breadcrumb li,
body.app-shell .page-card.card-wide > .breadcrumb-nav .breadcrumb li {
  display: inline-flex !important;
  align-items: center !important;
}

body.app-shell .dashboard-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .friends-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .info-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .settings-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .admin-user-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .notification-page-shell > .breadcrumb-nav .breadcrumb li:not(:last-child)::after,
body.app-shell .page-card.card-wide > .breadcrumb-nav .breadcrumb li:not(:last-child)::after {
  content: '/' !important;
  margin-left: 0.55rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

body.app-shell .dashboard-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .friends-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .info-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .settings-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .admin-user-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .notification-page-shell > .breadcrumb-nav .breadcrumb li a,
body.app-shell .page-card.card-wide > .breadcrumb-nav .breadcrumb li a {
  color: #3b82f6 !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

body.app-shell .dashboard-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .friends-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .info-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .settings-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .admin-user-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .notification-page-shell > .breadcrumb-nav .breadcrumb li a:hover,
body.app-shell .page-card.card-wide > .breadcrumb-nav .breadcrumb li a:hover {
  color: #1d4ed8 !important;
}

body.app-shell .dashboard-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .personal-vehicles-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .friends-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .info-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .settings-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .admin-user-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .notification-page-shell > .breadcrumb-nav .breadcrumb li.active a,
body.app-shell .page-card.card-wide > .breadcrumb-nav .breadcrumb li.active a {
  color: #64748b !important;
  font-weight: 800 !important;
  cursor: default !important;
}

/* Dashboard top spacing parity with other pages */
body.page-uvod .dashboard-shell > .breadcrumb-nav:first-child {
  margin-top: 0 !important;
}

/* Remove extra top gap only on dashboard page */
body.page-uvod .dashboard-shell {
  padding-top: 0 !important;
}

@media (min-width: 1025px) {
  body.app-shell #sidebar ~ .main-content .dashboard-shell {
    padding-top: 0 !important;
  }
}

/* Personal vehicles hero should be sharp (no rounded corners) */
body.page-moje-vozidla .personal-vehicles-hero,
body.page-moje-vozidla .personal-vehicles-hero-main {
  border-radius: 0 !important;
}

/* Dashboard should be sharp (square corners everywhere) */
body.page-uvod .dashboard-shell,
body.page-uvod .dashboard-hero,
body.page-uvod .dashboard-chip,
body.page-uvod .stat-card,
body.page-uvod .stat-card-icon,
body.page-uvod .analytics-card,
body.page-uvod .dashboard-donut-center,
body.page-uvod .dashboard-donut-summary-item,
body.page-uvod .dashboard-donut-legend-item,
body.page-uvod .dashboard-donut-legend-icon,
body.page-uvod .sms-filter select,
body.page-uvod .sms-stat-item,
body.page-uvod .sms-message-item,
body.page-uvod .sms-message-icon,
body.page-uvod .sms-message-empty,
body.page-uvod .sms-messages-header .btn,
body.page-uvod .dashboard-hero-actions .btn {
  border-radius: 0 !important;
}

body.page-uvod .dashboard-hero::before,
body.page-uvod .dashboard-hero::after {
  display: none !important;
}

/* Friends page should be fully sharp (square corners everywhere) */
body.page-priatelia .friends-shell,
body.page-priatelia .friends-shell *,
body.page-priatelia .friends-modal,
body.page-priatelia .friends-modal * {
  border-radius: 0 !important;
}

/* Friends search icon inside input */
body.page-priatelia .friends-search-wrap {
  position: relative !important;
}

body.page-priatelia .friends-search-wrap > i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

body.page-priatelia .friends-search-wrap .friends-search-input {
  padding-left: 42px !important;
}

/* Admin search icon inside input */
body.page-administrator-index .admin-index-search-wrap {
  position: relative !important;
}

body.page-administrator-index .admin-index-search-wrap > i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

body.page-administrator-index .admin-index-search-wrap .admin-index-search-input {
  padding-left: 42px !important;
}

body.page-administrator-platby .admin-index-search-wrap {
  position: relative !important;
}

body.page-administrator-platby .admin-index-search-wrap > i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

body.page-administrator-platby .admin-index-search-wrap .admin-index-search-input {
  padding-left: 42px !important;
}

/* Refreshed profile page to match the rest of app pages */
body.page-profil .profile-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding: 8px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

body.page-profil .profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

body.page-profil .profile-hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-profil .profile-hero-title {
  margin: 8px 0 6px;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
}

body.page-profil .profile-hero-text {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.62;
}

body.page-profil .profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body.page-profil .profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

body.page-profil .profile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

body.page-profil .profile-hero-actions .btn {
  width: 100%;
}

body.page-profil .profile-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

body.page-profil .profile-sections-single {
  grid-template-columns: 1fr !important;
}

body.page-profil .profile-sections-full {
  width: 100%;
}

body.page-profil .profile-section-card {
  border: 1px solid #e5edf6;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body.page-profil .profile-section-card .section-title {
  background: #f8fbff;
  border-bottom: 1px solid #e5edf6;
  color: #0f172a;
  font-weight: 800;
}

body.page-profil .section-content {
  padding: 18px;
}

body.page-profil .profile-form-spaced {
  margin-top: 18px;
}

body.page-profil .profile-toggle-row {
  margin-bottom: 0;
}

body.page-profil .profile-toggle-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
}

body.page-profil .profile-toggle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.page-profil .profile-toggle-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

body.page-profil .profile-toggle-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

body.page-profil .profile-toggle-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

body.page-profil .profile-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  body.page-profil .profile-hero {
    grid-template-columns: 1fr;
  }

  body.page-profil .profile-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-profil .profile-hero-actions .btn {
    width: auto;
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  body.page-profil .profile-sections {
    grid-template-columns: 1fr;
  }

  body.page-profil .section-content {
    padding: 14px;
  }

  body.page-profil .profile-hero-actions {
    flex-direction: column;
  }

  body.page-profil .profile-hero-actions .btn {
    width: 100%;
    flex: none;
  }
}

/* Packages page uses the same shell and billing visual language as profile */
body.page-balicky .profile-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding: 8px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

body.page-balicky .profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

body.page-balicky .profile-hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-balicky .profile-hero-title {
  margin: 8px 0 6px;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
}

body.page-balicky .profile-hero-text {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.62;
}

body.page-balicky .profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body.page-balicky .profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

body.page-balicky .profile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

body.page-balicky .profile-hero-actions .btn {
  width: 100%;
}

@media (max-width: 1024px) {
  body.page-balicky .profile-hero {
    grid-template-columns: 1fr;
  }

  body.page-balicky .profile-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-balicky .profile-hero-actions .btn {
    width: auto;
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  body.page-balicky .profile-hero-actions {
    flex-direction: column;
  }

  body.page-balicky .profile-hero-actions .btn {
    width: 100%;
    flex: none;
  }
}

/* Billing activation flow */
body.page-profil .profile-billing-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

body.page-balicky .profile-billing-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

body.page-profil .profile-billing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid #e5edf6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-balicky .profile-billing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid #e5edf6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-profil .profile-billing-copy {
  display: grid;
  gap: 6px;
}

body.page-balicky .profile-billing-copy {
  display: grid;
  gap: 6px;
}

body.page-profil .profile-billing-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-balicky .profile-billing-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-profil .profile-billing-text {
  margin: 0;
  max-width: 760px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.62;
}

body.page-balicky .profile-billing-text {
  margin: 0;
  max-width: 760px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.62;
}

body.page-profil .profile-billing-state,
body.page-profil .profile-billing-status-pill,
body.page-balicky .profile-billing-state,
body.page-balicky .profile-billing-status-pill,
body.page-administrator-index .admin-index-billing-status,
body.page-administrator-user .admin-user-billing-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

body.page-profil .profile-billing-state.tone-success,
body.page-profil .profile-billing-status-pill.tone-success,
body.page-balicky .profile-billing-state.tone-success,
body.page-balicky .profile-billing-status-pill.tone-success,
body.page-administrator-index .admin-index-billing-status.tone-success,
body.page-administrator-user .admin-user-billing-status.tone-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

body.page-profil .profile-billing-state.tone-warning,
body.page-profil .profile-billing-status-pill.tone-warning,
body.page-balicky .profile-billing-state.tone-warning,
body.page-balicky .profile-billing-status-pill.tone-warning,
body.page-administrator-index .admin-index-billing-status.tone-warning,
body.page-administrator-user .admin-user-billing-status.tone-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

body.page-profil .profile-billing-state.tone-danger,
body.page-profil .profile-billing-status-pill.tone-danger,
body.page-balicky .profile-billing-state.tone-danger,
body.page-balicky .profile-billing-status-pill.tone-danger,
body.page-administrator-index .admin-index-billing-status.tone-danger,
body.page-administrator-user .admin-user-billing-status.tone-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

body.page-profil .profile-billing-state.tone-info,
body.page-profil .profile-billing-status-pill.tone-info,
body.page-balicky .profile-billing-state.tone-info,
body.page-balicky .profile-billing-status-pill.tone-info,
body.page-administrator-index .admin-index-billing-status.tone-info,
body.page-administrator-user .admin-user-billing-status.tone-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

body.page-profil .profile-billing-state.tone-slate,
body.page-profil .profile-billing-status-pill.tone-slate,
body.page-balicky .profile-billing-state.tone-slate,
body.page-balicky .profile-billing-status-pill.tone-slate,
body.page-administrator-index .admin-index-billing-status.tone-slate,
body.page-administrator-user .admin-user-billing-status.tone-slate {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

body.page-profil .profile-billing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid #e5edf6;
  background: #ffffff;
}

body.page-balicky .profile-billing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid #e5edf6;
  background: #ffffff;
}

body.page-profil .profile-billing-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-balicky .profile-billing-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-profil .profile-billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #e5edf6;
}

body.page-balicky .profile-billing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #e5edf6;
}

body.page-balicky .profile-billing-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.page-profil .profile-billing-package,
body.page-profil .profile-billing-instructions {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  align-content: start;
}

body.page-balicky .profile-billing-package,
body.page-balicky .profile-billing-instructions {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  align-content: start;
}

body.page-balicky .profile-billing-package {
  position: relative;
  gap: 16px;
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

body.page-balicky .profile-billing-package::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

body.page-balicky .profile-billing-package-standard::before {
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

body.page-balicky .profile-billing-package-elite::before {
  background: linear-gradient(90deg, #34d399 0%, #059669 100%);
}

body.page-balicky .profile-billing-package-premium::before {
  background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
}

body.page-balicky .profile-billing-package-standard {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-balicky .profile-billing-package-elite {
  background: linear-gradient(180deg, #ffffff 0%, #f3fffb 100%);
}

body.page-balicky .profile-billing-package-premium {
  background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
}

body.page-balicky .profile-billing-package-top {
  display: grid;
  gap: 14px;
}

body.page-balicky .profile-billing-package-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-balicky .profile-billing-package-tier,
body.page-balicky .profile-billing-package-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.page-balicky .profile-billing-package-tier {
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #475569;
}

body.page-balicky .profile-billing-package-badge {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

body.page-balicky .profile-billing-package-elite .profile-billing-package-badge {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

body.page-balicky .profile-billing-package-premium .profile-billing-package-badge {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

body.page-profil .profile-billing-package-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.page-balicky .profile-billing-package-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body.page-balicky .profile-billing-package-head-copy {
  display: grid;
  gap: 6px;
}

body.page-profil .profile-billing-package-head h4,
body.page-profil .profile-billing-history-head h4,
body.page-balicky .profile-billing-package-head h4,
body.page-balicky .profile-billing-history-head h4 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

body.page-profil .profile-billing-package-head strong {
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 800;
}

body.page-balicky .profile-billing-package-head strong {
  color: #0f172a;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

body.page-balicky .profile-billing-package-duration,
body.page-balicky .profile-billing-package-price span {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

body.page-balicky .profile-billing-package-price {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

body.page-profil .profile-billing-package-text,
body.page-profil .profile-billing-history-head p,
body.page-profil .profile-billing-help,
body.page-balicky .profile-billing-package-text,
body.page-balicky .profile-billing-history-head p,
body.page-balicky .profile-billing-help {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

body.page-profil .profile-billing-package-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

body.page-balicky .profile-billing-package-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

body.page-profil .profile-billing-form {
  display: grid;
  gap: 14px;
}

body.page-balicky .profile-billing-form {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

body.page-balicky .profile-billing-action-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}

body.page-balicky .profile-billing-action-row .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

body.page-balicky .profile-billing-action-row .btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  body.page-balicky .profile-billing-action-row {
    flex-direction: column;
  }
}

body.page-balicky .profile-billing-form .btn {
  min-height: 46px;
}

body.page-balicky .profile-billing-instructions-full {
  gap: 16px;
}

body.page-profil .profile-billing-instruction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-balicky .profile-billing-instruction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-profil .profile-billing-instruction-grid > div {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
}

body.page-balicky .profile-billing-instruction-grid > div {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
}

body.page-profil .profile-billing-instruction-grid span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.page-balicky .profile-billing-instruction-grid span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.page-profil .profile-billing-instruction-grid strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  word-break: break-word;
}

body.page-balicky .profile-billing-instruction-grid strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  word-break: break-word;
}

body.page-profil .profile-billing-history {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
  background: #ffffff;
}

body.page-balicky .profile-billing-history {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
  background: #ffffff;
}

body.page-profil .profile-billing-history-head {
  display: grid;
  gap: 4px;
}

body.page-balicky .profile-billing-history-head {
  display: grid;
  gap: 4px;
}

body.page-profil .profile-billing-empty {
  padding: 16px 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-balicky .profile-billing-empty {
  padding: 16px 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-profil .profile-billing-history-list {
  display: grid;
  gap: 10px;
}

body.page-balicky .profile-billing-history-list {
  display: grid;
  gap: 10px;
}

body.page-profil .profile-billing-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-balicky .profile-billing-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-profil .profile-billing-history-main,
body.page-profil .profile-billing-history-side {
  display: grid;
  gap: 5px;
}

body.page-balicky .profile-billing-history-main,
body.page-balicky .profile-billing-history-side {
  display: grid;
  gap: 5px;
}

body.page-profil .profile-billing-history-main strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

body.page-balicky .profile-billing-history-main strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

body.page-profil .profile-billing-history-main span,
body.page-profil .profile-billing-history-side span,
body.page-balicky .profile-billing-history-main span,
body.page-balicky .profile-billing-history-side span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

body.page-profil .profile-billing-history-side {
  justify-items: end;
  text-align: right;
}

body.page-balicky .profile-billing-history-side {
  justify-items: end;
  text-align: right;
}

body.page-moje-objednavky .profile-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding: 8px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

body.page-moje-objednavky .profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

body.page-moje-objednavky .profile-hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-moje-objednavky .profile-hero-title {
  margin: 8px 0 6px;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
}

body.page-moje-objednavky .profile-hero-text {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.62;
}

body.page-moje-objednavky .profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body.page-moje-objednavky .profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

body.page-moje-objednavky .profile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

body.page-moje-objednavky .profile-hero-actions .btn {
  width: 100%;
}

body.page-moje-objednavky .profile-billing-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

body.page-moje-objednavky .profile-billing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid #e5edf6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-moje-objednavky .profile-billing-copy,
body.page-moje-objednavky .profile-billing-history-head {
  display: grid;
  gap: 6px;
}

body.page-moje-objednavky .profile-billing-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-moje-objednavky .profile-billing-text,
body.page-moje-objednavky .profile-billing-history-head p {
  margin: 0;
  max-width: 760px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.62;
}

body.page-moje-objednavky .profile-billing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid #e5edf6;
  background: #ffffff;
}

body.page-moje-objednavky .profile-billing-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-moje-objednavky .profile-billing-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

body.page-moje-objednavky .profile-billing-status-pill.tone-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

body.page-moje-objednavky .profile-billing-status-pill.tone-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

body.page-moje-objednavky .profile-billing-status-pill.tone-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

body.page-moje-objednavky .profile-billing-status-pill.tone-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

body.page-moje-objednavky .profile-billing-status-pill.tone-slate {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

body.page-moje-objednavky .profile-billing-history {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
  background: #ffffff;
}

body.page-moje-objednavky .profile-billing-empty {
  padding: 16px 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-moje-objednavky .profile-billing-history-list {
  display: grid;
  gap: 10px;
}

body.page-moje-objednavky .profile-billing-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e5edf6;
  background: #f8fbff;
}

body.page-moje-objednavky .profile-billing-history-main,
body.page-moje-objednavky .profile-billing-history-side {
  display: grid;
  gap: 5px;
}

body.page-moje-objednavky .profile-billing-history-main strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

body.page-moje-objednavky .profile-billing-history-main span,
body.page-moje-objednavky .profile-billing-history-side span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

body.page-moje-objednavky .profile-billing-history-side {
  justify-items: end;
  text-align: right;
}

body.page-balicky.modal-open,
body.page-moje-objednavky.modal-open {
  overflow: hidden;
}

body.page-balicky .profile-billing-transfer-card {
  gap: 16px;
}

body.page-balicky .profile-billing-transfer-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 10px;
}

body.page-balicky .profile-billing-transfer-summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-balicky .profile-billing-transfer-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.page-balicky .profile-billing-transfer-actions .profile-billing-form,
body.page-balicky .profile-billing-transfer-actions .btn {
  width: 100%;
}

body.page-balicky .billing-transfer-modal,
body.page-moje-objednavky .billing-transfer-modal {
  position: fixed !important;
  inset: 0 !important;
  display: flex;
  align-items: flex-start !important;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2147483646 !important;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
}

body.page-balicky .billing-transfer-modal-content,
body.page-moje-objednavky .billing-transfer-modal-content {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

body.page-balicky .billing-transfer-modal-header,
body.page-moje-objednavky .billing-transfer-modal-header {
  margin: 0;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #e8eef6;
}

body.page-balicky .billing-transfer-modal-close,
body.page-moje-objednavky .billing-transfer-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe4f0 !important;
}

body.page-balicky .billing-transfer-modal-body,
body.page-moje-objednavky .billing-transfer-modal-body {
  display: grid;
  gap: 18px;
  padding: 0 28px 28px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.page-moje-objednavky .profile-billing-instruction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-moje-objednavky .profile-billing-instruction-grid > div {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
}

body.page-moje-objednavky .profile-billing-instruction-grid span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.page-moje-objednavky .profile-billing-instruction-grid strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  word-break: break-word;
}

@media (max-width: 1024px) {
  body.page-moje-objednavky .profile-hero {
    grid-template-columns: 1fr;
  }

  body.page-moje-objednavky .profile-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.page-moje-objednavky .profile-hero-actions .btn {
    width: auto;
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  body.page-moje-objednavky .profile-hero-actions {
    flex-direction: column;
  }

  body.page-moje-objednavky .profile-hero-actions .btn {
    width: 100%;
    flex: none;
  }

  body.page-moje-objednavky .profile-billing-head,
  body.page-moje-objednavky .profile-billing-history-item {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-moje-objednavky .profile-billing-meta,
  body.page-moje-objednavky .profile-billing-history {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.page-moje-objednavky .profile-billing-history-side {
    justify-items: start;
    text-align: left;
  }

  body.page-moje-objednavky .profile-billing-instruction-grid {
    grid-template-columns: 1fr;
  }

  body.page-balicky .profile-billing-transfer-actions {
    grid-template-columns: 1fr;
  }

  body.page-balicky .billing-transfer-modal,
  body.page-moje-objednavky .billing-transfer-modal {
    padding: 14px;
  }

  body.page-balicky .billing-transfer-modal-content,
  body.page-moje-objednavky .billing-transfer-modal-content {
    width: min(100vw - 16px, 760px);
  }

  body.page-balicky .billing-transfer-modal-header,
  body.page-balicky .billing-transfer-modal-body,
  body.page-moje-objednavky .billing-transfer-modal-header,
  body.page-moje-objednavky .billing-transfer-modal-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

body.page-administrator-index .admin-index-billing-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5edf6;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.page-administrator-index .admin-index-billing-list {
  display: grid;
  gap: 14px;
}

body.page-administrator-index .admin-index-billing-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-administrator-index .admin-index-billing-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body.page-administrator-index .admin-index-billing-copy h4 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

body.page-administrator-index .admin-index-billing-copy p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-administrator-index .admin-index-billing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

body.page-administrator-index .admin-index-billing-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #e5edf6;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-administrator-index .admin-index-billing-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr);
  gap: 12px;
  align-items: start;
}

body.page-administrator-index .admin-index-billing-status-form {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 10px;
}

body.page-administrator-index .admin-index-billing-status-form .btn,
body.page-administrator-index .admin-index-billing-approve-form .btn,
body.page-administrator-index .admin-index-billing-actions > .btn {
  width: 100%;
}

body.page-administrator-user .admin-user-billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.page-administrator-user .admin-user-billing-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-administrator-user .admin-user-billing-state-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.page-administrator-user .admin-user-info-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-administrator-user .admin-user-billing-form,
body.page-administrator-user .admin-user-billing-order-list {
  display: grid;
  gap: 12px;
}

body.page-administrator-user .admin-user-billing-empty {
  padding: 16px;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-administrator-user .admin-user-billing-order {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
}

body.page-administrator-user .admin-user-billing-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.page-administrator-user .admin-user-billing-order-head strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

body.page-administrator-user .admin-user-billing-order-head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

body.page-administrator-user .admin-user-billing-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

body.page-administrator-user .admin-user-billing-order-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

body.page-administrator-user .admin-user-billing-order-actions {
  display: grid;
  gap: 10px;
}

body.page-administrator-user .admin-user-billing-order-form {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) auto;
  gap: 10px;
}

body.page-administrator-user .admin-user-billing-order-form .btn,
body.page-administrator-user .admin-user-billing-order-approve .btn {
  width: 100%;
}

body.page-administrator-user.modal-open {
  overflow: hidden;
}

body.page-administrator-user .admin-user-billing-modal {
  position: fixed !important;
  inset: 0 !important;
  display: flex;
  align-items: flex-start !important;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2147483646 !important;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
}

body.page-administrator-user .admin-user-billing-modal-content {
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

body.page-administrator-user .admin-user-billing-modal-header {
  margin: 0;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #e8eef6;
}

body.page-administrator-user .admin-user-billing-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe4f0 !important;
}

body.page-administrator-user .admin-user-billing-modal-body {
  display: grid;
  gap: 18px;
  padding: 0 28px 28px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.page-administrator-user .admin-user-billing-modal-body .admin-user-billing-grid {
  align-items: start;
}

body.page-administrator-platby {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 30%),
    linear-gradient(180deg, #eef4fb 0%, #f6f8fc 220px, #f4f7fb 100%);
}

body.page-administrator-platby .main-content {
  padding: 28px !important;
  background: transparent;
}

body.page-administrator-platby .admin-index-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-height: calc(100vh - 56px);
  padding: 28px !important;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

body.page-administrator-platby .admin-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92) 58%, rgba(26, 179, 148, 0.78));
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

body.page-administrator-platby .admin-index-hero-main,
body.page-administrator-platby .admin-index-hero-actions {
  min-width: 0;
}

body.page-administrator-platby .admin-index-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-administrator-platby .admin-index-title {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.14;
}

body.page-administrator-platby .admin-index-text {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.62;
}

body.page-administrator-platby .admin-index-chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-administrator-platby .admin-index-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.2);
}

body.page-administrator-platby .admin-index-filter-chip {
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.page-administrator-platby .admin-index-filter-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

body.page-administrator-platby .admin-index-filter-chip.is-active {
  color: #0f172a;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

body.page-administrator-platby .admin-index-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

body.page-administrator-platby .admin-index-hero-actions .btn {
  min-width: 220px;
  color: #1e293b !important;
  background: #ffffff !important;
  border-color: rgba(226, 232, 240, 0.92) !important;
}

body.page-administrator-platby .admin-index-hero-actions .btn:hover {
  color: #0f172a !important;
  background: #f8fbff !important;
  border-color: #d6e2f3 !important;
}

body.page-administrator-platby .admin-index-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-administrator-platby .admin-index-table-head-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 420px;
}

body.page-administrator-platby .admin-index-table-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

body.page-administrator-platby .admin-index-table-copy h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

body.page-administrator-platby .admin-index-search-wrap {
  position: relative;
  flex: 0 1 320px;
  min-width: 240px;
  margin-left: auto;
}

body.page-administrator-platby .admin-index-search-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

body.page-administrator-platby .admin-index-search-input {
  width: 100%;
  height: 44px;
  padding-left: 42px;
  border: 1px solid #d6e2f3;
  background: #ffffff;
  box-shadow: none;
}

body.page-administrator-platby .admin-index-search-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.page-administrator-platby .admin-index-table-copy p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

body.page-administrator-platby .admin-index-billing-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

body.page-administrator-platby .admin-index-billing-status.tone-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

body.page-administrator-platby .admin-index-billing-status.tone-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

body.page-administrator-platby .admin-index-billing-status.tone-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

body.page-administrator-platby .admin-index-billing-status.tone-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

body.page-administrator-platby .admin-index-billing-status.tone-slate {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

body.page-administrator-platby .admin-index-billing-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5edf6;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.page-administrator-platby .admin-index-billing-list {
  display: grid;
  gap: 14px;
}

body.page-administrator-platby .admin-index-billing-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-administrator-platby .admin-index-billing-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body.page-administrator-platby .admin-index-billing-copy h4 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

body.page-administrator-platby .admin-index-billing-copy p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.page-administrator-platby .admin-index-billing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

body.page-administrator-platby .admin-index-billing-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #e5edf6;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

body.page-administrator-platby .admin-index-billing-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr);
  gap: 12px;
  align-items: start;
}

body.page-administrator-platby .admin-index-billing-status-form {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 10px;
}

body.page-administrator-platby .admin-index-billing-status-form .btn,
body.page-administrator-platby .admin-index-billing-approve-form .btn,
body.page-administrator-platby .admin-index-billing-actions > .btn {
  width: 100%;
}

body.page-administrator-platby .admin-index-empty-state {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 34px 24px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

body.page-administrator-platby .admin-index-empty-state i {
  font-size: 30px;
  color: #94a3b8;
}

body.page-administrator-platby .admin-index-empty-state p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

body.page-administrator-platby .toast {
  position: fixed;
  top: 86px;
  right: 20px;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  transform: translateX(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

body.page-administrator-platby .toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

body.page-administrator-platby .toast.success {
  border-color: #86efac;
}

body.page-administrator-platby .toast.error {
  border-color: #fca5a5;
}

body.page-administrator-platby .toast-close {
  margin-left: auto;
  border: none;
  background: transparent;
  color: #64748b;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1100px) {
  body.page-profil .profile-billing-grid,
  body.page-administrator-user .admin-user-billing-grid,
  body.page-administrator-index .admin-index-billing-actions,
  body.page-administrator-platby .admin-index-billing-actions {
    grid-template-columns: 1fr;
  }

  body.page-balicky .profile-billing-package-grid {
    grid-template-columns: 1fr;
  }

  body.page-administrator-index .admin-index-billing-status-form,
  body.page-administrator-platby .admin-index-billing-status-form,
  body.page-administrator-user .admin-user-billing-order-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.page-profil .profile-billing-head,
  body.page-profil .profile-billing-history-item,
  body.page-balicky .profile-billing-head,
  body.page-balicky .profile-billing-history-item,
  body.page-administrator-index .admin-index-billing-main,
  body.page-administrator-platby .admin-index-billing-main,
  body.page-administrator-user .admin-user-billing-state-row,
  body.page-administrator-user .admin-user-billing-order-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-profil .profile-billing-meta,
  body.page-profil .profile-billing-grid,
  body.page-profil .profile-billing-history,
  body.page-balicky .profile-billing-meta,
  body.page-balicky .profile-billing-grid,
  body.page-balicky .profile-billing-history {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.page-profil .profile-billing-instruction-grid,
  body.page-balicky .profile-billing-instruction-grid,
  body.page-administrator-user .admin-user-info-grid-compact {
    grid-template-columns: 1fr;
  }

  body.page-balicky .profile-billing-package-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-balicky .profile-billing-package-price {
    justify-items: start;
    text-align: left;
  }

  body.page-administrator-user .admin-user-billing-modal {
    padding: 14px;
  }

  body.page-administrator-user .admin-user-billing-modal-content {
    width: min(100vw - 16px, 1080px);
  }

  body.page-administrator-user .admin-user-billing-modal-header,
  body.page-administrator-user .admin-user-billing-modal-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.page-administrator-platby .main-content {
    padding: 14px !important;
  }

  body.page-administrator-platby .admin-index-shell {
    padding: 16px !important;
    gap: 16px;
  }

  body.page-administrator-platby .admin-index-hero {
    padding: 16px;
    gap: 14px;
  }

  body.page-administrator-platby .admin-index-title {
    font-size: 30px;
  }

  body.page-administrator-platby .admin-index-hero-actions {
    flex-direction: column;
  }

  body.page-administrator-platby .admin-index-table-head {
    padding: 14px;
    align-items: flex-start;
  }

  body.page-administrator-platby .toast {
    top: 76px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  body.page-profil .profile-billing-history-side,
  body.page-balicky .profile-billing-history-side {
    justify-items: start;
    text-align: left;
  }
}

/* Global square config: single source of truth for all controls/widgets */
:root {
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-2xl: 0;
}

body.app-shell.app-shell.app-shell.app-shell *,
body.app-shell.app-shell.app-shell.app-shell *::before,
body.app-shell.app-shell.app-shell.app-shell *::after {
  border-radius: 0 !important;
}

body.app-shell.app-shell.app-shell.app-shell button,
body.app-shell.app-shell.app-shell.app-shell .btn,
body.app-shell.app-shell.app-shell.app-shell [class*="btn"],
body.app-shell.app-shell.app-shell.app-shell [class*="widget"],
body.app-shell.app-shell.app-shell.app-shell [id*="Btn"],
body.app-shell.app-shell.app-shell.app-shell [id*="btn"] {
  border-radius: 0 !important;
}

/* Keep icon toggle style consistent in Settings page */
body.app-shell.page-nastavenia.page-nastavenia .settings-toggle-icon {
  font-size: 32px !important;
  line-height: 1 !important;
  transition: color 0.22s ease, transform 0.22s ease !important;
}

body.app-shell.page-nastavenia.page-nastavenia .settings-toggle .fa-toggle-on.settings-toggle-icon,
body.app-shell.page-nastavenia.page-nastavenia .settings-toggle.is-active .settings-toggle-icon {
  color: #10b981 !important;
}

body.app-shell.page-nastavenia.page-nastavenia .settings-toggle .fa-toggle-off.settings-toggle-icon {
  color: #cbd5e1 !important;
}

/* Sidebar brand refresh: logo + KONTROLKA + subtitle */
body.app-shell.app-shell .sidebar-header {
  position: relative !important;
  padding: 14px 14px 13px !important;
  gap: 10px !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.84) 100%) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
}

body.app-shell.app-shell .sidebar-header::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0) 0%, rgba(96, 165, 250, 0.55) 50%, rgba(59, 130, 246, 0) 100%) !important;
  pointer-events: none !important;
}

body.app-shell.app-shell .sidebar-logo {
  width: 38px !important;
  height: 38px !important;
  padding: 5px !important;
  background: rgba(15, 23, 42, 0.42) !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.24) !important;
}

body.app-shell.app-shell .sidebar-logo img {
  object-fit: contain !important;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.32)) !important;
}

body.app-shell.app-shell .sidebar-title-wrapper {
  min-width: 0 !important;
  gap: 2px !important;
}

body.app-shell.app-shell .sidebar-title {
  color: #f8fafc !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1.15 !important;
}

body.app-shell.app-shell .sidebar-subtitle {
  color: rgba(226, 232, 240, 0.84) !important;
  max-width: 145px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em !important;
}

body.app-shell.app-shell .sidebar.collapsed .sidebar-header {
  padding: 13px 0 !important;
}

body.app-shell.app-shell .sidebar.collapsed .sidebar-logo {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 14px !important;
}

body.app-shell.app-shell .sidebar.collapsed .sidebar-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.08) !important;
  filter: none !important;
}

/* Global fixed breadcrumb-to-hero spacing (settings page baseline) */
body.app-shell #sidebar ~ .main-content .dashboard-shell,
body.app-shell #sidebar ~ .main-content .personal-vehicles-shell,
body.app-shell #sidebar ~ .main-content .friends-shell,
body.app-shell #sidebar ~ .main-content .profile-shell,
body.app-shell #sidebar ~ .main-content .info-shell,
body.app-shell #sidebar ~ .main-content .settings-shell,
body.app-shell #sidebar ~ .main-content .admin-index-shell,
body.app-shell #sidebar ~ .main-content .admin-user-shell,
body.app-shell #sidebar ~ .main-content .sms-page-shell,
body.app-shell #sidebar ~ .main-content .notification-page-shell,
body.app-shell #sidebar ~ .main-content .vehicle-history-shell {
  gap: 8px !important;
  padding-top: 0 !important;
}

body.app-shell #sidebar ~ .main-content .dashboard-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .personal-vehicles-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .friends-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .profile-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .info-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .settings-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .admin-index-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .admin-user-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .sms-page-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .notification-page-shell > .breadcrumb-nav:first-child,
body.app-shell #sidebar ~ .main-content .vehicle-history-shell > .breadcrumb-nav:first-child {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .dashboard-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .personal-vehicles-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .friends-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .profile-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .info-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .settings-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .admin-index-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .admin-user-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .sms-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .notification-hero,
body.app-shell #sidebar ~ .main-content .breadcrumb-nav + .vehicle-history-hero {
  margin-top: 0 !important;
}

body.app-shell #sidebar ~ .main-content .dashboard-hero-main,
body.app-shell #sidebar ~ .main-content .personal-vehicles-hero-main,
body.app-shell #sidebar ~ .main-content .friends-hero-main,
body.app-shell #sidebar ~ .main-content .profile-hero-main,
body.app-shell #sidebar ~ .main-content .info-hero-main,
body.app-shell #sidebar ~ .main-content .settings-hero-main,
body.app-shell #sidebar ~ .main-content .admin-index-hero-main,
body.app-shell #sidebar ~ .main-content .admin-user-hero-main,
body.app-shell #sidebar ~ .main-content .sms-hero-main,
body.app-shell #sidebar ~ .main-content .notification-hero-main {
  margin-top: 0 !important;
}

/* Vehicle share toggle in detail page without widget background */
body.page-zobrazit-vozidlo .vehicle-share-toggle-label {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

/* Hard lock: breadcrumb -> hero spacing exactly same as settings page */
body.page-uvod .dashboard-shell,
body.page-moje-vozidla .personal-vehicles-shell,
body.page-priatelia .friends-shell,
body.page-profil .profile-shell,
body.page-balicky .profile-shell,
body.page-moje-objednavky .profile-shell,
body.page-info .info-shell,
body.page-nastavenia .settings-shell,
body.page-administrator-index .admin-index-shell,
body.page-administrator-platby .admin-index-shell,
body.page-administrator-user .admin-user-shell,
body.page-sms .sms-page-shell,
body.page-expiring .notification-page-shell,
body.page-overdue .notification-page-shell,
body.page-historia-vozidla .vehicle-history-shell {
  gap: 8px !important;
  padding-top: 0 !important;
}

body.page-uvod .dashboard-shell > .breadcrumb-nav:first-child,
body.page-moje-vozidla .personal-vehicles-shell > .breadcrumb-nav:first-child,
body.page-priatelia .friends-shell > .breadcrumb-nav:first-child,
body.page-profil .profile-shell > .breadcrumb-nav:first-child,
body.page-balicky .profile-shell > .breadcrumb-nav:first-child,
body.page-moje-objednavky .profile-shell > .breadcrumb-nav:first-child,
body.page-info .info-shell > .breadcrumb-nav:first-child,
body.page-nastavenia .settings-shell > .breadcrumb-nav:first-child,
body.page-administrator-index .admin-index-shell > .breadcrumb-nav:first-child,
body.page-administrator-platby .admin-index-shell > .breadcrumb-nav:first-child,
body.page-administrator-user .admin-user-shell > .breadcrumb-nav:first-child,
body.page-sms .sms-page-shell > .breadcrumb-nav:first-child,
body.page-expiring .notification-page-shell > .breadcrumb-nav:first-child,
body.page-overdue .notification-page-shell > .breadcrumb-nav:first-child,
body.page-historia-vozidla .vehicle-history-shell > .breadcrumb-nav:first-child {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

body.page-uvod .dashboard-shell > .breadcrumb-nav + .dashboard-hero,
body.page-moje-vozidla .personal-vehicles-shell > .breadcrumb-nav + .personal-vehicles-hero,
body.page-priatelia .friends-shell > .breadcrumb-nav + .friends-hero,
body.page-profil .profile-shell > .breadcrumb-nav + .profile-hero,
body.page-balicky .profile-shell > .breadcrumb-nav + .profile-hero,
body.page-moje-objednavky .profile-shell > .breadcrumb-nav + .profile-hero,
body.page-info .info-shell > .breadcrumb-nav + .info-hero,
body.page-nastavenia .settings-shell > .breadcrumb-nav + .settings-hero,
body.page-administrator-index .admin-index-shell > .breadcrumb-nav + .admin-index-hero,
body.page-administrator-platby .admin-index-shell > .breadcrumb-nav + .admin-index-hero,
body.page-administrator-user .admin-user-shell > .breadcrumb-nav + .admin-user-hero,
body.page-sms .sms-page-shell > .breadcrumb-nav + .sms-hero,
body.page-expiring .notification-page-shell > .breadcrumb-nav + .notification-hero,
body.page-overdue .notification-page-shell > .breadcrumb-nav + .notification-hero,
body.page-historia-vozidla .vehicle-history-shell > .breadcrumb-nav + .vehicle-history-hero {
  margin-top: 0 !important;
}

body.page-zobrazit-vozidlo .notification-completion-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dbe1ea;
  background: #f8fafc;
  border-radius: 0;
  cursor: pointer;
}

body.page-zobrazit-vozidlo .notification-completion-toggle input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .notification-completion-toggle span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-zobrazit-vozidlo .notification-completion-toggle strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .notification-completion-toggle small {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-completion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

body.page-zobrazit-vozidlo .vehicle-completion-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #334155;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.page-zobrazit-vozidlo .vehicle-completion-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: flex-start;
}

body.page-zobrazit-vozidlo .vehicle-completion-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 0;
  font-size: 18px;
}

body.page-zobrazit-vozidlo .vehicle-completion-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .vehicle-completion-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-completion-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

body.page-zobrazit-vozidlo .vehicle-completion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 0 0;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #475569;
}

body.page-zobrazit-vozidlo .vehicle-completion-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-zobrazit-vozidlo .vehicle-completion-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-zobrazit-vozidlo .vehicle-completion-textarea {
  min-height: 104px;
  resize: vertical;
}

body.page-zobrazit-vozidlo .vehicle-completion-form .btn {
  align-self: flex-start;
}

body.page-zobrazit-vozidlo .vehicle-history-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  padding: 20px;
}

body.page-zobrazit-vozidlo .vehicle-history-empty {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0;
}

body.page-zobrazit-vozidlo .vehicle-history-empty i {
  font-size: 24px;
  color: #64748b;
}

body.page-zobrazit-vozidlo .vehicle-history-empty p {
  margin: 0;
  font-size: 14px;
}

body.page-zobrazit-vozidlo .vehicle-history-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-zobrazit-vozidlo .vehicle-history-item {
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #334155;
  background: #f8fafc;
  border-radius: 0;
}

body.page-zobrazit-vozidlo .vehicle-history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.page-zobrazit-vozidlo .vehicle-history-item-head strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

body.page-zobrazit-vozidlo .vehicle-history-item-head span {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

body.page-zobrazit-vozidlo .vehicle-history-item-note {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

@media (max-width: 900px) {
  body.page-zobrazit-vozidlo .vehicle-completion-head {
    grid-template-columns: auto 1fr;
  }

  body.page-zobrazit-vozidlo .vehicle-completion-state {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
}

@media (max-width: 640px) {
  body.page-zobrazit-vozidlo .vehicle-completion-grid {
    grid-template-columns: 1fr;
  }

  body.page-zobrazit-vozidlo .vehicle-history-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

body.page-zobrazit-vozidlo .vehicle-completion-form .btn {
  width: 100%;
  justify-content: center;
}
}

body.page-historia-vozidla .vehicle-history-page-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 2% 1% 2% 2%;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.page-historia-vozidla .vehicle-history-shell {
  overflow: visible;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-historia-vozidla .main-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-historia-vozidla .breadcrumb-nav {
  margin-bottom: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0;
  width: calc(100% + 3rem);
}

body.page-historia-vozidla .breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

body.page-historia-vozidla .breadcrumb li {
  display: flex;
  align-items: center;
}

body.page-historia-vozidla .breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-weight: 400;
}

body.page-historia-vozidla .breadcrumb li a {
  color: #3b82f6;
  text-decoration: none;
}

body.page-historia-vozidla .breadcrumb li.active a {
  color: #6b7280;
  cursor: default;
  text-decoration: none;
}

body.page-historia-vozidla .vehicle-history-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  margin-bottom: 28px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #60a5fa 100%);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  color: #ffffff;
}

body.page-historia-vozidla .vehicle-history-hero::before,
body.page-historia-vozidla .vehicle-history-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.page-historia-vozidla .vehicle-history-hero::before {
  top: -140px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page-historia-vozidla .vehicle-history-hero::after {
  bottom: -150px;
  left: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.22) 0%, rgba(191, 219, 254, 0) 72%);
}

body.page-historia-vozidla .vehicle-history-hero-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 1;
}

body.page-historia-vozidla .vehicle-history-hero-copy {
  flex: 1;
  min-width: 0;
}

body.page-historia-vozidla .vehicle-history-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0;
}

body.page-historia-vozidla .vehicle-history-title {
  margin: 14px 0 8px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

body.page-historia-vozidla .vehicle-history-text {
  margin: 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 15px;
}

body.page-historia-vozidla .vehicle-history-chip-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-historia-vozidla .vehicle-history-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
}

body.page-historia-vozidla .vehicle-history-hero-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
}

body.page-historia-vozidla .vehicle-history-hero-actions .btn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.page-historia-vozidla .vehicle-history-hero-actions .btn:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

body.page-historia-vozidla .vehicle-history-locked-actions {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}

body.page-historia-vozidla .vehicle-history-locked-actions .btn {
  width: 100% !important;
  justify-content: center !important;
}

body.page-zobrazit-vozidlo .section-heading-with-action,
body.page-historia-vozidla .section-heading-with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.page-zobrazit-vozidlo .section-heading-copy,
body.page-historia-vozidla .section-heading-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

body.page-zobrazit-vozidlo .section-heading-actions,
body.page-historia-vozidla .section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

body.page-zobrazit-vozidlo .section-heading-actions .btn,
body.page-historia-vozidla .section-heading-actions .btn {
  white-space: nowrap;
}

body.page-historia-vozidla .section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
}

body.page-historia-vozidla .section-heading-spaced {
  margin-top: 28px;
}

body.page-historia-vozidla .section-heading-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b82f6;
  color: #ffffff;
  border-radius: 0;
  flex-shrink: 0;
}

body.page-historia-vozidla .section-heading-body h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

body.page-historia-vozidla .section-heading-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

body.page-historia-vozidla .vehicle-history-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  padding: 20px;
}

body.page-historia-vozidla .vehicle-history-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

body.page-historia-vozidla .vehicle-history-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-historia-vozidla .vehicle-history-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

body.page-historia-vozidla .vehicle-history-filter-pill:hover {
  color: #0f172a;
  border-color: #c7d8ec;
}

body.page-historia-vozidla .vehicle-history-filter-pill strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.82rem;
}

body.page-historia-vozidla .vehicle-history-filter-pill.is-active {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #93c5fd;
  color: #1d4ed8;
}

body.page-historia-vozidla .vehicle-history-filter-summary {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

body.page-historia-vozidla .vehicle-history-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

body.page-historia-vozidla .vehicle-history-empty i {
  font-size: 24px;
}

body.page-historia-vozidla .vehicle-history-empty p {
  margin: 0;
  font-size: 14px;
}

body.page-historia-vozidla .vehicle-history-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.page-historia-vozidla .vehicle-history-item {
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #334155;
  background: #f8fafc;
  border-radius: 0;
}

body.page-historia-vozidla .vehicle-history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.page-historia-vozidla .vehicle-history-item-head strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

body.page-historia-vozidla .vehicle-history-item-head span {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

body.page-historia-vozidla .vehicle-history-item-note {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

@media (max-width: 900px) {
  body.page-historia-vozidla .vehicle-history-hero-main {
    flex-direction: column;
  }

  body.page-historia-vozidla .vehicle-history-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.page-zobrazit-vozidlo .section-heading-with-action,
  body.page-historia-vozidla .section-heading-with-action {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-zobrazit-vozidlo .section-heading-actions,
  body.page-historia-vozidla .section-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.page-zobrazit-vozidlo .section-heading-actions .btn,
  body.page-historia-vozidla .section-heading-actions .btn,
  body.page-historia-vozidla .vehicle-history-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.page-historia-vozidla .vehicle-history-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-historia-vozidla .vehicle-history-filter-row {
    flex-direction: column;
  }

  body.page-historia-vozidla .vehicle-history-filter-pill {
    width: 100%;
    justify-content: space-between;
  }

  body.page-historia-vozidla .vehicle-history-title {
    font-size: 28px;
  }

  body.page-historia-vozidla .vehicle-history-shell {
    padding: 18px !important;
  }

  body.page-historia-vozidla .vehicle-history-hero {
    padding: 22px 18px;
  }
}

/* Final global lock: no outside gap between breadcrumb and the first page block */
body.page-uvod .dashboard-shell,
body.page-moje-vozidla .personal-vehicles-shell,
body.page-priatelia .friends-shell,
body.page-profil .profile-shell,
body.page-balicky .profile-shell,
body.page-moje-objednavky .profile-shell,
body.page-info .info-shell,
body.page-nastavenia .settings-shell,
body.page-administrator-index .admin-index-shell,
body.page-administrator-platby .admin-index-shell,
body.page-administrator-user .admin-user-shell,
body.page-sms .sms-page-shell,
body.page-expiring .notification-page-shell,
body.page-overdue .notification-page-shell,
body.page-historia-vozidla .vehicle-history-shell,
body.page-zobrazit-vozidlo .animate-fadeIn > .page-card.card-wide {
  display: block !important;
  gap: 0 !important;
}

body.page-uvod .dashboard-shell > * + *,
body.page-moje-vozidla .personal-vehicles-shell > * + *,
body.page-priatelia .friends-shell > * + *,
body.page-profil .profile-shell > * + *,
body.page-balicky .profile-shell > * + *,
body.page-moje-objednavky .profile-shell > * + *,
body.page-info .info-shell > * + *,
body.page-nastavenia .settings-shell > * + *,
body.page-administrator-index .admin-index-shell > * + *,
body.page-administrator-platby .admin-index-shell > * + *,
body.page-administrator-user .admin-user-shell > * + *,
body.page-sms .sms-page-shell > * + *,
body.page-expiring .notification-page-shell > * + *,
body.page-overdue .notification-page-shell > * + *,
body.page-historia-vozidla .vehicle-history-shell > * + *,
body.page-zobrazit-vozidlo .animate-fadeIn > .page-card.card-wide > * + * {
  margin-top: 8px !important;
}

body.page-uvod .dashboard-shell > .breadcrumb-nav:first-child,
body.page-moje-vozidla .personal-vehicles-shell > .breadcrumb-nav:first-child,
body.page-priatelia .friends-shell > .breadcrumb-nav:first-child,
body.page-profil .profile-shell > .breadcrumb-nav:first-child,
body.page-balicky .profile-shell > .breadcrumb-nav:first-child,
body.page-moje-objednavky .profile-shell > .breadcrumb-nav:first-child,
body.page-info .info-shell > .breadcrumb-nav:first-child,
body.page-nastavenia .settings-shell > .breadcrumb-nav:first-child,
body.page-administrator-index .admin-index-shell > .breadcrumb-nav:first-child,
body.page-administrator-platby .admin-index-shell > .breadcrumb-nav:first-child,
body.page-administrator-user .admin-user-shell > .breadcrumb-nav:first-child,
body.page-sms .sms-page-shell > .breadcrumb-nav:first-child,
body.page-expiring .notification-page-shell > .breadcrumb-nav:first-child,
body.page-overdue .notification-page-shell > .breadcrumb-nav:first-child,
body.page-historia-vozidla .vehicle-history-shell > .breadcrumb-nav:first-child,
body.page-zobrazit-vozidlo .animate-fadeIn > .page-card.card-wide > .breadcrumb-nav:first-child {
  margin-bottom: 0 !important;
}

body.page-uvod .dashboard-shell > .breadcrumb-nav + *,
body.page-moje-vozidla .personal-vehicles-shell > .breadcrumb-nav + *,
body.page-priatelia .friends-shell > .breadcrumb-nav + *,
body.page-profil .profile-shell > .breadcrumb-nav + *,
body.page-balicky .profile-shell > .breadcrumb-nav + *,
body.page-moje-objednavky .profile-shell > .breadcrumb-nav + *,
body.page-info .info-shell > .breadcrumb-nav + *,
body.page-nastavenia .settings-shell > .breadcrumb-nav + *,
body.page-administrator-index .admin-index-shell > .breadcrumb-nav + *,
body.page-administrator-platby .admin-index-shell > .breadcrumb-nav + *,
body.page-administrator-user .admin-user-shell > .breadcrumb-nav + *,
body.page-sms .sms-page-shell > .breadcrumb-nav + *,
body.page-expiring .notification-page-shell > .breadcrumb-nav + *,
body.page-overdue .notification-page-shell > .breadcrumb-nav + *,
body.page-historia-vozidla .vehicle-history-shell > .breadcrumb-nav + *,
body.page-zobrazit-vozidlo .animate-fadeIn > .page-card.card-wide > .breadcrumb-nav + * {
  margin-top: -8px !important;
}

/* Final dashboard-only top alignment: breadcrumb sits flush at top like other pages */
body.app-shell #sidebar ~ .main-content.dashboard-content {
  margin-top: var(--header-height) !important;
  padding-top: 0 !important;
}

body.app-shell #sidebar ~ .main-content.dashboard-content > .animate-fadeIn {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.app-shell #sidebar ~ .main-content.dashboard-content > .animate-fadeIn > .page-card.card-wide.dashboard-shell {
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - var(--header-height)) !important;
  padding: 0 !important;
}

body.app-shell #sidebar ~ .main-content.dashboard-content > .animate-fadeIn > .page-card.card-wide.dashboard-shell > .breadcrumb-nav:first-child {
  margin-top: 0 !important;
}

/* Compact account status in the sidebar */
body.app-shell .sidebar .nav-list {
  padding-bottom: 150px !important;
}

body.app-shell .sidebar-account-status {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 40px !important;
  z-index: 1002 !important;
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
  color: #e5edf7 !important;
}

body.app-shell .sidebar-account-title {
  display: grid !important;
  gap: 4px !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
}

body.app-shell .sidebar-account-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #93c5fd !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.app-shell .sidebar-account-label::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #60a5fa !important;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14) !important;
  flex: 0 0 auto !important;
}

body.app-shell .sidebar-account-title strong {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
}

body.app-shell .sidebar-account-title::before {
  display: none !important;
}

body.app-shell .sidebar-account-pills {
  display: grid !important;
  gap: 6px !important;
}

body.app-shell .sidebar-account-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
  min-height: 28px !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.48) !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  box-sizing: border-box !important;
}

body.app-shell .sidebar-account-pill i {
  width: 14px !important;
  text-align: center !important;
  font-size: 11px !important;
}

body.app-shell .sidebar-account-pill.is-enabled {
  border-color: rgba(74, 222, 128, 0.24) !important;
  background: rgba(22, 101, 52, 0.24) !important;
  color: #bbf7d0 !important;
}

body.app-shell .sidebar-account-pill.is-disabled {
  border-color: rgba(251, 146, 60, 0.26) !important;
  background: rgba(154, 52, 18, 0.20) !important;
  color: #fed7aa !important;
}

body.app-shell .sidebar.collapsed .sidebar-account-status,
body.app-shell:has(.sidebar.collapsed) .sidebar-account-status {
  display: none !important;
}

body.app-shell .sidebar-account-status + .sidebar-version {
  bottom: 12px !important;
}

/* Unified auth pages refresh */
body.auth-page {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18) 0%, transparent 34%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.14) 0%, transparent 32%),
    linear-gradient(140deg, #e2e8f0 0%, #cbd5e1 45%, #94a3b8 100%) !important;
  padding: 24px !important;
}

body.auth-page::before,
body.auth-page::after {
  background: none !important;
}

body.auth-page .login-container {
  max-width: 1180px !important;
  min-height: 620px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12) !important;
  backdrop-filter: none !important;
}

body.auth-page .login-form-panel {
  width: 48% !important;
  padding: 32px 32px !important;
  justify-content: flex-start !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

body.auth-page .cyberpunk-bg-panel {
  width: 52% !important;
  padding: 30px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.56) 0%, rgba(30, 41, 59, 0.36) 100%),
    url('https://images.unsplash.com/photo-1493238792000-8113da705763?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Y2FyJTIwd2FsbHBhcGVyfGVufDB8fDB8fHww&fm=jpg&q=60&w=3000') center/cover no-repeat !important;
}

body.auth-page .cyberpunk-bg-panel::before,
body.auth-page .cyberpunk-bg-panel::after {
  display: none !important;
}

body.auth-page .login-header {
  margin-bottom: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.auth-page .login-logo {
  width: 52px !important;
  height: 52px !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22) !important;
}

body.auth-page .login-title {
  font-size: clamp(1.55rem, 1.95vw, 1.95rem) !important;
  color: #0f172a !important;
}

body.auth-page .login-subtitle {
  font-size: 0.88rem !important;
  color: #64748b !important;
  max-width: 520px;
}

body.auth-page .auth-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.auth-page .auth-inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.45;
}

body.auth-page .auth-inline-note i {
  color: #2563eb;
  margin-top: 2px;
}

body.auth-page .auth-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

body.auth-page .auth-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #64748b;
}

body.auth-page .auth-step span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

body.auth-page .auth-step strong {
  font-size: 0.78rem;
  line-height: 1.35;
}

body.auth-page .auth-step.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

body.auth-page .auth-step.is-active span {
  background: #2563eb;
  color: #ffffff;
}

body.auth-page .auth-step.is-complete {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

body.auth-page .auth-step.is-complete span {
  background: #10b981;
  color: #ffffff;
}

body.auth-page .form-group {
  margin-bottom: 12px !important;
}

body.auth-page .form-input {
  border-radius: 0 !important;
  border-width: 1px !important;
  min-height: 44px;
  padding: 11px 14px !important;
  font-size: 0.88rem !important;
}

body.auth-page .password-input-wrapper .form-input {
  padding-right: 40px !important;
}

body.auth-page .btn,
body.auth-page .bg-panel-link a,
body.auth-page .error-message,
body.auth-page .success-message,
body.auth-page .info,
body.auth-page .error,
body.auth-page .forgot-message {
  border-radius: 0 !important;
}

body.auth-page .btn {
  min-height: 46px;
  margin-top: 6px !important;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22) !important;
  font-size: 0.88rem !important;
}

body.auth-page .btn:hover {
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.26) !important;
}

body.auth-page .auth-secondary-btn,
body.auth-page a.auth-secondary-btn,
body.auth-page .btn.btn-default {
  background: #ffffff !important;
  color: #1e3a8a !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: none !important;
}

body.auth-page .auth-secondary-btn:hover,
body.auth-page a.auth-secondary-btn:hover,
body.auth-page .btn.btn-default:hover {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

body.auth-page .login-form-panel form .btn:not(.btn-default):not(.auth-secondary-btn),
body.auth-page .login-form-panel form .btn:not(.btn-default):not(.auth-secondary-btn):hover,
body.auth-page .login-form-panel form .btn:not(.btn-default):not(.auth-secondary-btn):focus,
body.auth-page .login-form-panel form .btn:not(.btn-default):not(.auth-secondary-btn):active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  border-color: #2563eb !important;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22) !important;
}

body.auth-page .remember-me-container {
  margin-top: 8px !important;
  margin-bottom: 2px !important;
  font-size: 0.84rem;
}

body.auth-page .toggle-slider {
  background-color: #94a3b8 !important;
}

body.auth-page .toggle-switch input:checked + .toggle-slider {
  background-color: #16a34a !important;
}

body.auth-page .auth-side-panel-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  position: relative;
  z-index: 2;
  width: 100%;
}

body.auth-page .auth-side-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.auth-page .auth-side-title {
  font-size: clamp(1.35rem, 1.85vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

body.auth-page .auth-side-text {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.55;
}

body.auth-page .auth-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.auth-page .auth-side-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

body.auth-page .auth-side-card strong {
  font-size: 0.82rem;
  color: #ffffff;
}

body.auth-page .auth-side-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.45;
}

body.auth-page .bg-panel-links {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: auto !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(280px, 100%) !important;
  align-self: center !important;
}

body.auth-page .bg-panel-link a {
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  font-size: 0.88rem !important;
  padding: 10px 16px !important;
}

body.auth-page .bg-panel-link a:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 1024px) {
  body.auth-page .login-container {
    min-height: auto !important;
  }

  body.auth-page .login-form-panel {
    width: 100% !important;
    padding: 30px 24px !important;
  }

  body.auth-page .auth-stepper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.auth-page {
    padding: 12px !important;
  }

  body.auth-page .login-container {
    display: block !important;
  }

  body.auth-page .login-form-panel {
    width: 100% !important;
    padding: 22px 16px !important;
  }

  body.auth-page .cyberpunk-bg-panel {
    display: none !important;
  }

  body.auth-page .login-title {
    font-size: 1.45rem !important;
  }

  body.auth-page .auth-inline-note {
    font-size: 0.78rem;
  }
}
