/* 1Hosting WHMCS client portal skin. Keep WHMCS logic intact; this file owns the visual layer. */
:root {
  --oh-ink: #171321;
  --oh-muted: #5d5870;
  --oh-soft: #627d98;
  --oh-blue: #673de6;
  --oh-blue-dark: #4d2fb8;
  --oh-cyan: #15b8d5;
  --oh-orange: #00b090;
  --oh-orange-dark: #d96c0e;
  --oh-cloud: #f7fafc;
  --oh-panel: rgba(255, 255, 255, 0.82);
  --oh-border: rgba(217, 226, 236, 0.9);
  --oh-shadow: 0 18px 44px rgba(16, 42, 67, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f7fafc 0%, #eef6fd 48%, #ffffff 100%);
  color: var(--oh-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--oh-blue);
}

a:hover,
a:focus {
  color: var(--oh-blue-dark);
}

.btn,
.btn-primary,
.btn-success,
.btn-action,
.btn-info {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.btn-primary,
.btn-success,
.btn-action,
.btn-info {
  background: var(--oh-blue) !important;
  border-color: var(--oh-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(10, 102, 194, 0.18);
}

.btn-primary:hover,
.btn-success:hover,
.btn-action:hover,
.btn-info:hover,
.btn-primary:focus,
.btn-success:focus,
.btn-action:focus,
.btn-info:focus {
  background: var(--oh-blue-dark) !important;
  border-color: var(--oh-blue-dark) !important;
  color: #ffffff !important;
}

.btn-default {
  border-color: var(--oh-border);
  color: var(--oh-ink);
}

.form-control,
select.form-control,
textarea.form-control {
  border-color: var(--oh-border);
  border-radius: 8px;
  box-shadow: none;
  color: var(--oh-ink);
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: rgba(10, 102, 194, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.12);
}

#header {
  position: sticky !important;
  top: 0;
  z-index: 50 !important;
  border-bottom: 1px solid var(--oh-border) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  box-shadow: 0 10px 26px rgba(16, 42, 67, 0.08);
}

#header .h_top {
  padding: 9px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(217, 226, 236, 0.75);
}

#header .h_top ul {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

#header .h_top ul.pull-right {
  justify-content: flex-end;
}

#header .h_top ul li {
  margin-right: 0 !important;
}

#header .h_top ul li > a,
#header .h_top ul li.cloud-proof span {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  color: var(--oh-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

#header .h_top ul li > a i,
#header .h_top ul li.cloud-proof i {
  color: var(--oh-orange) !important;
}

#header .h_top ul li.primary-action > a.btn,
#header .h_top ul li.clientes a {
  min-height: 36px;
  padding: 8px 16px !important;
  border: 1px solid rgba(10, 102, 194, 0.16) !important;
  border-radius: 999px !important;
  background: var(--oh-blue) !important;
  color: #ffffff !important;
}

#header .h_center,
#header .h_center.fixed-header {
  padding: 14px 0 !important;
  background: transparent !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#header .h_center .logo h1 {
  margin: 0;
  line-height: 1;
}

.oh-client-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--oh-ink);
  text-decoration: none !important;
}

.oh-client-brand__badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10, 102, 194, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 138, 31, 0.96), rgba(10, 102, 194, 0.96));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 102, 194, 0.2);
  font-size: 16px;
  font-weight: 950;
}

.oh-client-brand__word {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.oh-client-brand__word strong {
  color: var(--oh-ink);
  font-size: 23px;
  font-weight: 950;
  letter-spacing: 0;
}

.oh-client-brand__word small {
  color: var(--oh-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.oh-client-brand--footer .oh-client-brand__word strong,
.oh-client-brand--footer .oh-client-brand__word small {
  color: #ffffff;
}

.navbar-main {
  min-height: 40px;
  margin: 2px 0 0;
  border: 0;
  background: transparent;
}

.navbar-main .navbar-nav > li > a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--oh-ink) !important;
  font-size: 14px;
  font-weight: 800;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus,
.navbar-main .navbar-nav > .open > a,
.navbar-main .navbar-nav > .open > a:hover,
.navbar-main .navbar-nav > .open > a:focus {
  background: rgba(10, 102, 194, 0.08) !important;
  color: var(--oh-blue) !important;
}

.navbar-main .navbar-toggle {
  border-color: var(--oh-border);
  border-radius: 8px;
}

.navbar-main .navbar-toggle .icon-bar {
  background: var(--oh-ink);
}

.dropdown-menu {
  border: 1px solid var(--oh-border);
  border-radius: 8px;
  box-shadow: var(--oh-shadow);
}

#home-banner {
  position: relative;
  overflow: hidden;
  padding: 56px 0 46px !important;
  border-bottom: 1px solid var(--oh-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 253, 0.9)),
    linear-gradient(135deg, rgba(10, 102, 194, 0.12), rgba(255, 138, 31, 0.1));
}

#home-banner .portal-eyebrow {
  margin: 0 0 10px;
  color: var(--oh-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

#home-banner h2 {
  max-width: 760px;
  margin: 0 auto 12px;
  color: var(--oh-ink);
  font-size: 38px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
}

#home-banner .portal-subtitle {
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--oh-muted);
  font-size: 16px;
  line-height: 1.65;
}

#home-banner form {
  max-width: 780px;
  margin: 0 auto;
}

#home-banner .input-group {
  overflow: hidden;
  border: 1px solid rgba(217, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--oh-shadow);
}

#home-banner .form-control {
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--oh-ink);
  font-size: 16px;
}

#home-banner .input-group-btn > .btn {
  height: 52px;
  min-width: 108px;
  border-radius: 0;
  font-weight: 900;
}

#home-banner .input-group-btn > .btn.search {
  background: var(--oh-blue);
  border-color: var(--oh-blue);
  color: #ffffff;
}

#home-banner .input-group-btn > .btn.transfer {
  background: var(--oh-orange);
  border-color: var(--oh-orange);
  color: #ffffff;
}

#home-banner .input-group-btn > .btn.search:hover,
#home-banner .input-group-btn > .btn.search:focus {
  background: var(--oh-blue-dark);
  border-color: var(--oh-blue-dark);
}

#home-banner .input-group-btn > .btn.transfer:hover,
#home-banner .input-group-btn > .btn.transfer:focus {
  background: var(--oh-orange-dark);
  border-color: var(--oh-orange-dark);
}

.portal-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 26px auto 0;
}

.portal-proof-grid div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--oh-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.07);
  text-align: left;
}

.portal-proof-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--oh-ink);
  font-size: 15px;
  font-weight: 950;
}

.portal-proof-grid span {
  display: block;
  color: var(--oh-muted);
  font-size: 13px;
  line-height: 1.45;
}

#default-captcha-domainchecker p {
  color: var(--oh-muted);
}

.home-shortcuts {
  background: var(--oh-blue-dark) !important;
  color: #ffffff;
}

.home-shortcuts .lead {
  color: #ffffff;
  font-weight: 900;
}

.home-shortcuts ul li a {
  min-height: 84px;
  color: #ffffff !important;
}

.home-shortcuts ul li a:hover,
.home-shortcuts ul li a:focus {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.home-shortcuts ul li a i {
  color: #ffffff;
}

#main-body {
  padding: 42px 0 54px;
  background: transparent;
}

.main-content,
.sidebar {
  color: var(--oh-ink);
}

.header-lined h1,
.header-lined h2,
.header-lined h3 {
  color: var(--oh-ink) !important;
  font-weight: 900;
  letter-spacing: 0;
}

.panel,
.list-group,
.client-home-panels .panel,
.tiles .tile,
.announcement-single,
.logincontainer,
.domain-pricing .tld-row {
  border: 1px solid var(--oh-border);
  border-radius: 8px !important;
  background: var(--oh-panel);
  box-shadow: 0 12px 30px rgba(16, 42, 67, 0.07);
}

.panel > .panel-heading {
  border-color: var(--oh-border);
  border-radius: 8px 8px 0 0;
  background: rgba(247, 250, 252, 0.86);
  color: var(--oh-ink);
  font-weight: 900;
}

.panel-primary > .panel-heading,
.panel-accent-blue > .panel-heading,
.panel-sidebar > .panel-heading {
  background: var(--oh-blue) !important;
  border-color: var(--oh-blue) !important;
  color: #ffffff !important;
}

.list-group-item {
  border-color: var(--oh-border);
}

.dataTables_wrapper table.table,
.table {
  background: #ffffff;
}

.table > thead > tr > th {
  border-bottom-color: var(--oh-border);
  color: var(--oh-ink);
}

.alert {
  border-radius: 8px;
}

.label,
.badge {
  border-radius: 8px;
}

.f_contacto {
  background: linear-gradient(90deg, var(--oh-blue), var(--oh-cyan)) !important;
}

.f_contacto .box_contact {
  padding: 26px 40px !important;
}

.f_contacto .box_contact .box_perfil {
  padding: 10px !important;
}

.f_contacto .box_contact .box_perfil h4 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  letter-spacing: 0;
}

.f_contacto .box_contact .box_perfil h3 {
  margin: 0 0 8px !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

.f_contacto .box_contact .box_perfil p {
  margin: 0 8px 4px !important;
  color: #ffffff !important;
  font-size: 14px !important;
}

.f_contacto .box_contact .box_perfil a {
  color: #ffffff !important;
}

#footer {
  display: block !important;
  width: 100%;
  padding: 36px 0 !important;
  background: var(--oh-ink) !important;
}

#footer .f_center h5 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 14px !important;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

#footer .f_center ul li {
  color: #bcccdc;
  font-size: 12px;
  line-height: 1.8;
}

#footer .f_center ul li a {
  color: #d9e2ec !important;
  font-size: 12px !important;
}

#footer .f_center ul li a:hover,
#footer .f_center ul li a:focus {
  color: #ffffff !important;
}

.brand-contact {
  margin-top: 14px !important;
}

.f_bottom {
  display: block !important;
  width: 100%;
  background: #081a2b !important;
}

.f_bottom p,
.f_bottom span {
  color: #d9e2ec !important;
}

.trust-badge {
  padding: 6px 10px;
  border: 1px solid rgba(217, 226, 236, 0.28);
  border-radius: 8px;
}

.trust-badge i {
  margin-right: 6px;
  color: var(--oh-orange);
}

.rrss li a {
  color: var(--oh-blue) !important;
}

.rrss li a:hover,
.rrss li a:focus {
  background: var(--oh-blue) !important;
  color: #ffffff !important;
}

.payment-trust-note {
  margin-top: 22px;
  color: var(--oh-muted);
  font-weight: 800;
  text-align: center;
}

.payment-trust-note i {
  margin-right: 6px;
  color: var(--oh-blue);
}

@media screen and (max-width: 991px) {
  #header .h_top ul,
  #header .h_top ul.pull-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  #header .h_center .logo {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  .oh-client-brand {
    justify-content: center;
  }

  .navbar-main .navbar-nav > li > a {
    font-size: 13px;
  }

  .portal-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  #header {
    position: relative !important;
  }

  #header .h_top {
    text-align: center;
  }

  #header .h_top ul.pull-right li {
    width: auto !important;
    margin: 4px 6px !important;
  }

  #header .h_top ul.pull-right li.primary-action {
    width: 100% !important;
  }

  #header .h_top ul.pull-right li.primary-action a.btn {
    width: 100%;
    justify-content: center;
  }

  .oh-client-brand__badge {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .oh-client-brand__word strong {
    font-size: 20px;
  }

  .oh-client-brand__word small {
    font-size: 10px;
  }

  #home-banner {
    padding: 38px 0 40px !important;
  }

  #home-banner h2 {
    font-size: 30px;
  }

  #home-banner .portal-subtitle {
    font-size: 14px;
  }

  #home-banner .input-group,
  #home-banner .input-group .form-control,
  #home-banner .input-group-btn,
  #home-banner .input-group-btn > .btn {
    display: block;
    width: 100%;
  }

  #home-banner .input-group {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  #home-banner .form-control {
    border: 1px solid var(--oh-border);
    background: #ffffff;
  }

  #home-banner .input-group-btn > .btn {
    margin-top: 8px;
    border-radius: 8px;
  }

  .portal-proof-grid {
    grid-template-columns: 1fr;
  }

  .f_contacto .box_contact {
    padding: 20px 10px !important;
  }

  .f_contacto .box_contact .box_perfil h4 {
    font-size: 22px !important;
  }

  .f_contacto .box_contact .box_perfil h3 {
    font-size: 20px !important;
  }

  .trust-badge {
    width: 100%;
  }
}
