/* Tamkeen V2 header / footer on Odoo website pages (generated from v2.css, scoped to .v2-shell).
   Only the shell is styled: the page content keeps Odoo's / the theme's own styles. */
.v2-shell, .v2-shell * { box-sizing: border-box; }
.v2-shell {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', 'Cairo', system-ui, sans-serif;
  direction: rtl; text-align: right; line-height: 1.75; color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.v2-shell p, .v2-shell h4, .v2-shell nav, .v2-shell ul { margin: 0; padding: 0; }
.v2-shell a { color: inherit; text-decoration: none; }
.v2-shell a:hover { text-decoration: none; }
.v2-shell img { max-width: 100%; display: block; }
.v2-shell button { font-family: inherit; cursor: pointer; }
.v2-shell h4 { line-height: 1.4; font-weight: 700; }
/* the v2 header sticks to the top of Odoo's scrolling area */
.v2-shell-top { position: sticky; top: 0; z-index: 1030; }
.v2-shell-top .v2-header { position: relative; }
/* hide the original header / footer when the page is shown inside the v2 design */
.v2-shell-top ~ header#top, .v2-shell-top ~ footer#bottom,
#wrapwrap:has(.v2-shell-top) > header#top, #wrapwrap:has(.v2-shell-top) > footer#bottom { display: none !important; }
:root { --navy: #0c3976;
  --navy-2: #0e538c;
  --blue: #1e5a8e;
  --blue-2: #2b7bb9;
  --blue-3: #1c8fc9;
  --sky: #cfe2f3;
  --sky-soft: #eaf2f9;
  --orange: #f7ab28;
  --orange-2: #e67e22;
  --orange-text: #f0862b;
  --ink: #1a1a1a;
  --ink-2: #3d4a5c;
  --muted: #7b8798;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: #e6eaf0;
  --input: #eef0f3;
  --ok: #2e9e5b;
  --ok-soft: #e4f6ea;
  --danger: #d64545;
  --danger-soft: #fdecec;
  --r-lg: 18px;
  --r-md: 12px;
  --r-pill: 999px;
  --shadow: 0 10px 30px rgba(12, 57, 118, .10);
  --shadow-sm: 0 4px 14px rgba(12, 57, 118, .07);
  --grad-btn: linear-gradient(90deg, #1c8fc9 0%, #0c3976 100%);
  --grad-footer: linear-gradient(to left, #0c3976, #0e538c);
  --grad-hero: linear-gradient(178.92deg, #cfe2f3 0.93%, #cfe2f3 19.78%, #ffffff 72.21%); }
.v2-shell .v2-container { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.v2-shell .v2-header { position: sticky; top: 0; z-index: 60;
  background: #fff;
  box-shadow: 0 2px 14px rgba(12, 57, 118, .06); }
.v2-shell .v2-header .v2-container { display: flex; align-items: center; gap: 30px; height: 86px; }
.v2-shell .v2-logo img { height: 56px; width: auto; }
.v2-shell .v2-nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.v2-shell .v2-nav a { padding: 8px 14px; font-weight: 500; font-size: 15px; color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: .18s; }
.v2-shell .v2-nav a:hover, .v2-shell .v2-nav a.active { color: var(--navy); border-bottom-color: var(--orange); }
.v2-shell .v2-header-actions { display: flex; align-items: center; gap: 12px; }
.v2-shell .v2-icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); font-size: 20px;
  background: transparent; border: 0; transition: .18s; }
.v2-shell .v2-icon-btn:hover { color: var(--blue-2); }
.v2-shell .v2-badge { position: absolute; top: -4px; inset-inline-end: -2px;
  background: var(--orange); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 700; width: 18px; height: 18px;
  display: grid; place-items: center; }
.v2-shell .v2-user { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.v2-shell .v2-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sky); }
.v2-shell .v2-burger { display: none; }
.v2-shell .v2-nav { flex-wrap: nowrap; }
.v2-shell .v2-nav a { white-space: nowrap; }
.v2-shell .v2-dd { position: relative; display: flex; align-items: center; }
.v2-shell .v2-dd > .v2-dd-toggle { padding-inline-end: 4px; }
.v2-shell .v2-dd-btn { border: 0; background: none; color: var(--ink-2); font-size: 11px; padding: 8px 6px 8px 2px; cursor: pointer; }
.v2-shell .v2-dd-menu { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px;
  background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 14px 40px rgba(12, 57, 118, .14);
  flex-direction: column; z-index: 70; }
.v2-shell .v2-dd-menu a { display: block; padding: 9px 14px; border-radius: 8px; border-bottom: 0; font-size: 14px; }
.v2-shell .v2-dd-menu a:hover, .v2-shell .v2-dd-menu a.active { background: var(--sky, #eaf4fb); color: var(--navy); }
.v2-shell .v2-dd-menu .v2-dd { display: block; }
.v2-shell .v2-dd-menu .v2-dd > .v2-dd-toggle { display: block; padding: 9px 14px; border-radius: 8px; border-bottom: 0; font-size: 14px; }
.v2-shell .v2-dd-menu .v2-dd > .v2-dd-btn { position: absolute; top: 6px; inset-inline-end: 6px; transform: rotate(90deg); }
.v2-shell .v2-dd-menu .v2-dd-menu { top: 0; inset-inline-start: 100%; }
@media (hover: hover) and (min-width: 721px) {
  .v2-shell .v2-dd:hover > .v2-dd-menu { display: flex; }
}
.v2-shell .v2-dd.open > .v2-dd-menu { display: flex; }
.v2-shell .v2-dd.open > .v2-dd-btn i { transform: rotate(180deg); }
@media (max-width: 720px) {
  .v2-shell .v2-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .v2-shell .v2-dd { flex-wrap: wrap; }
  .v2-shell .v2-dd > .v2-dd-toggle { flex: 1; }
  .v2-shell .v2-dd-menu, .v2-shell .v2-dd-menu .v2-dd-menu { position: static; box-shadow: none; padding-inline-start: 16px; min-width: 0; flex-basis: 100%; }
  .v2-shell .v2-dd-menu .v2-dd > .v2-dd-btn { position: static; transform: none; }
}
.v2-shell .v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent; transition: .18s; line-height: 1.5; white-space: nowrap; }
.v2-shell .v2-btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 16px rgba(12, 57, 118, .25); }
.v2-shell .v2-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.v2-shell .v2-btn-navy { background: var(--navy); color: #fff; }
.v2-shell .v2-btn-navy:hover { background: var(--navy-2); }
.v2-shell .v2-btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247, 171, 40, .3); }
.v2-shell .v2-btn-orange:hover { background: var(--orange-2); transform: translateY(-1px); }
.v2-shell .v2-btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-2); }
.v2-shell .v2-btn-outline:hover { background: var(--sky-soft); }
.v2-shell .v2-btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.v2-shell .v2-btn-light:hover { border-color: var(--blue-2); color: var(--blue); }
.v2-shell .v2-btn-ghost-white { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.v2-shell .v2-btn-ghost-white:hover { background: rgba(255,255,255,.26); }
.v2-shell .v2-btn-danger { background: var(--danger-soft); color: var(--danger); }
.v2-shell .v2-btn-danger:hover { background: var(--danger); color: #fff; }
.v2-shell .v2-btn-sm { padding: 7px 16px; font-size: 13.5px; border-radius: 8px; }
.v2-shell .v2-btn-lg { padding: 13px 34px; font-size: 16px; border-radius: 12px; }
.v2-shell .v2-btn-block { width: 100%; }
.v2-shell .v2-btn-pill { border-radius: var(--r-pill); }
.v2-shell .v2-hero .v2-container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding-block: 60px 30px; }
.v2-shell .v2-band .v2-btn { margin-top: 22px; }
.v2-shell .v2-side .actions .v2-btn { flex: 1; }
.v2-shell .v2-footer { background: var(--grad-footer); color: #fff; margin-top: 30px; border-radius: 22px 22px 0 0; position: relative; overflow: hidden; }
.v2-shell .v2-footer .deco { position: absolute; width: 180px; height: 180px; opacity: .14; pointer-events: none; }
.v2-shell .v2-footer .deco.a { top: -50px; inset-inline-end: -30px; }
.v2-shell .v2-footer .deco.b { bottom: -60px; inset-inline-start: -40px; width: 240px; height: 240px; }
.v2-shell .v2-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0 28px; position: relative; }
.v2-shell .v2-footer .logo { height: 60px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.v2-shell .v2-footer .about { font-size: 14px; opacity: .92; max-width: 380px; }
.v2-shell .v2-footer h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.v2-shell .v2-footer .top a, .v2-shell .v2-footer .line { display: flex; gap: 10px; align-items: center; font-size: 14px; opacity: .92; margin-bottom: 10px; }
.v2-shell .v2-footer .top a:hover { opacity: 1; text-decoration: underline; }
.v2-shell .v2-footer .line i { width: 16px; text-align: center; }
.v2-shell .v2-footer .bottom { border-top: 1px solid rgba(255,255,255,.3); padding: 20px 0 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; position: relative; }
.v2-shell .v2-social { display: flex; gap: 8px; }
.v2-shell .v2-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center; font-size: 15px; transition: .18s; }
.v2-shell .v2-social a:hover { background: #fff; color: var(--navy); }
.v2-shell .v2-switch-old { background: #fff7e3; color: #8a6a10; text-align: center; font-size: 13px; padding: 7px 14px; }
.v2-shell .v2-switch-old a { font-weight: 700; text-decoration: underline; }
@media (max-width: 1060px) {
  .v2-shell .v2-hero .v2-container { grid-template-columns: 1fr; text-align: center; }
  .v2-shell .v2-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .v2-shell .v2-header .v2-container { height: 72px; gap: 14px; }
  .v2-shell .v2-logo img { height: 44px; }
  .v2-shell .v2-nav { display: none; position: absolute; top: 72px; inset-inline: 0;
    background: #fff; flex-direction: column; padding: 12px; box-shadow: var(--shadow); }
  .v2-shell .v2-nav.open { display: flex; }
  .v2-shell .v2-burger { display: grid; }
  .v2-shell .v2-header-actions .v2-btn { display: none; }
  .v2-shell .v2-footer .top { grid-template-columns: 1fr; }
}

/* mobile: account links inside the menu, one-line test-version strip */
.v2-shell .v2-nav-auth { display: none; }
.v2-shell .v2-switch-old .short { display: none; }
@media (max-width: 720px) {
  .v2-shell .v2-nav-auth { display: flex; gap: 10px; padding: 12px 8px 4px; margin-top: 6px; border-top: 1px solid #e6eaf0; }
  .v2-shell .v2-nav-auth .v2-btn { display: inline-flex !important; flex: 1; }
  .v2-shell .v2-switch-old { font-size: 12px; padding: 5px 10px; }
  .v2-shell .v2-switch-old .long { display: none; }
  .v2-shell .v2-switch-old .short { display: inline; }
}
