/* ==========================================================================
   Easy Systems – WHMCS child theme (parent: Twenty-One)
   Χρώματα από το Avada Global Color Palette του easy.systems (Color 1–8)
   και Inter (self-hosted, όπως στο site – χωρίς Google Fonts).
   ========================================================================== */

/* ---------- Inter (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-greek-500-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-greek-600-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-greek-700-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* Avada Global Color Palette – easy.systems */
  --es-white:        #ffffff;  /* Color 1 */
  --es-light:        #f7f9fc;  /* Color 2 – Light Gray */
  --es-border:       #e6ebf3;  /* Color 3 – Border Gray */
  --es-green:        #149864;  /* Color 4 – top bar, active menu, CTA */
  --es-blue:         #00358c;  /* Color 5 – κύριο μπλε / κουμπιά */
  --es-slate:        #4a5568;  /* Color 6 – δευτερεύον κείμενο */
  --es-navy:         #102040;  /* Color 7 – σκούρο navy / hover */
  --es-ink:          #081630;  /* Color 8 – κείμενο, τίτλοι, footer */

  --es-green-dark:   #0f7a50;
  --es-footer-text:  rgba(255, 255, 255, .78);
  --es-radius:       8px;
  --es-font:         Inter, Arial, Helvetica, sans-serif;
}

/* ---------- Βάση ---------- */
body {
  font-family: var(--es-font);
  color: var(--es-ink);
  background: var(--es-light);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--es-font);
  font-weight: 600;
  color: var(--es-ink);
  letter-spacing: -.015em;
}
.text-muted, small { color: var(--es-slate) !important; }
a { color: var(--es-blue); }
a:hover, a:focus { color: var(--es-green); }

/* ---------- Κουμπιά ---------- */
.btn { font-weight: 600; border-radius: var(--es-radius); }
.btn-primary {
  background-color: var(--es-blue);
  border-color: var(--es-blue);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--es-navy) !important;
  border-color: var(--es-navy) !important;
}
.btn-success {
  background-color: var(--es-green);
  border-color: var(--es-green);
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: var(--es-green-dark) !important;
  border-color: var(--es-green-dark) !important;
}
.btn-outline-primary { color: var(--es-blue); border-color: var(--es-blue); }
.btn-outline-primary:hover { background: var(--es-blue); border-color: var(--es-blue); color: #fff; }

/* ---------- Header του WHMCS (κάτω από το site header) ---------- */
#header .navbar.navbar-light { background: var(--es-white); border-bottom: 1px solid var(--es-border); }
/* Το logo υπάρχει ήδη στο site header – κρύβουμε το δεύτερο του WHMCS */
#header .navbar-brand { display: none !important; }
.main-navbar-wrapper { background: var(--es-ink) !important; }
.main-navbar-wrapper .navbar-nav > li > a,
.main-navbar-wrapper .navbar-nav .nav-link { color: rgba(255, 255, 255, .85) !important; font-weight: 500; }
.main-navbar-wrapper .navbar-nav > li > a:hover,
.main-navbar-wrapper .navbar-nav > li.active > a,
.main-navbar-wrapper .navbar-nav > li > a.active { color: #fff !important; }
.main-navbar-wrapper .navbar-nav > li.active > a,
.main-navbar-wrapper .navbar-nav > li > a.active { box-shadow: inset 0 -3px 0 var(--es-green); }
.main-navbar-wrapper .dropdown-menu a { color: var(--es-ink) !important; }
.main-navbar-wrapper .dropdown-menu a:hover { color: var(--es-green) !important; }
.master-breadcrumb { background: var(--es-white); border-bottom: 1px solid var(--es-border); }

/* ---------- Cards / panels / forms ---------- */
.card, .panel {
  border-color: var(--es-border);
  border-radius: var(--es-radius);
}
.card-header, .panel-heading { background: var(--es-white); border-bottom-color: var(--es-border); }
.primary-content .card { box-shadow: 0 2px 12px rgba(8, 22, 48, .05); }
.list-group-item.active, .list-group-item.active:hover {
  background-color: var(--es-blue);
  border-color: var(--es-blue);
}
.form-control { border-color: var(--es-border); border-radius: var(--es-radius); }
.form-control:focus {
  border-color: var(--es-blue);
  box-shadow: 0 0 0 .2rem rgba(0, 53, 140, .15);
}
.badge-success, .label-success { background-color: var(--es-green); }

/* ---------- Κρύβουμε το default footer του WHMCS (μπαίνει το footer του site) ---------- */
#footer.footer { display: none !important; }

/* ==========================================================================
   Site header (ίδιο με easy.systems) – από το hook easysystems_theme.php
   ========================================================================== */
.es-sitebar { font-family: var(--es-font); background: var(--es-white); }
.es-sitebar__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Πράσινη top bar */
.es-sitebar__top { background: var(--es-green); font-size: 13px; }
.es-sitebar__top .es-sitebar__inner { min-height: 38px; }
.es-sitebar__top a { color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 500; }
.es-sitebar__top a:hover { color: #fff; }
.es-sitebar__contact span { color: rgba(255, 255, 255, .6); margin: 0 8px; }
.es-sitebar__lang a {
  display: inline-block;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 600;
}
.es-sitebar__lang a:hover { background: rgba(255, 255, 255, .15); }

/* Logo + menu */
.es-sitebar__main { border-bottom: 1px solid var(--es-border); }
.es-sitebar__main .es-sitebar__inner { min-height: 86px; }
.es-sitebar__logo img { height: 52px; width: auto; display: block; }
.es-sitebar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 30px; }
.es-sitebar__nav a {
  color: var(--es-ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.es-sitebar__nav a:hover { color: var(--es-green); }
.es-sitebar__nav a.es-cta {
  background: var(--es-green);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--es-radius);
  font-weight: 600;
}
.es-sitebar__nav a.es-cta:hover { background: var(--es-green-dark); color: #fff; }

@media (max-width: 991px) {
  .es-sitebar__main .es-sitebar__inner { flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
  .es-sitebar__nav { gap: 8px 18px; }
  .es-sitebar__nav a { font-size: 15px; }
}
@media (max-width: 575px) {
  .es-hide-sm { display: none !important; }
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.es-footer {
  background: var(--es-ink);
  color: var(--es-footer-text);
  font-family: var(--es-font);
  font-size: 15px;
  margin-top: 48px;
}
.es-footer a { color: var(--es-footer-text); text-decoration: none; }
.es-footer a:hover { color: #fff; }
.es-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 15px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.es-footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.es-footer ul { list-style: none; padding: 0; margin: 0; }
.es-footer li { margin-bottom: 8px; }
.es-footer p { margin: 0 0 10px; }
.es-footer__logo img { height: 72px; width: auto; margin-bottom: 14px; }
.es-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.es-footer__legal a { margin-left: 18px; }
@media (max-width: 991px) {
  .es-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .es-footer__inner { grid-template-columns: 1fr; }
  .es-footer__legal a { margin: 0 14px 0 0; }
}
