/*
 * YAMANARA ENTERPRISE UI SKIN
 * v9.9.76.1 — visual-only layer
 * Does not alter business logic, forms, AJAX contracts, or database behavior.
 */
:root {
  --ymn-ent-orange: #f36b21;
  --ymn-ent-orange-deep: #c94d0b;
  --ymn-ent-orange-soft: #fff4ec;
  --ymn-ent-ink: #182230;
  --ymn-ent-muted: #718096;
  --ymn-ent-line: #e8edf3;
  --ymn-ent-surface: #ffffff;
  --ymn-ent-canvas: #f6f8fb;
  --ymn-ent-navy: #132238;
  --ymn-ent-shadow: 0 10px 32px rgba(20, 34, 56, .08);
  --ymn-ent-shadow-soft: 0 3px 14px rgba(20, 34, 56, .06);
  --ymn-ent-radius: 18px;
}

html { background: var(--ymn-ent-canvas); }
body {
  color: var(--ymn-ent-ink);
  background: var(--ymn-ent-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ymn-enterprise-app,
body.ymn-enterprise-app #page,
body.ymn-enterprise-app .site,
body.ymn-enterprise-app .site-content,
body.ymn-android-webview {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ymn-ent-canvas);
}

/* App shells: edge-to-edge without forcing a narrow desktop column. */
.ymn-enterprise-app .ymn-app,
.ymn-enterprise-app .ymn-container,
.ymn-enterprise-app .ymn-dn-wrap,
.ymn-enterprise-app .ymn-svc-wrap,
.ymn-enterprise-app .ymn-doc-portal {
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.ymn-enterprise-app .ymn-container { padding: 26px clamp(14px, 3vw, 42px) 96px; }
.ymn-enterprise-app .ymn-app { padding-bottom: 96px; }
.ymn-enterprise-app .ymn-card,
.ymn-enterprise-app .ymn-property-wrapper,
.ymn-enterprise-app .ymn-prop-card,
.ymn-enterprise-app .ymn-dn-card,
.ymn-enterprise-app .ymn-svc-card {
  border: 1px solid rgba(232, 237, 243, .9);
  border-radius: var(--ymn-ent-radius);
  box-shadow: var(--ymn-ent-shadow-soft);
  background: var(--ymn-ent-surface);
}
.ymn-enterprise-app .ymn-card { padding: clamp(18px, 2.5vw, 28px); }
.ymn-enterprise-app .ymn-card-title {
  color: var(--ymn-ent-ink);
  letter-spacing: -.01em;
  font-weight: 800;
}
.ymn-enterprise-app .ymn-card-title svg,
.ymn-enterprise-app .ymn-section-title svg { color: var(--ymn-ent-orange); }

/* Premium orange/white action language. */
.ymn-enterprise-app .ymn-btn,
.ymn-enterprise-app .ymn-doc-btn,
.ymn-enterprise-app .ymn-dn-btn,
.ymn-enterprise-app button.button-primary {
  border-radius: 12px;
  font-weight: 750;
  letter-spacing: .01em;
  min-height: 46px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ymn-enterprise-app .ymn-btn-primary,
.ymn-enterprise-app .ymn-dn-btn-primary,
.ymn-enterprise-app .ymn-doc-btn.primary {
  background: linear-gradient(135deg, #ff8a3d 0%, var(--ymn-ent-orange) 55%, var(--ymn-ent-orange-deep) 100%);
  box-shadow: 0 8px 20px rgba(243, 107, 33, .24), inset 0 1px rgba(255,255,255,.32);
}
.ymn-enterprise-app .ymn-btn-primary:hover,
.ymn-enterprise-app .ymn-dn-btn-primary:hover,
.ymn-enterprise-app .ymn-doc-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(243, 107, 33, .3), inset 0 1px rgba(255,255,255,.38);
}
.ymn-enterprise-app .ymn-btn-secondary,
.ymn-enterprise-app .ymn-dn-btn-outline,
.ymn-enterprise-app .ymn-doc-btn:not(.primary):not(.success):not(.danger) {
  background: #fff;
  color: var(--ymn-ent-ink);
  border: 1px solid var(--ymn-ent-line);
}

/* Inputs: clean Android Material-like controls. */
.ymn-enterprise-app input:not([type=checkbox]):not([type=radio]):not([type=file]),
.ymn-enterprise-app select,
.ymn-enterprise-app textarea,
.ymn-android-webview input:not([type=checkbox]):not([type=radio]):not([type=file]),
.ymn-android-webview select,
.ymn-android-webview textarea {
  border: 1px solid #dce3ec;
  border-radius: 12px;
  background: #fff;
  color: var(--ymn-ent-ink);
  min-height: 48px;
  box-sizing: border-box;
}
.ymn-enterprise-app input:focus,
.ymn-enterprise-app select:focus,
.ymn-enterprise-app textarea:focus {
  border-color: var(--ymn-ent-orange) !important;
  box-shadow: 0 0 0 4px rgba(243, 107, 33, .13) !important;
  outline: none;
}

/* Property cards feel like a high-end marketplace catalogue. */
.ymn-enterprise-app .ymn-prop-card,
.ymn-enterprise-app .ymn-svc-card { overflow: hidden; }
.ymn-enterprise-app .ymn-prop-card-img,
.ymn-enterprise-app .ymn-svc-card-img { background: linear-gradient(135deg, #fff2e9, #f8fafc); }
.ymn-enterprise-app .ymn-prop-card-img img,
.ymn-enterprise-app .ymn-svc-card-img img { filter: saturate(.98) contrast(1.02); }
.ymn-enterprise-app .ymn-prop-card-body,
.ymn-enterprise-app .ymn-svc-card-body { padding: 18px; }
.ymn-enterprise-app .ymn-prop-card-title,
.ymn-enterprise-app .ymn-svc-card-title { color: var(--ymn-ent-ink); font-weight: 800; }
.ymn-enterprise-app .ymn-prop-card-price,
.ymn-enterprise-app .ymn-svc-price { color: var(--ymn-ent-orange-deep); }
.ymn-enterprise-app .ymn-stat-card {
  border: 1px solid var(--ymn-ent-line);
  border-left: 4px solid var(--ymn-ent-orange);
  border-radius: 16px;
  box-shadow: var(--ymn-ent-shadow-soft);
}

/* Auth screens: centered enterprise identity, clean white canvas. */
.ymn-enterprise-app #ymn-v9971-register-form,
.ymn-enterprise-app .ymn-login-form,
.ymn-enterprise-app .ymn-auth-card {
  border: 1px solid var(--ymn-ent-line);
  border-radius: 22px;
  box-shadow: var(--ymn-ent-shadow);
  background: #fff;
}
.ymn-enterprise-app #ymn-v9971-register-form button[type=submit] { border-radius: 14px; }

/* Fullscreen WebView: remove theme chrome only when the plugin/app shell exists. */
body.ymn-android-webview #wpadminbar,
body.ymn-android-webview .site-header,
body.ymn-android-webview .site-footer,
body.ymn-android-webview .elementor-location-header,
body.ymn-android-webview .elementor-location-footer { display: none !important; }
body.ymn-android-webview #page,
body.ymn-android-webview .site,
body.ymn-android-webview .site-content { margin: 0 !important; padding: 0 !important; width: 100% !important; }
body.ymn-android-webview .ymn-container,
body.ymn-android-webview .ymn-app { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
body.ymn-android-webview .ymn-header,
body.ymn-android-webview .ymn-dn-card.ymn-dn-grad { border-radius: 0 0 24px 24px; }

/* Better touch ergonomics and reduced-motion respect. */
.ymn-enterprise-app a,
.ymn-enterprise-app button,
.ymn-enterprise-app label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ymn-enterprise-app :focus-visible { outline: 3px solid rgba(243, 107, 33, .38); outline-offset: 2px; }
@media (max-width: 640px) {
  .ymn-enterprise-app .ymn-card { border-radius: 16px; }
  .ymn-enterprise-app .ymn-container { padding-left: 12px; padding-right: 12px; }
  .ymn-enterprise-app .ymn-prop-card-actions { gap: 7px; }
  .ymn-enterprise-app .ymn-prop-card-actions .ymn-btn { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ymn-enterprise-app *, .ymn-enterprise-app *::before, .ymn-enterprise-app *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
