/* AvtoMaydon v11: dark green sidebar, consistent vector iconography,
   profile page and mobile navigation. All business styles are inherited. */
:root{--v11-deep:#06382f;--v11-green:#08775b;--v11-mint:#c8ffe4;--v11-gold:#f7c75e}

/* The entire left rail is one cohesive YHXX-inspired dark-green canvas. */
.v10-shell.v11-shell .sidebar{
  background:
    radial-gradient(circle at 0% -6%,rgba(35,223,164,.29),transparent 37%),
    radial-gradient(circle at 125% 59%,rgba(26,194,134,.18),transparent 52%),
    linear-gradient(168deg,#086649 0%,#064738 46%,#032d2c 100%);
  color:#effff8;
  border-right:1px solid #07543f;
  box-shadow:5px 0 32px rgba(1,52,41,.12);
  padding-top:25px;padding-bottom:18px;
  isolation:isolate;
}
.v10-shell.v11-shell .sidebar::before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:repeating-linear-gradient(138deg,transparent 0 92px,rgba(204,255,224,.045) 93px,transparent 94px);
}
.v10-shell.v11-shell .sidebar .brand{display:flex;align-items:center;gap:11px;margin:0 8px 35px;padding:7px 6px;text-decoration:none;position:relative}
.v10-shell.v11-shell .sidebar .brand b{font:800 clamp(22px,1.75vw,26px)/1.1 Manrope,'DM Sans',sans-serif;letter-spacing:-1.2px;color:#fff}
.v10-shell.v11-shell .sidebar .brand small{font:700 9px/1.5 'DM Sans',sans-serif;letter-spacing:2.2px;color:#b7e5d3;margin-top:5px}
.v10-shell.v11-shell .sidebar .v10-site-mark{
  position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;
  border-radius:16px;border:1px solid rgba(229,255,245,.3);
  background:linear-gradient(140deg,rgba(255,255,255,.22),rgba(255,255,255,.045));
  box-shadow:0 8px 22px rgba(0,23,15,.15),inset 0 1px 0 rgba(255,255,255,.19)
}
.v10-shell.v11-shell .sidebar .v10-site-mark svg{width:40px;height:40px}
.v10-shell.v11-shell .sidebar .v10-nav{gap:7px;position:relative}
.v10-shell.v11-shell .sidebar .side-link,
.v10-shell.v11-shell .sidebar .v10-settings-group>summary{
  display:flex;align-items:center;gap:15px;min-height:52px;padding:12px 15px;
  border:1px solid transparent;border-radius:12px;
  color:#e0f5ea;background:transparent;box-shadow:none;
  font:700 13.5px/1.3 'DM Sans',sans-serif;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.v10-shell.v11-shell .sidebar .side-link:hover,
.v10-shell.v11-shell .sidebar .v10-settings-group>summary:hover{
  color:#fff;background:rgba(255,255,255,.11);border-color:rgba(213,255,230,.10);transform:translateX(2px)
}
.v10-shell.v11-shell .sidebar .side-link.active,
.v10-shell.v11-shell .sidebar .v10-settings-group>summary.active{
  color:#063e31;background:linear-gradient(105deg,#edfff6,#d0f8e5);
  box-shadow:0 5px 17px rgba(0,39,23,.17),inset 0 1px 0 rgba(255,255,255,.9);
  border-color:rgba(255,255,255,.9);transform:none
}
.v10-shell.v11-shell .sidebar .side-link.active::before,
.v10-shell.v11-shell .sidebar .v10-settings-group>summary.active::before{
  content:"";position:absolute;left:-15px;top:9px;bottom:9px;width:4px;border-radius:0 5px 5px 0;background:#ffd469;
  box-shadow:0 0 12px rgba(255,212,105,.45)
}
.v10-shell.v11-shell .sidebar .v11-svg-icon{width:21px;height:21px;flex:0 0 21px;stroke:currentColor;stroke-width:2;overflow:visible}
.v10-shell.v11-shell .sidebar .side-link.active .v11-svg-icon{stroke:#007553}
.v10-shell.v11-shell .sidebar .v10-settings-group>summary{list-style:none;cursor:pointer;position:relative}
.v10-shell.v11-shell .sidebar .v10-settings-group>summary::-webkit-details-marker{display:none}
.v10-shell.v11-shell .sidebar .v10-chevron{display:grid;place-items:center;margin-left:auto;line-height:1;transition:transform .2s}
.v10-shell.v11-shell .sidebar .v10-chevron .v11-svg-icon{width:17px;height:17px;flex-basis:17px}
.v10-shell.v11-shell .sidebar .v10-settings-group[open] .v10-chevron{transform:rotate(180deg)}
.v10-shell.v11-shell .v10-submenu,
.v10-shell.v11-shell .v11-vehicle-submenu{
  background:rgba(0,30,23,.18);border:1px solid rgba(209,255,231,.1);
  border-radius:12px;margin:2px 3px 7px 23px;padding:5px 5px 5px 9px;position:relative
}
.v10-shell.v11-shell .v10-submenu::before,
.v10-shell.v11-shell .v11-vehicle-submenu::before{
  content:"";position:absolute;top:8px;bottom:8px;left:4px;width:1px;background:rgba(175,255,223,.23)
}
.v10-shell.v11-shell .v10-submenu .side-link,
.v10-shell.v11-shell .v11-vehicle-submenu .side-link{
  padding:9px 10px;min-height:39px;font-size:12px;gap:10px;border-radius:9px
}
.v10-shell.v11-shell .v10-submenu .side-link .v11-svg-icon,
.v10-shell.v11-shell .v11-vehicle-submenu .side-link .v11-svg-icon{width:18px;height:18px;flex-basis:18px}
.v10-shell.v11-shell .v10-submenu .side-link.active::before,
.v10-shell.v11-shell .v11-vehicle-submenu .side-link.active::before{display:none}

/* The bottom identity card is the entry point to editable personal details. */
.v10-shell.v11-shell .sidebar-bottom{display:grid;gap:9px;margin-top:auto;padding:15px 3px 0;border-top:1px solid rgba(234,255,248,.18)}
.v10-shell.v11-shell .side-profile.v11-profile-link{
  display:flex;align-items:center;gap:11px;padding:12px;
  border:1px solid rgba(229,255,244,.22);border-radius:15px;
  background:linear-gradient(130deg,rgba(255,255,255,.16),rgba(255,255,255,.07));
  color:#fff;text-decoration:none;transition:background .18s,border-color .18s,transform .18s;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)
}
.v10-shell.v11-shell .side-profile.v11-profile-link:hover,
.v10-shell.v11-shell .side-profile.v11-profile-link.active{
  background:rgba(216,255,234,.22);border-color:rgba(235,255,246,.45);transform:translateY(-1px)
}
.v10-shell.v11-shell .side-profile .avatar{
  display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;
  background:linear-gradient(135deg,#edfff5,#b3f4d7);color:#006448;border-radius:12px;
  box-shadow:0 3px 12px rgba(0,42,29,.22);font-size:17px;font-weight:800
}
.v10-shell.v11-shell .v11-profile-meta{flex:1;min-width:0}
.v10-shell.v11-shell .v11-profile-meta b{display:block;color:#fff;font-weight:800;font-size:12px;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v10-shell.v11-shell .v11-profile-meta small{display:block;color:#c0e9d6;font-size:10px;margin-top:3px;white-space:nowrap}
.v10-shell.v11-shell .v11-profile-link>.v11-svg-icon{width:17px;height:17px;flex-basis:17px;color:#c7f7de}
.v10-shell.v11-shell .v11-logout-form{margin:0 4px}
.v10-shell.v11-shell .v11-logout-form button{
  width:100%;min-height:39px;border:1px solid transparent;border-radius:10px;
  background:transparent;color:#d4eee2;display:flex;align-items:center;gap:12px;padding:9px 13px;
  font:600 12px 'DM Sans',sans-serif;cursor:pointer;transition:background .16s
}
.v10-shell.v11-shell .v11-logout-form button:hover{background:rgba(255,255,255,.12);color:white}
.v10-shell.v11-shell .v11-logout-form .v11-svg-icon{width:18px;height:18px}

/* Crisp, scale-independent icons throughout all page actions. */
.v11-shell .btn .v11-svg-icon,.v11-icon-link .v11-svg-icon{width:17px;height:17px;vertical-align:middle;display:inline-block;flex:none}
.v11-shell .btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}
.v11-shell .btn.full{display:flex}
.v11-shell .camera-icon .v11-svg-icon{width:31px;height:31px}
.v11-shell .v10-row-action .v11-svg-icon{width:19px;height:19px}
.v11-shell .v11-icon-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.v11-shell .v11-camera-button::before{
  content:"";display:inline-block;width:17px;height:17px;flex:0 0 17px;
  background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M14 4h-4L8 7H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2-3Z"/%3E%3Ccircle cx="12" cy="13" r="4"/%3E%3C/svg%3E') center/contain no-repeat;
  -webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M14 4h-4L8 7H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2-3Z"/%3E%3Ccircle cx="12" cy="13" r="4"/%3E%3C/svg%3E') center/contain no-repeat
}
.v11-auth-mark{display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.14);color:white;border:1px solid rgba(255,255,255,.3)}
.v11-auth-mark .v11-svg-icon{width:28px;height:28px}
.tg-circle .v11-svg-icon{width:24px;height:24px}

/* Topbar is intentionally absent from every authenticated page. */
.v11-shell .workspace{padding-top:clamp(20px,2.3vw,32px)}
.v11-shell .v11-mobile-menu-toggle{display:none}

/* Personal details and password changes, backed by the existing users table. */
.v11-profile-hero{display:flex;align-items:center;gap:18px;position:relative;overflow:hidden;
  padding:24px 28px;margin:0 0 18px;border:1px solid #0b805b;border-radius:17px;
  background:radial-gradient(circle at 86% -22%,rgba(66,237,168,.4),transparent 44%),linear-gradient(110deg,#004b39 0%,#007459 100%);
  color:white;box-shadow:0 11px 26px rgba(3,91,62,.13)
}
.v11-profile-hero::after{content:"";position:absolute;right:13%;top:-100%;width:280px;height:280px;border:1px solid rgba(208,255,237,.15);border-radius:50%;pointer-events:none}
.v11-profile-hero-icon{display:grid;place-items:center;flex:0 0 67px;width:67px;height:67px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(255,255,255,.13)}
.v11-profile-hero-icon .v11-svg-icon{width:36px;height:36px}
.v11-profile-overline{font-size:10px;font-weight:800;color:#b6f1d8;letter-spacing:2.1px}
.v11-profile-hero h2{margin:5px 0 4px;color:#fff;font:800 clamp(21px,2.1vw,27px) Manrope,sans-serif}
.v11-profile-hero p{color:#d0f9e5;font-size:12px;margin:0}
.v11-profile-secure{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:40px;padding:9px 12px}
.v11-profile-secure .v11-svg-icon{width:17px;height:17px}
.v11-profile-grid{align-items:start;gap:18px}
.v11-profile-grid>.panel,.v11-profile-right>.panel{border:1px solid #d9ece3;border-radius:15px;box-shadow:0 6px 23px rgba(4,73,49,.045)}
.v11-profile-right{display:grid;gap:18px;min-width:0}
.v11-profile-panel-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:21px}
.v11-profile-panel-title>.v11-svg-icon{width:22px;height:22px;flex:0 0 22px;color:#009267;margin-top:3px}
.v11-profile-panel-title h3{margin:0 0 3px;color:#123b2d}
.v11-profile-panel-title p{margin:0;color:#779287;font-size:12px}
.v11-profile-grid .panel form{display:grid;gap:11px}
.v11-profile-grid .panel form>label{margin:0;display:grid;gap:7px;font-size:12px;font-weight:700;color:#21483b}
.v11-profile-grid .panel input{margin:0;width:100%;font-size:13px}
.v11-profile-grid .panel .hint{font-size:11px;line-height:1.65;margin:3px 0 7px}
.v11-profile-grid .panel .btn{justify-self:start}
.v11-profile-facts .fact b{max-width:63%;text-align:right}

@media(max-width:850px){
  .v10-shell.v11-shell .sidebar{width:282px;flex:0 0 282px;position:fixed;top:0;left:0;transform:translateX(-110%);z-index:25}
  .v10-shell.v11-shell .sidebar.open{transform:translateX(0)}
  .v11-shell .v11-mobile-menu-toggle{display:grid;place-items:center;position:fixed;top:13px;right:13px;z-index:27;width:43px;height:43px;cursor:pointer;background:#067354;color:#fff;border:1px solid #006448;border-radius:13px;box-shadow:0 6px 22px rgba(3,61,43,.22)}
  .v11-shell .v11-mobile-menu-toggle .v11-svg-icon{width:23px;height:23px}
  .v11-shell .workspace{padding-top:23px}
  .v11-shell .page-heading{padding-right:48px}
  .v11-profile-secure{display:none}
}
@media(max-width:620px){
  .v11-profile-hero{padding:18px;gap:12px}
  .v11-profile-hero-icon{width:52px;height:52px;flex-basis:52px;border-radius:14px}
  .v11-profile-hero-icon .v11-svg-icon{width:29px;height:29px}
  .v11-profile-hero h2{font-size:19px}
  .v11-profile-grid .panel .btn{width:100%}
}
