/* VervTrust / Verv A2A — consolidated signup stylesheet.
   Theme overrides: set --verv-* custom properties after this file.
   Existing account selectors retained for signup script compatibility. */
:root {
  --verv-text: #191970;
  --verv-primary: #007BFF;
  --verv-gradient: rgba(6, 95, 150, 0.61);
  --verv-active: #004085;
  --verv-gold: #DAA520;
  --verv-gold-hover: #FFBD33;
  --verv-gold-bright: #FFBF00;
  --verv-surface: #ffffff;
  --verv-border: #ADD8E6;
  --verv-surface-tint: #F0F8FF;
  --verv-nav: #304c83;
  --verv-nav-hover: #2D4999;
  --verv-table-text: #324EA8;
  --verv-link: #F0990E;
  --verv-input-highlight: #338EEA;
  --verv-form-border: #3F98F1;
  --verv-link-hover: #003366;
  --verv-gold-soft: #F6D581;
  --verv-nav-border: #003CB3;
  --verv-popup: rgba(6, 95, 150, 0.90);
  --verv-teal: #178D96;
  --verv-menu-hover: #336699;
  --verv-shadow: #06488A;
  --verv-header-shadow: #000080;
  --verv-link-blue: #1E90FF;
  --verv-muted: #DDDDDD;
  --verv-inverse: #FFFFFF;
  --verv-button-shadow: #333333;
  --verv-gold-pale: #FAE6C0;
}

@media (max-width: 450px) {
.buttonV,.buttonVPN {
          max-width:80%;
          max-height:80%;
          font-size:80%;
       }
}

#radio, #logo, #logo2, #logo3, #logo6 {
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border: 0px solid var(--verv-border);
  background: var(--verv-surface-tint);
  border-radius: 0px;
}

#alert1, #alert2, #alert3, #alert4, #alert5, #alert6 {
  border: 0px;
}

#selectAccountFree {
  display: none;
}

#priceTable {
  display: block;
}

h1 {
  text-align: center;
}

/* Verv header video alignment */

#VervHeader {
    width: 100%;
    table-layout: fixed;
}

#VervHeader td {
    width: 50%;
    vertical-align: middle;
    text-align: center;
}

#VervHeader video {
    display: block;
    width: 260px;
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

/* Prevent the video from extending below the banner */


#head_background2 {
  background-image: url("img/spiral3.jpg");
  background-repeat: no-repeat;
  opacity: 95%;
  filter: drop-shadow(0 0mm 0.6rem var(--verv-shadow)) brightness(82%);
  border-radius: 1%;
  background-size: cover;
  background-position: center;
  height: 40vh;
}

#head_background {
  background-image: url("img/spiral3.jpg");
  filter: drop-shadow(0 0mm 0.6rem var(--verv-shadow)) brightness(82%);
  background-repeat: no-repeat;
  opacity: 95%;
  border-radius: 1%;
  background-size: cover;
  background-position: center;
  height: 46vh;
}

.verv-shield {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 28%;
  filter: drop-shadow(0 5px 8px rgba(20, 65, 110, 0.18))
    drop-shadow(0 0 7px rgba(62, 183, 220, 0.14));
}

.verv-shield img {
  display: block;
  width: 100%;
  height: auto;
}

.verv-shield::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 32%;
  height: 180%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.08) 72%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: shield-highlight 9s ease-in-out infinite;
}

@keyframes shield-highlight {
0%,
  68% {
    left: -70%;
    opacity: 0;
  }

  72% {
    opacity: 0.7;
  }

  88% {
    left: 135%;
    opacity: 0.55;
  }

  92%,
  100% {
    left: 135%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
.verv-shield::after {
    animation: none;
    display: none;
  }
}

.simple {
  font-size: 1.9vw;
  text-align: center;
  color: var(--verv-surface);
  padding-left: 10%;
}

#VervHeaderMobile {
  display: none;
}

#whychoose {
  padding-left: 20px !important;
  color: var(--verv-surface);
}

.simpleMobile {
  font-size: 120%;
  text-align: center;
  color: var(--verv-surface);
}

@-webkit-keyframes fadeIn {
from {opacity: 0;} 
     to {opacity: 1;}
}

@keyframes fadeIn {
from {opacity: 0;}
     to {opacity:1 ;}
}

#green {
  color: var(--verv-teal);
}

#yellow {
  color: var(--verv-gold);
}

#vervsafe-only {
  display: none;
}

body {
  background-color: var(--verv-surface);
}

a:link {
  color: var(--verv-link);
  text-decoration: none;
}

a:hover {
  color: var(--verv-link-hover);
  text-decoration: none;
  font-size: 110%;
  background-color: var(--verv-gold-hover);
  transform: scale(1.05);
}

a:active {
  color: var(--verv-gradient);
  text-decoration: none;
  font-size: 110%;
}

html {
  font-family: Inter, Calibri, sans-serif;
  max-width: 80%;
  margin: auto;
  color: var(--verv-text);
  line-height: 1.5em;
}

input:placeholder-shown {
  border: 5px solid var(--verv-input-highlight);
  font-style: italic;
}

label {
  display: inline-block;
  text-align: left;
  margin-left: 3%;
}

select {
  font: inherit;
}

input[type=text], input[type=url], input[type=email], input[type=tel] {
  display: inline-block;
  width: 35%;
  height: 1.7em;
  line-height: 2em;
  border-radius: 0px;
  background-color: var(--verv-surface);
  border: 1px solid var(--verv-border);
}

table {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  overflow: hidden;
}

form {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border: 1px solid var(--verv-form-border);
  background: var(--verv-surface);
  font-size: 100%;
  border-radius: 10px;
  display: none;
}

#radio, #logo, #logo2, #logo3, #PINVStock, #PINVSafe {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border: 0px solid var(--verv-border);
  background: var(--verv-surface);
  border-radius: 0px;
}

#pricing {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  font-size: 100%;
  padding: 0px;
  border: 1px solid var(--verv-table-text);
  background: var(--verv-surface-tint);
  border-radius: 0px;
}

#alert1, #alert2, #alert3 {
  border: 0px;
}

#pricing td, #pricing th {
  border: 1px solid var(--verv-muted);
  padding: 8px;
}

#pricing tr:nth-child(even) {
  background-color: var(--verv-surface);
}

#pricing tr:nth-child(odd) {
  background-color: var(--verv-surface);
}

#pricing tr:hover {
  background-color: var(--verv-muted);
}

#pricing th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  font-size: 100%;
  background-color: var(--verv-surface-tint);
  color: var(--verv-table-text);
}

.buttonV, .buttonVPN, button {
  background-image: linear-gradient(
  to right,
  var(--verv-primary),
  var(--verv-gradient) ,
  var(--verv-gradient) 200%,
var(--verv-gradient) 100%
);
  background-position-x: 0%;
  background-size: 200%;
  text-shadow: 0 1px 1px var(--verv-button-shadow);
  font-family: Calibri;
  color: var(--verv-surface);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  position: relative;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.buttonV::before, .buttonVPN::before, .buttonD::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 3px;
  border: 2px solid var(--verv-surface);
  border-radius: 8px;
}

.buttonV:hover, .buttonVPN:hover, .buttonE:hover, .buttonS:hover, .buttonD:hover {
  background-position-x: 100%;
  transform: scale(1.1);
  background: var(--verv-active);
}

.buttonV:focus, .buttonVPN:focus, .buttonE:focus, .buttonS:focus, .buttonD:hover {
  background-color: var(--verv-active);
}

.buttonV:active, .buttonVPN:active, .buttonE:active, .buttonS:active, .buttonD:active {
  background-color: var(--verv-active);
}

#head_background_new {
  background-image: url("img/spiral3.jpg");
  filter: drop-shadow(0 0mm 0.6rem var(--verv-shadow)) brightness(82%);
  background-repeat: no-repeat;
  opacity: 95%;
  border-radius: 1%;
  background-size: cover;
  background-position: center;
  height: 35vh;
}

#head_background_new_vsafe {
  background-image: url("img/spiral3.jpg");
  filter: drop-shadow(0 0mm 0.6rem var(--verv-shadow)) brightness(82%);
  background-repeat: no-repeat;
  opacity: 95%;
  border-radius: 1%;
  background-size: cover;
  background-position: center;
  height: 40vh;
}

.center {
  text-align: center;
}

#PIN {
  display: none;
}

#PINVSafe {
  display: none;
}

#PINVStock {
  display: none;
}

#VervHeader {
  display: block;
  font-family: "Lato";
  font-size: 2.2vw;
  text-align: center;
  color: var(--verv-gold-hover);
  padding-right: 10%;
  line-height: 1.1em;
  text-shadow: 2px 2px 2px var(--verv-header-shadow);
}

#selEnergy {
  display: none;
}

#selIdentity {
  display: none;
}

#upAccount {
  display: none;
}

#upAnswer {
  display: none;
}

#complete {
  display: none;
}

#configVPN {
  display: none;
}

#loader {
  display: none;
}

.dropbtn {
  border-radius: 49%;
  font-family: "Inter",sans-serif;
  color: var(--verv-surface);
  min-width: 260px;
  min-height: 130px;
  font-size: 2em;
  background: var(--verv-gradient);
  padding: 15px 15px 15px 15px;
  text-decoration: var(--verv-nav-border);
  background-image: url("img/Verviam Spiral Logo no text.png");
  border-style: solid;
  background-size: 300px 154px;
  border-color: var(--verv-nav-border);
  text-align: right;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  border-radius: 10%;
  position: absolute;
  min-width: 250px;
  background-image: linear-gradient(to right,var(--verv-nav),var(--verv-nav),var(--verv-nav),var(--verv-nav),var(--verv-gradient),var(--verv-gold-soft));
  box-shadow: 0px 8px 1rem 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: var(--verv-gold-soft);
  padding: 12px 1rem;
  font-size: 100%;
  text-decoration: none;
  display: block;
  border-radius: 20px;
}

h1, h2, h3 {
  text-align: center;
}

#btnctr {
  text-align: center;
  margin-left: 10%;
  margin-right: 10%;
}

.dropdown-content a:hover {
  background-color: var(--verv-menu-hover);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: var(--verv-nav-hover);
}

.symbol {
  font-family: Unicode;
  font-size: 200%;
  font-weight: bold;
  color: var(--verv-gold-bright);
}

.vervstyle {
  color: var(--verv-gold);
  font-weight: bold;
  font-size: 120%;
}

.simple1 {
  font-size: 2vw;
  color: var(--verv-surface);
}

.forinternetusers {
  color: var(--verv-gold-bright);
  font-size: 1.4vw;
}

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popup .popuptext {
  visibility: hidden;
  font-size: 80%;
  width: 300px;
  background-color: var(--verv-popup);
  color: var(--verv-inverse);
  text-align: left;
  border-radius: 10px;
  padding: 25px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: 5px;
}

.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--verv-nav-hover) transparent transparent transparent;
}

.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 10px;
}

.selectType {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border: 1px solid var(--verv-border);
  background: var(--verv-surface);
  font-size: 100%;
  border-radius: 10px;
}

#kev-title, #kev-open {
  color: var(--verv-gold-pale);
}

#vstock_info {
  display: none;
}

#ID {
  display: none;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
  color: var(--verv-nav-hover);
  line-height: 2.2em;
  font-size: 90%;
}

#ID label {
  display: inline-block;
  margin-right: 0.35rem;
  font-weight: 600;
}

#ID input, #ID select {
  box-sizing: border-box;
  margin-right: 1rem;
}

#email, #firstname, #lastname, #town, #company {
  width: 200px;
}

#psw, #postcode {
  width: 100px;
}

#challenge {
  width: 200px;
}

#q1, #q2, #q3, #q4 {
  width: 180px;
}

#country {
  width: 200px;
  border-radius: 12px;
}

#logo3 {
  width: 100%;
  margin: 0;
}

#ID.verv-stock .vervsafe-only {
  display: none !important;
}

@media (max-width: 700px) {
#ID {
        width: 96%;
        padding: 1rem;
    }

    #ID .form-grid {
        grid-template-columns: 1fr;
    }

    #ID .form-field.full-width,
    #ID .full-width {
        grid-column: auto;
    }

    #ID .pin-field {
        max-width: none;
    }

    #ID .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    #ID .form-logo {
        align-self: center;
    }

    #ID .button-group {
        justify-content: center;
    }
}

input[type=password], input[type=textarea] input[type=number], input[type=number], textarea {
  display: inline-block;
  width: 20%;
  height: 1.7em;
  line-height: 2em;
  border-radius: 0px;
  background-color: var(--verv-surface);
  border: 1px solid var(--verv-border);
}

/* Keyboard navigation */
button:focus-visible, .buttonV:focus-visible, .buttonVPN:focus-visible {
  outline: 2px solid var(--verv-primary);
  outline-offset: 3px;
}

/* Verv A2A header layout */

#head_background,
#head_background2 {
    height: auto;
    min-height: 320px;
    padding: 15px 25px 25px;
    box-sizing: border-box;
}

#VervHeader {
    display: table;
    width: 100%;
    table-layout: fixed;
    padding: 0;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.25;
}

#VervHeader td {
    vertical-align: middle;
    padding: 10px;
}

#VervHeader h1 {
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.2;
    margin: 12px 0;
}

#VervHeader p {
    margin: 10px 0;
}

#VervHeader video {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.dropbtn {
    min-width: 180px;
    min-height: 90px;
    background-size: 100% 100%;
}

#btnctr {
    margin: 0;
}

/* Mobile header */

@media (max-width: 700px) {
    #VervHeader,
    #VervHeader tbody,
    #VervHeader tr,
    #VervHeader td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    #VervHeader {
        font-size: 16px;
    }

    #head_background,
    #head_background2 {
        padding: 12px;
        min-height: 0;
    }
}
