/* ============================================================
   ONLINE DOCTOR CORE — GLOBAL UI FOUNDATION
   Scope: Non-Elementor pages & custom components
   Purpose: Colors, basic UI consistency, helpers
   ============================================================ */


/* ------------------------------------------------------------
   DESIGN TOKENS — COLORS
   ------------------------------------------------------------ */
:root {

  /* Primary */
  --color-primary: #E4C96C;

  /* Base */
  --color-black: #000000;
  --color-white: #ffffff;

  /* Text */
  --color-text: #000000;
  --color-heading: #000000;
  --color-muted: #666666;

  /* UI */
  --color-bg-light: #f9f9f9;
  --color-border: #e9e9e9;
}


/* ------------------------------------------------------------
   BASE RESET (SAFE)
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ------------------------------------------------------------
   BASE ELEMENTS (NO TYPOGRAPHY)
   ------------------------------------------------------------ */
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--color-border);
  margin: 24px 0;
}


/* ------------------------------------------------------------
   LINKS (COLOR ONLY)
   ------------------------------------------------------------ */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}


/* ------------------------------------------------------------
   BACKGROUNDS & BORDERS
   ------------------------------------------------------------ */
.bg-light {
  background-color: var(--color-bg-light);
}

.border {
  border: 1px solid var(--color-border);
}


/* ------------------------------------------------------------
   UTILITIES (OPTIONAL, SAFE)
   ------------------------------------------------------------ */
.text-muted {
  color: var(--color-muted);
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}


/* ======================================================
   PRETTY YOU – PACKAGE INACTIVE (GLOBAL BLOCK)
   ====================================================== */

/* Dim everything Amelia-related */
.pyod-package-inactive .amelia-app-booking,
.pyod-package-inactive .am-advsc,
.pyod-package-inactive [class*="amelia"],
.pyod-package-inactive [class*="am-"] {
    pointer-events: none !important;
    opacity: 0.35 !important;
}

/* Full-page warning bar */
.pyod-package-inactive::before {
    content: "Your package is not active. Please renew to book appointments.";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #b00000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 14px;
    z-index: 999999;
}


/* Membership Limits Box */
.py-membership-limits-box {
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}

/* Title */
.py-membership-title {
    display: block;
    margin-bottom: 6px;
}

/* List */
.py-membership-list {
    margin: 8px 0 0 18px;
    padding: 0;
    list-style: disc;
}

/* Item */
.py-membership-item {
    margin-bottom: 8px;
}

/* Main label */
.py-membership-label {
    display: block;
}

/* Schedule line */
.py-membership-schedule {
    margin-top: -5px;
    font-size: 13px;
    color: #000;
}
