/* =========================================================
   BCR Institutional Theme - jsuarez
   Inspirado en www.bcr.com.ar
   ========================================================= */

:root {
  --bcr-primary: #00256b;
  --bcr-primary-dark: #000b4b;
  --bcr-primary-light: #0d358b;

  --bcr-accent: #0056a7;

  --bcr-bg: #f4f7f7;
  --bcr-surface: #ffffff;

  --bcr-text: #1d2b2b;
  --bcr-text-soft: #5f6b6b;

  --bcr-border: #dbe5e5;

  --bcr-shadow:
    0 4px 14px rgba(0, 0, 0, 0.05);

  --bcr-radius: 12px;

  --bcr-transition: all .2s ease;
}

/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}

body {
  background:
    linear-gradient(
      180deg,
      #eef4f4 0%,
      #f7f9f9 100%
    );

  font-family:
    "Inter",
    "Segoe UI",
    "Open Sans",
    sans-serif;

  font-size: 15px;
  line-height: 1.7;
  color: var(--bcr-text);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  color: var(--bcr-primary-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

a {
  color: var(--bcr-primary);
  text-decoration: none;
  transition: var(--bcr-transition);
}

a:hover {
  color: var(--bcr-primary-dark);
}

label {
  cursor: pointer;
  color: var(--bcr-text-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  margin: 60px auto 20px auto;
  max-width: 560px;
  padding: 0 15px;
}

.wrap {
  background: var(--bcr-surface);

  border:
    1px solid var(--bcr-border);

  border-radius:
    var(--bcr-radius);

  padding: 42px;

  box-shadow:
    var(--bcr-shadow);

  position: relative;
  overflow: hidden;
}

/* top accent line */

.wrap::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 6px;

  background:
    linear-gradient(
      90deg,
      var(--bcr-primary-dark),
      var(--bcr-accent)
    );
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  border-bottom:
    1px solid var(--bcr-border);

  padding-bottom: 20px;
  margin-bottom: 35px;

  text-align: center;
}

.header .logo img {
  width: auto;
  max-width: 190px;
}

/* =========================================================
   FORMS
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;

  padding: 13px 16px;

  border:
    1px solid var(--bcr-border);

  border-radius:
    10px;

  background: #fff;

  font-size: 0.97rem;

  transition: var(--bcr-transition);

  box-shadow: none;
}

input:hover,
select:hover {
  border-color: #b8c9c9;
}

input:focus,
select:focus {
  outline: none;

  border-color:
    var(--bcr-primary);

  box-shadow:
    0 0 0 4px rgba(0, 107, 104, 0.12);
}

input:focus::placeholder {
  color: transparent;
}

input[disabled] {
  opacity: 0.55;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button,
button {
  background:
    linear-gradient(
      180deg,
      var(--bcr-primary),
      var(--bcr-primary-dark)
    );

  color: #fff;

  border: 0;

  border-radius:
    10px;

  padding:
    14px 28px;

  cursor: pointer;

  text-decoration: none;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 150px;

  font-size: 0.97rem;
  font-weight: 600;

  transition:
    var(--bcr-transition);

  box-shadow:
    0 3px 10px rgba(0, 107, 104, 0.15);
}

.button:hover,
button:hover {
  transform: translateY(-1px);

  background:
    linear-gradient(
      180deg,
      var(--bcr-primary-light),
      var(--bcr-primary)
    );

  color: #fff;
}

.button.button-outline {
  background: transparent;

  border:
    1px solid var(--bcr-primary);

  color:
    var(--bcr-primary);

  box-shadow: none;
}

.button.button-outline:hover {
  background:
    var(--bcr-primary);

  color: #fff;
}

/* =========================================================
   LOGIN
   ========================================================= */

.login .submit {
  margin-top: 24px;
}

.login button {
  width: 100%;
}

.login input[name=totp_code] {
  font-size: 2rem;
  letter-spacing: 6px;
  text-align: center;
}

/* =========================================================
   LISTS / CONTENT
   ========================================================= */

.section {
  margin-bottom: 42px;
}

.row {
  margin-bottom: 20px;
}

.lists {
  list-style-type: none;
  padding: 0;
}

.lists li {
  margin-bottom: 8px;
}

.lists .description {
  margin:
    6px 0 18px 28px;

  font-size: 0.88rem;

  line-height: 1.5;

  color:
    var(--bcr-text-soft);
}

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}

.archive li {
  margin-bottom: 18px;
}

.archive .date {
  display: block;

  color:
    var(--bcr-text-soft);

  font-size: 0.85rem;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
  margin-top: 35px;
  text-align: center;
}

.pg-page {
  display: inline-block;

  padding:
    8px 12px;

  margin: 0 4px;

  border-radius: 8px;

  text-decoration: none;

  transition: var(--bcr-transition);
}

.pg-page:hover {
  background: rgba(0, 107, 104, 0.08);
}

.pg-page.pg-selected {
  background: var(--bcr-primary);
  color: #fff;
  font-weight: 600;
}

/* =========================================================
   UTILITIES
   ========================================================= */

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.small {
  font-size: 0.875rem;
}

.error {
  color: #d32f2f;
}

.unsub-all {
  margin-top: 35px;
  padding-top: 25px;

  border-top:
    1px solid var(--bcr-border);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer.container {
  margin-top: 25px;
  margin-bottom: 35px;

  text-align: center;

  color:
    #7a8a8a;

  font-size: 0.78rem;
}

footer a {
  color: #7a8a8a;
}

footer a:hover {
  color: var(--bcr-primary-dark);
}

/* =========================================================
    Para dispositos MOBILE
   ========================================================= */

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

  .container {
    margin-top: 20px;
  }

  .wrap {
    margin: 0;
    padding: 28px;
    border-radius: 0;
  }

  h1 {
    font-size: 1.7rem;
  }

  .header .logo img {
    max-width: 150px;
  }
}

/* =========================================================
    FIXES
   ========================================================= */

/* Oculta el honeypot anti-spam */
.nonce,
input.nonce {
    display: none !important;
}

/* Mejor separación entre campos */
.form p {
    margin: 0 0 20px;
}

/* Labels */
.form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Listas de suscripción */
.lists {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.lists h2 {
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.lists li {
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--bcr-border);
    border-radius: 10px;
    background: #fafcfc;
    transition: var(--bcr-transition);
}

.lists li:hover {
    border-color: var(--bcr-primary);
    background: #ffffff;
}

/* Checkbox */
.lists li input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.lists li label {
    display: inline;
    font-weight: 600;
    color: var(--bcr-text);
}

/* Descripción de las listas */
.lists .description {
    margin: 8px 0 0 28px;
    color: var(--bcr-text-soft);
    font-size: .9rem;
}

/* Botón */
.form button,
.form .button {
    width: 100%;
    margin-top: 15px;
}

/* CAPTCHA */
.captcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Links */
.right {
    margin-top: 15px;
    text-align: center;
}
