/* Verv A2A paid signup — load AFTER stockstyle.css and styleaccountnew.css.
   Presentation only: preserves legacy IDs, JS bindings and hidden form states. */

   
:root {
  --a2a-navy: #102a43;
  --a2a-blue: #174982;
  --a2a-action: #1479bd;
  --a2a-gold: #f9c85e;
  --a2a-green: #008631;
  --a2a-border: #b7d2e6;
  --a2a-paper: #fff;
  --a2a-tint: #f5f9fc;
}
html { max-width: 100%; font-family: Inter, 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--a2a-navy); }
body { width: min(1200px, calc(100% - 32px)); margin: 16px auto 40px; background: var(--a2a-tint); }
*, *::before, *::after { box-sizing: border-box; }
#head_background_new_vsafe {
  position: relative; height: auto; min-height: 250px; padding: 18px 24px 30px;
  border-radius: 12px; opacity: 1; filter: none;
  background: linear-gradient(105deg, rgba(16,42,67,.90), rgba(16,42,67,.42)), url('img/Modern Blue Glass Skyscrapers.png') center 45% / cover no-repeat, var(--a2a-navy);
  box-shadow: 0 5px 18px #102a4320;
}
#VervHeader { width: 100%; max-width: 100%; padding: 12px 0 0; text-align: center; line-height: 1.3; }
#VervHeader tbody, #VervHeader tr, #VervHeader td { width: 100%; }
#VervHeader .simple1 { font-family: inherit; font-size: clamp(1.5rem, 3vw, 2.4rem); color: white; text-shadow: none; font-weight: 650; }
#VervHeader .forinternetusers { font-family: inherit; font-size: clamp(.95rem, 1.7vw, 1.2rem); color: var(--a2a-gold); font-weight: 400; }
#btnctr { margin: 0; }
#head_background_new_vsafe .dropbtn { min-width: 0; min-height: 0; width: 152px; height: 68px; margin: 0; padding: 5px 10px; background: url('img/Verviam Spiral Logo no text.png') left center / 110px auto no-repeat, var(--a2a-navy); border: 0px solid #ffffff55; border-radius: 10px; }
#head_background_new_vsafe .symbol { font-size: 1.15rem; color: var(--a2a-gold); }
#head_background_new_vsafe .dropdown-content { margin: 0; border-radius: 8px; background: var(--a2a-navy); box-shadow: 0 4px 16px #0003; z-index: 20; }
#head_background_new_vsafe .dropdown-content a { padding: 10px 14px; color: var(--a2a-gold); border-radius: 5px; }
#head_background_new_vsafe .dropdown:focus-within .dropdown-content { display: block; }
#vsafe_info, #ID, #complete, #PIN, #configVPN { margin-top: 18px !important; }
.selectType, #ID, #complete, #configVPN { background: white; background-image: none; border: 1px solid var(--a2a-border); border-radius: 12px; box-shadow: 0 3px 12px #102a430a; filter: none; }
.selectType { padding: 0; }
#selectAccount > div:first-child { border: 0 !important; padding: clamp(16px, 3vw, 30px) !important; }
#selectAccount h2, #ID h2 { color: var(--a2a-blue) !important; font-size: 1.45rem; }
#ID { width: 100%; padding: clamp(14px, 3vw, 28px); font-family: inherit; font-size: 1rem !important; line-height: 1.5; overflow: visible; color: var(--a2a-navy) !important; }
#ID fieldset, #selectAccount fieldset { min-width: 0; border: 1px solid var(--a2a-border) !important; border-radius: 9px !important; background: white; }
#ID legend, #selectAccount legend { color: var(--a2a-blue) !important; font-size: 1.05rem !important; }
#ID table { width: 100%; max-width: 100%; overflow: visible; }
#ID label { margin-left: 0; margin-right: 0; font-weight: 500; }
#ID input:not([type=hidden]):not([type=checkbox]):not([type=radio]), #ID select {
  min-height: 42px; height: auto; max-width: 100%; margin: 0; padding: 9px 12px !important;
  border: 1px solid var(--a2a-border) !important; border-radius: 6px; background: white !important;
  color: var(--a2a-navy) !important; font: inherit; line-height: 1.4;
}
#ID input[type=checkbox], #ID input[type=radio] { accent-color: var(--a2a-action); margin: 0 5px 0 0; }
#ID input:focus, #ID select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--a2a-action); outline-offset: 3px; }
#ID #psw { max-width: 150px; }
#ID #region, #ID #emailReceiver { width: 100%; }
#ID a, #selectAccount a, #complete a { color: var(--a2a-blue); text-decoration: underline; }
#ID a:hover, #selectAccount a:hover, #complete a:hover { background: transparent; color: var(--a2a-action); font-size: inherit; transform: none; }
.buttonV, .buttonVPN { background: var(--a2a-blue); color: white; min-height: 42px; padding: 10px 24px; border: 1px solid var(--a2a-blue); border-radius: 7px; font: inherit; font-weight: 600; text-shadow: none; }
.buttonV::before, .buttonVPN::before { content: none; }
.buttonV:hover, .buttonVPN:hover { background: var(--a2a-navy); transform: none; }
#cancel { background: white; color: var(--a2a-blue); }
#submit3 { margin-left: 0 !important; min-width: 112px; }
#selectAccount .popuptext, #PIN .popuptext { width: min(340px, 76vw); padding: 18px; left: 0; margin-left: 0; background: var(--a2a-navy); z-index: 30; line-height: 1.5; }
#selectAccount .popuptext::after, #PIN .popuptext::after { left: 24px; }
#complete { padding: 20px; }
#logo6 { max-width: 100%; margin-left: 0 !important; }
#configVPN { padding: 20px !important; overflow-wrap: anywhere; }
#configVPN table { max-width: 100%; }
#loader img { display: block; width: 36px; max-width: 100%; padding-left: 0 !important; margin: 16px auto; }
@media (max-width: 700px) {
  body { width: calc(100% - 20px); margin-top: 10px; }
  #head_background_new_vsafe { min-height: 210px; padding: 12px; }
  #selectAccount fieldset > div { grid-template-columns: 1fr !important; }
  #ID fieldset { padding: 12px !important; }
  #ID fieldset table, #ID fieldset tbody, #ID fieldset tr, #ID fieldset td { display: block; width: 100% !important; }
  #ID fieldset td { padding: 4px 0; }
  #ID fieldset table { border-spacing: 0 !important; }
  #ID fieldset input:not([type=hidden]):not([type=checkbox]):not([type=radio]), #ID fieldset select { width: 100% !important; }
  #ID > div[style*="display:flex"], #ID .form-actions { flex-wrap: wrap; gap: 12px; }
  #ID > div[style*="display:flex"] > div { display: flex; flex-wrap: wrap; gap: 8px; }
  #IDSubmit { margin-left: 0 !important; }
  #configVPN input[type=text] { width: 100% !important; }
}
/* Verv A2A registration */

#vsafe_info .a2a-registration {
    box-sizing: border-box;
    padding: 22px;
    border: 1px solid #73baf2;
    border-radius: 10px;
    background: #ffffff;
    color: var(--verv-blue, #04355f);
    line-height: 1.55;
}

#vsafe_info .a2a-title {
    margin: 0 0 18px;
    text-align: center;
    color: #204899;
}


/* Subscription offerings */

#vsafe_info .a2a-offering {
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid #0f86e1;
    border-radius: 10px;
    background: #f4f7fb;
    color: var(--verv-blue, #04355f);
}

#vsafe_info .a2a-offering h3 {
    margin: 0 0 10px;
    color: #04355f;
    font-size: 115%;
    font-weight: 700;
}

#vsafe_info .a2a-offering p {
    margin: 8px 0 0;
    font-size: 105%;
    line-height: 1.65;
}

#vsafe_info .a2a-price {
    margin: 8px 0;
    color: #0f86e1;
    font-size: 130%;
    font-weight: 700;
}

#vsafe_info .a2a-partner-price {
    display: block;
    margin-top: 12px;
    color: #0f86e1;
    font-size: 105%;
    font-weight: 500;
}

/* Subscription benefits */

#vsafe_info .a2a-benefits {
    min-width: 0;
    padding: 18px 22px;
    margin: 0 0 18px;
    border: 1px solid #9acdf3;
    border-radius: 10px;
}

#vsafe_info .a2a-benefits legend {
    padding: 0 10px;
    color: #204899;
    font-size: 115%;
    font-weight: 700;
}

#vsafe_info .a2a-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 30px;
}

#vsafe_info .a2a-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

#vsafe_info .a2a-benefit strong {
    display: block;
    margin-bottom: 3px;
    color: #204899;
}

#vsafe_info .a2a-benefit .benefit-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

#vsafe_info .a2a-stripe-icon {
    width: 42px;
    height: auto;
    flex-shrink: 0;
}

#vsafe_info .a2a-next {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#vsafe_info .a2a-next button {
    margin: 0;
    min-width: 120px;
}

/* Security acknowledgement */

#vsafe_info .a2a-privacy {
    padding: 16px 20px;
    margin-bottom: 18px;
    border-left: 5px solid #008631;
    border-radius: 6px;
    background: #f4fbf7;
    line-height: 1.55;
}

#vsafe_info .a2a-privacy > strong {
    color: #008631;
}

#vsafe_info .a2a-privacy p {
    margin: 7px 0 0;
}

#vsafe_info .a2a-security-popup {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 8px;
    color: #946e14;
    background: white;
    border: 1px solid #e9c26d;
    border-radius: 5px;
    cursor: pointer;
}

/* Getting started */

#vsafe_info .a2a-getting-started {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 18px 0;
}

#vsafe_info .a2a-step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

#vsafe_info .a2a-step img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

#vsafe_info .a2a-footer {
    margin-top: 20px;
    text-align: center;
}

#vsafe_info .a2a-footer img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
}

/* Responsive mobile layout */

@media screen and (max-width: 768px) {

    #vsafe_info .a2a-registration {
        padding: 12px;
    }

    #vsafe_info .a2a-offering {
        padding: 14px 16px;
    }

    #vsafe_info .a2a-benefits {
        padding: 14px;
    }

    #vsafe_info .a2a-benefit-grid,
    #vsafe_info .a2a-getting-started {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #vsafe_info .a2a-next {
        padding: 12px 0;
    }

    #vsafe_info .a2a-next button {
        width: 100%;
    }

    #vsafe_info .a2a-privacy {
        padding: 14px;
    }
}

/* A2A account selection */

#vsafe_info .a2a-account-selection {
    margin: 0 0 18px;
    color: var(--verv-blue, #04355f);
}

#vsafe_info .a2a-selection-title {
    margin-bottom: 12px;
    font-size: 110%;
}
#vsafe_info .a2a-subtitle {
    margin-bottom: 10px;
    font-size: 105%;
}

#vsafe_info .a2a-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 110%;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

#vsafe_info .a2a-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--verv-heading, #204899);
    cursor: pointer;
}

#vsafe_info .a2a-radio input:disabled {
    cursor: default;
}

#vsafe_info .a2a-offering[hidden] {
    display: none !important;
}

/* Automatic scroll destination */

#a2aSubscriptionBenefits {
    scroll-margin-top: 25px;
}

@media screen and (max-width: 768px) {

    #vsafe_info .a2a-radio {
        font-size: 100%;
        gap: 10px;
        padding: 10px 0;
    }

}

#vsafe_info .a2a-registration {
    color: var(--a2a-navy);
    background: var(--a2a-paper);
    border-color: var(--a2a-border);
}

#vsafe_info .a2a-title,
#vsafe_info .a2a-offering h3,
#vsafe_info .a2a-benefits legend,
#vsafe_info .a2a-benefit strong {
    color: var(--a2a-blue);
}

#vsafe_info .a2a-offering {
    color: var(--a2a-navy);
    background: var(--a2a-tint);
    border-color: var(--a2a-action);
}

#vsafe_info .a2a-price,
#vsafe_info .a2a-partner-price {
    color: var(--a2a-action);
}

#vsafe_info .a2a-account-selection {
    color: var(--a2a-navy);
}

#vsafe_info .a2a-radio input[type="radio"] {
    accent-color: var(--a2a-action);
}

#vsafe_info .a2a-benefits {
    border-color: var(--a2a-border);
}

#vsafe_info .a2a-privacy {
    border-left-color: var(--a2a-green);
}

#vsafe_info .a2a-privacy > strong {
    color: var(--a2a-green);
}

#vsafe_info .a2a-offering-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media screen and (max-width: 768px) {
    #vsafe_info .a2a-offering-grid {
        grid-template-columns: 1fr;
    }
}
