/* Tema por atributo */
:root{
  /* default (dark) */
  color-scheme: dark;
  --bg0:#1b1a1d;
  --bg1:#111113;

  --text:#f5f5f7;
  --muted:rgba(245,245,247,.72);
  --muted2:rgba(245,245,247,.60);
  --textbtn:#262222;
  --cardBorder: rgba(255,255,255,.08);
  --cardBgTop: rgba(255,255,255,.05);
  --cardBgBot: rgba(255,255,255,.03);
--imageicon-iphone-dark:url('https://appleid.cdn-apple.com/appleauth/static/bin/cb3525652582/dist/assets/iphone-icon.svg');
  --inputBg: rgba(255,255,255,.035);
  --inputBorder: rgba(255,255,255,.16);
  --inputHolder:  rgba(255,255,255,.16);
  --divider: rgba(255,255,255,.14);
--shadowlogo: 0 18px 45px rgba(0,0,0,.35);
  --shadow: 0 24px 60px rgba(0,0,0,.55);
--theme-color-labelPrimary: hsla(0, 0%, 100%, 0.98);
        --theme-color-labelSecondary: hsla(0, 0%, 100%, 0.66);
        --theme-color-labelTertiary: hsla(0, 0%, 100%, 0.5);
        --theme-color-labelQuaternary: hsla(0, 0%, 100%, 0.42);
        --theme-color-fillPrimary: hsla(0, 0%, 71.4%, 0.3);
        --theme-color-fillSecondary: rgba(120, 120, 128, 0.36);
        --theme-color-fillTertiary: rgba(118, 118, 128, 0.3);
        --theme-color-fillQuaternary: rgba(116, 116, 128, 0.25);
        --theme-color-gray1-h: 240;
        --theme-color-gray1-s: 2.3%;
        --theme-color-gray1-l: 56.7%;
        --theme-color-gray1: hsl(var(--theme-color-gray1-h), var(--theme-color-gray1-s), var(--theme-color-gray1-l));
        --theme-color-gray2: #636366;
        --theme-color-gray3-h: 240;
        --theme-color-gray3-s: 1.4%;
        --theme-color-gray3-l: 29.0%;
        --theme-color-gray3: hsl(var(--theme-color-gray3-h), var(--theme-color-gray3-s), var(--theme-color-gray3-l));
        --theme-color-gray4-h: 240;
        --theme-color-gray4-s: 1.6%;
        --theme-color-gray4-l: 23.9%;
        --theme-color-gray4: hsl(var(--theme-color-gray4-h), var(--theme-color-gray4-s), var(--theme-color-gray4-l));
        --theme-color-gray5-h: 240;
        --theme-color-gray5-s: 1.9%;
        --theme-color-gray5-l: 20.8%;
        --theme-color-gray5: hsl(var(--theme-color-gray5-h), var(--theme-color-gray5-s), var(--theme-color-gray5-l));
        --theme-color-gray6: #2c2c2e;
        --theme-color-systemPink: #ff375f;
        --theme-color-systemRed-h: 358;
        --theme-color-systemRed-s: 100.0%;
        --theme-color-systemRed-l: 59.4%;
        --theme-color-systemRed: hsl(var(--theme-color-systemRed-h), var(--theme-color-systemRed-s), var(--theme-color-systemRed-l));
        --theme-color-systemOrange: #ff9f0a;
        --theme-color-systemYellow: #ffd60a;
        --theme-color-systemGreen: #32d158;
        --theme-color-systemMint: #63e6e2;
        --theme-color-systemTeal: #40c8e0;
        --theme-color-systemCyan: #64d2ff;
        --theme-color-systemBlue: #009aff;
        --theme-color-systemIndigo: #5e5ce6;
        --theme-color-systemPurple: #bf5af2;
        --theme-color-systemBrown: #ac8e68;
        --theme-color-systemBlack: #fff;
        --theme-color-boton: #fff;
        --theme-color-botontext: #000;
        --theme-color-tintCyan: rgba(100, 210, 255, 0.14);
        --theme-color-tintCyanOpaque: #26353e;
        --theme-color-tintBlue: rgba(10, 132, 255, 0.7);
        --theme-color-tintBlueOpaque: #0f64bb;
        --theme-color-tintRed: rgba(244, 10, 10, 0.48);
        --theme-color-tintRedOpaque: #4e0303;
        --theme-color-tintBlueSecondary: rgba(10, 132, 255, 0.28);
        --theme-color-tintBlueSecondaryOpaque: #16395d;
        
        --theme-color-systemBlue: #009aff;
        --theme-color-systemBlack: #fff;

        --bgtophead:linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
}

/* LIGHT */
:root[data-theme="light"]{
  color-scheme: light;
  --bg0:#ffffff;
  --bg1:#ffffff;
    --textbtn:#ffffff;
--theme-color-systemBlack:#000;
  --theme-color-boton: #000;
  --theme-color-botontext: #fff;
--shadowlogo: none;
  --text:#111114;
  --muted:rgba(17,17,20,.70);
  --muted2:rgba(17,17,20,.55);

  --cardBorder: rgba(0,0,0,.10);
  --cardBgTop: rgba(0,0,0,.02);
  --cardBgBot: rgba(0,0,0,.01);
--inputHolder: rgba(42, 42, 42, 0.8);
  --inputBg: rgba(0,0,0,.02);
  --inputBorder: rgba(0,0,0,.18);
  --imageicon-iphone-dark:url('https://appleid.cdn-apple.com/appleauth/static/bin/cb3910871900/dist/assets/iphone-icon-dark.svg');
  --divider: rgba(0,0,0,.12);
--bgtophead:transparent;
  --shadow: 0 24px 60px rgba(0,0,0,.18);
}


:root[data-theme="dark"]{
  --bg0:#1b1a1d;
  --bg1:#111113;
}

:root[data-theme="light"]{
  --bg0:#ffffff;
  --bg1:#ffffff;
}
/* (Opcional) fallback por preferencia del sistema si NO hay data-theme */
@media (prefers-color-scheme: light){
  :root:not([data-theme]){
    color-scheme: light;
  }
}


*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg0);
  color: var(--text);
}

/* Top bar */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 22px;
  z-index:50;
  background:var(--bgtophead);
  backdrop-filter:saturate(120%) blur(6px);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
ui-menu.cloudos-menu a.blue, ui-menu.cloudos-menu ui-menu-item.blue {
    color: var(--theme-color-systemBlue);
}
ui-menu.help-menu.cloudos-menu .cloudos-menu-item {
    white-space: nowrap;
}
.cloudos-menu-item.cloudos-menu-item-link {
    color: #2d97d7;
    text-decoration: none;
}
.layout-box g{
    fill:#2d97d7;
}
ui-menu.cloudos-menu [role=menuitem] svg, ui-menu.cloudos-menu a[role=menuitem] svg {
    color: var(--theme-color-systemBlue);
    fill: currentColor;
}
.cloudos-menu-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.apple-icloud-logo{ display:block; opacity:.95; }
.apple-icloud-logo path{ fill:var(--theme-color-systemBlack); }

/* kebab */
.kebab{
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px; /* separación entre puntitos */
}

.kebab span{
  width:4px;
  height:4px;
  background:#000;
  border-radius:999px;
  display:block;
  margin:0; /* importante: quita el margin vertical */
}
.menu{
  position:fixed;
  top:46px;
  right:1px;
  background:#fff;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  min-width:180px;
  box-shadow: 0 0 13px #e1e1e1;
  transform: translateY(-6px);
  opacity:0;
  pointer-events:none;
  transition: .18s ease;
}
.menu.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.menu a{
  display:block;
  padding:10px 7px 6px;
  border-radius:10px;
  text-decoration:none;
  color:rgba(255,255,255,.92);
  font-size:14px;
}
.menu a:hover{ background:rgba(255,255,255,.08); }

/* Page */
.page{
  padding-top:32px;
  padding-left:16px;
  padding-right:16px;
}

/* Switch de vistas */
.view { width: 100%; }
.view-home.is-hidden { display: none; }
.view-login { display: none; }
.view-login.is-active { display: block; }

.hero{
  max-width:920px;
  margin:0 auto;
  text-align:center;
  padding:14px 0 36px;
}
.iphone-icon {
    background-image: var(--imageicon-iphone-dark);
    background-repeat: no-repeat;
    background-size: contain;
    height: 15px;
    width: 15px;
}
/* Video */
.hero-media {
    width: 660px;
    height: 335px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
}
.hero-video {
    width: 364px;
    height: auto;
    object-fit: cover;
}

.title{
  margin:14px 0 14px;
  font-size:142px;
  letter-spacing:-.03em;
  font-weight:700;
  color: var(--text);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 26px;
  border-radius:999px;
  background:var(--theme-color-boton);
  color:var(--theme-color-botontext);
  text-decoration:none;
  font-weight:600;
  font-size:19px;
  box-shadow: 0 10px 30px rgba(0,0,0,.30);
  border:0;
  cursor:pointer;
}

.subtitle{
  margin:25px auto 28px;
  font-size:38px;
  line-height:1.18;
  font-weight:600;
  letter-spacing:-.015em;
  color: var(--text);
}


.card-text, .footer, .login-note{ color: var(--muted); }
.footer, .footer a{ color: var(--muted2); }

/* tu stack de inputs */
.field-stack{
  background: var(--inputBg);
  border: 1px solid var(--inputBorder);
}
.stack-divider{ background: var(--divider); }
.stack-label{ color: color-mix(in srgb, var(--text) 45%, transparent); }


/* Cards */
.cards{
  width: min(980px, 100%);
  margin: 82px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;                 /* separación como iCloud */
  text-align: left;
}

.card{
  border-radius: 22px;
  padding: 34px 34px 28px;   /* más aire */
  background:  linear-gradient(180deg, var(--cardBgTop), var(--cardBgBot));
  box-shadow:
    0 30px 80px rgba(0,0,0,.40),
    inset 0 1px 0 rgba(255,255,255,.06);
  min-height: 420px;         /* ayuda a que ambas se vean parejas */
}

.card-img{
  width: 330px;              /* más grande como la captura */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;       /* centrada arriba */
  filter: saturate(1.05) contrast(1.04);
}

.card-title{
  margin: 0 0 18px;
  font-size: 25px;           /* título grande */
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card-text{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

/* Responsive: en móvil apila */
@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
  .card{ min-height: auto; }
  .card-title{ font-size: 26px; }
  .card-img{ width: 300px; }
}

/* Footer */
.footer{
  max-width:1120px;
  margin:24px auto 0;
  padding:26px 18px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color: var(--muted2);
  font-size:12px;
}
.footer a{
  color: var(--muted2);
  text-decoration:none;
}
.footer a:hover{ text-decoration:underline; }
.sep{ padding:0 8px; opacity:.55; }

/* LOGIN VIEW */
.view-login{ padding: 30px 0 40px;}

.login-wrap{
  min-height: calc(100vh - 64px - 90px);
  display: grid;
  place-items: center;
}

.login-card{
  width: min(560px, calc(100% - 24px));
  border-radius: 26px;
  padding: 46px 56px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 32px 90px rgba(0,0,0,.55);
  text-align: center;
}

.login-head{ margin-bottom: 18px; }

.login-orbit{
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  border-radius: 999px;
  filter: saturate(1.15);
  position: relative;
  box-shadow:var(--shadowlogo);
}
.login-apple{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size: 30px;
  color: var(--text);
  font-weight: 700;
}

.login-title{
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}

.login-form{
  margin: 22px auto 0;
  width: min(460px, 100%);
  text-align: left;
}

.login-input{
  width: 100%;
  height: 46px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--inputBorder);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.login-input::placeholder{ color: var(--inputHolder); }

.login-link{
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  color: #3aa0ff;
  text-decoration: none;
}
.login-link:hover{ text-decoration: underline; }
.login-link.inline{ display:inline; margin:0; }

.login-people{
    margin: 28px auto 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
  background-image:url('https://appleid.cdn-apple.com/appleauth/static/bin/cb1900903086/dist/assets/privacy-icon.png');
      width: 37px;
    height: 32px;
}

.login-note{
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}

.login-actions{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.login-btn{
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.login-btn.primary {
    background: #0071e3;
    color: #fff;
}
.login-btn.primary:disabled{
  cursor: not-allowed;
  opacity: .65;
}

.login-btn.secondary{
  background:var(--theme-color-boton);
  color:var(--textbtn);
  border-color: var(--theme-color-boton);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.iphone-icon{
  width: 12px; height: 12px;
  border-radius: 3px;
  position: relative;
}


.login-foot{
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--text);
  text-align: right;
}

.login-back{
  margin: 18px auto 0;
  display: block;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  cursor: pointer;
}
.login-back:hover{ color: rgba(255,255,255,.85); }

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Responsive */
@media (max-width: 900px){
  .title{ font-size:56px; }
  .subtitle{ font-size:24px; }
  .footer{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 520px){
  .login-card{ padding: 34px 18px 24px; }
  .login-actions{ grid-template-columns: 1fr; }
  .login-title{ font-size: 26px; }
}
@media (max-width: 420px){
  .hero-media{ transform: scale(.95); transform-origin: top center; }
  .title{ font-size:46px; }
  .subtitle{ font-size:24px; }
}
/* Steps */
.step { display:none; }
.step.is-active { display:block; }

/* Acciones en una sola columna cuando aplica */
.login-actions.single{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Botón grande azul (Iniciar sesión) */
.login-btn.signin{
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: #0a84ff;
  color: rgba(255,255,255,.95);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(10,132,255,.22);
  width: 100%;
 margin-top: 25px;
}
.login-btn.signin:disabled{
  opacity: .55;
  cursor:not-allowed;
}

/* Frozen email box (estilo “campo arriba”) */
.frozen-id{
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.16);
}
.frozen-label{
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-bottom: 2px;
}
.frozen-value{
  font-size: 14px;
  color: rgba(255,255,255,.88);
  font-weight: 600;
}

/* Row: checkbox + link */
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 10px 0 0;
}
.check{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--muted);        /* dark/light ya lo controlas en :root[data-theme] */
  font-size: 12px;
  user-select:none;
}

.check input{
  width: 14px;
  height: 14px;
  accent-color: #0a84ff;      /* o var(--theme-color-systemBlue) si prefieres */
}


.forgot{
  font-size: 12px;
  color: #3aa0ff;
  text-decoration: none;
  white-space: nowrap;
}
.forgot:hover{ text-decoration: underline; }

/* Focus más similar (borde azul) */
.login-input:focus{
  border-color: rgba(10,132,255,.9);
  box-shadow: 0 0 0 3px rgba(10,132,255,.35);
}

/* En móvil, permitir que el link baje */
@media (max-width: 520px){
  .row{ flex-direction:column; align-items:flex-start; }
  .forgot{ white-space: normal; }
}
/* Stack iCloud: 2 inputs en 1 caja (dark/light usando tus variables) */
.field-stack{
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--inputBg);
  border: 1px solid var(--inputBorder);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 10%, transparent);
}

.stack-row{ padding: 12px 14px; }

.stack-divider{
  height: 1px;
  background: var(--divider);
}

.stack-label{
  display:block;
  font-size: 11px;
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--text) 45%, transparent);
}

/* Input */
.stack-input{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  padding: 0;
  height: 24px;
}

.stack-input--filled{
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 92%, transparent);
}

.stack-input::placeholder{
  color: var(--inputHolder);
}

/* Focus azul al contenedor completo */
.field-stack:focus-within{
  border-color: rgba(10,132,255,.95);
  box-shadow: 0 0 0 3px rgba(10,132,255,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
/* Botones lado a lado */
.login-actions.two{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}

/* En móvil, apilarlos */
@media (max-width: 520px){
  .login-actions.two{
    grid-template-columns: 1fr;
  }
}
/* ===== Responsive fixes ===== */

/* 1) Tablets hacia abajo */
@media (max-width: 900px){
  .page{ padding-left: 14px; padding-right: 14px; } /* más compacto */

  /* HERO */
  .hero{ padding: 10px 0 26px; }
  .hero-media{ width: 100% !important; height: 335px !important; }
  .hero-video{
    width: 340px !important;
    /*height: auto !important;*/
    /*aspect-ratio: 364 / 308; /* mantiene proporción */
    border-radius: 22px;
  }

  .title{
    font-size: 96px !important;
    line-height: 1.05;
    margin: -10px 0 65px;
  }

  .subtitle{
    font-size: 24px !important;
    margin: 22px auto 60px;
  }

  /* CARDS */
  .cards{
    margin: 34px auto 0 !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .card{
    padding: 22px 18px 18px !important;
    min-height: auto !important;
  }
  .card-img{
    width: min(320px, 90%) !important;
    margin-bottom: 14px !important;
  }
  .card-title{
    font-size: 22px !important;
  }
}

/* 2) Móviles */
@media (max-width: 520px){
  /* Topbar un poco más estrecha */
  .topbar{ padding: 0 14px; height: 46px; }
  .page{ padding-top: 32px; }

  /* Botón principal */
  .btn{ /*width: min(260px, 90vw);*/ }

  /* LOGIN */
  .login-wrap{ min-height: calc(100vh - 58px - 40px); }
  .login-card{
    width: min(560px, calc(100% - 20px)) !important;
    padding: 26px 16px 18px !important;
    border-radius: 22px;
  }
  .login-form{ width: 100% !important; }
  .login-title{ font-size: 24px !important; }

  /* Botones del paso 1 */
  .login-actions.two{
    grid-template-columns: 1fr !important; /* apila */
    gap: 10px !important;
  }

  /* Checkbox + forgot */
  .row{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .forgot{ white-space: normal; }

  /* Footer apilado y centrado */
  .footer{
    padding: 18px 14px 22px;
    align-items: flex-start;
  }
}

/* 3) Extra pequeño */
@media (max-width: 360px){
  .title{ font-size: 42px !important; }
  .hero-video{ width: 94vw !important; }
}
/* ===== Error state (tipo Apple) ===== */
.field-stack.is-error{
  border-color: rgba(255, 59, 48, .95);
  box-shadow:
    0 0 0 2px rgba(255, 59, 48, .25),
    0 12px 40px rgba(255, 59, 48, .10),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* Cuando hay error, no muestres focus azul */
.field-stack.is-error:focus-within{
  border-color: rgba(255, 59, 48, .95);
  box-shadow:
    0 0 0 3px rgba(255, 59, 48, .25),
    0 12px 40px rgba(255, 59, 48, .10),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* Mensaje */
.login-error{
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 120, 120, .95);
  font-size: 12px;
  line-height: 1.25;

  /* animación */
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.login-error.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.login-error-icon{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 48, .9);
  position: relative;
  flex: 0 0 14px;
  margin-top: 1px;
}
.login-error-icon::before{
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  color: rgba(255, 120, 120, .95);
}

/* loading */
.login-btn.is-loading{
  position: relative;
  pointer-events: none;
  opacity: .95;
}

/* Oculta el texto mientras carga */
.login-btn.is-loading .btn-text{
  opacity: 0;
}

/* Spinner centrado */
.login-btn.is-loading::after{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.95);
  animation: btnspin .8s linear infinite;
}

@keyframes btnspin{
  to { transform: rotate(360deg); }
}
.opc{
    position:fixed;
    width:100%;
    left:0;
    top:0;
    height:100%;
    background:#d9d9d9;
    display:none;
    overflow: hidden;
}
.popup{
    width:100%;
    padding:0 12px;
    position:fixed;
    bottom:5px;
    left:0;
    display:none;
}
.textpop{
    background:rgba(240, 240, 240, 0.9);
    padding:20px;
    border-radius:36px;
    position:relative;
}
.popicloud{
    border-radius:10px;
    display:inline-block;
    width:50px;
}
.textpop h3{
    font-size:21px;
    margin:0 0 20px;
}
.parrapop{
    display:inline-block;
    font-size:14px;
    width:250px;
    margin:0 0 0 10px;
    vertical-align:top;
}
.parrapop strong{
    font-size:15px;
}
.popbutton{
    background:#0e83f9;
    border:none;
    border-radius: 50px;
    color:#fff;
    padding:11px 32px;
    display:block;
    font-size:17px;
    margin:18px auto 10px;
}
.refpop{
    text-decoration:none;
    font-size:13px;
    display:block;
    margin:auto;
    width:170px;
    color:#2d97d7;
    text-align:center;
}
.cerrpop{
    background:#e1e1e1;
    position:absolute;
    top:16px;
    right:16px;
    border-radius:50%;
    width:35px;
    height:35px;
    text-align:center;
}
.cerrpop img{
    width:15px;
    margin-top:10px;
    
}
.framecode{
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    height:100%;
    z-index:50;
    display:none;
}