/* Argentomática Comments – Auth Form
   Usa las variables del tema argentomatica-theme */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Exo+2:wght@300;400;600&display=swap');

/* Centrar el formulario en la página */
.entry-content--fullwidth {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding: 40px 20px;
}

.arcom-form {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  position: relative;
}

/* Top accent line */
.arcom-form::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 70%);
}

/* ── Tabs ── */
.arcom-tabs {
  display: flex;
  border-bottom: 1px solid var(--border2);
}
.arcom-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 14px;
  text-transform: uppercase;
  transition: color .2s, border-color .2s;
  margin-bottom: -1px;
}
.arcom-tab:hover { color: var(--text); }
.arcom-tab--active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ── Panels ── */
.arcom-panel {
  display: none;
  padding: 24px 28px 28px;
}
.arcom-panel--active { display: block; }

/* ── Message banner ── */
.arcom-message {
  margin: 0 28px;
  border-radius: 6px;
  font-size: .875rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
}
.arcom-message.is-error {
  background: rgba(255, 77, 106, .1);
  border: 1px solid rgba(255, 77, 106, .3);
  color: #ff8099;
  max-height: 80px;
  padding: 10px 14px;
  margin-top: 16px;
}
.arcom-message.is-success {
  background: rgba(0, 232, 120, .08);
  border: 1px solid rgba(0, 232, 120, .25);
  color: #00e878;
  max-height: 80px;
  padding: 10px 14px;
  margin-top: 16px;
}

/* ── Fields ── */
.arcom-field {
  margin-bottom: 18px;
}
.arcom-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.arcom-field input[type="text"],
.arcom-field input[type="email"],
.arcom-field input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: .9rem;
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.arcom-field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, .1);
}
.arcom-field input.is-error { border-color: #ff4d6a; }
.arcom-field input.is-ok    { border-color: #00e878; }

/* Input with eye button */
.arcom-input-wrap {
  position: relative;
}
.arcom-input-wrap input { padding-right: 42px; }
.arcom-eye {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.arcom-eye:hover { color: var(--cyan); }
.arcom-eye svg { width: 17px; height: 17px; }

/* Forgot password link */
.arcom-link {
  color: var(--cyan);
  font-weight: 400;
  text-decoration: none;
  font-size: .8rem;
  text-transform: none;
  letter-spacing: 0;
}
.arcom-link:hover { text-decoration: underline; }
.arcom-link--right { margin-left: auto; }

/* Remember me */
.arcom-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 20px;
  cursor: pointer;
}
.arcom-check-label input { accent-color: var(--cyan); width: 14px; height: 14px; }

/* ── Password strength ── */
.arcom-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  height: 16px;
}
.arcom-strength__bar {
  flex: 1;
  height: 4px;
  background: var(--border2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.arcom-strength__bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--strength-w, 0%);
  background: var(--strength-color, var(--border2));
  border-radius: 4px;
  transition: width .3s, background .3s;
}
.arcom-strength__label {
  font-size: .72rem;
  color: var(--strength-color, var(--text-muted));
  min-width: 50px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  transition: color .3s;
}

/* ── Buttons ── */
.arcom-btn {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 11px 20px;
  text-transform: uppercase;
  transition: opacity .2s, transform .1s;
  width: 100%;
}
.arcom-btn:active { transform: scale(.98); }
.arcom-btn--primary {
  background: var(--cyan);
  color: #07080b;
}
.arcom-btn--primary:hover { opacity: .88; }
.arcom-btn--primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.arcom-btn--ghost {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text-muted);
}
.arcom-btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.arcom-btn--sm { padding: 7px 16px; font-size: .85rem; width: auto; }

/* ── Logged-in state ── */
.arcom-form--logged {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
.arcom-logged-avatar img {
  border-radius: 50%;
  border: 2px solid var(--cyan);
  display: block;
}
.arcom-logged-info { flex: 1; }
.arcom-logged-name {
  color: var(--text);
  font-size: .95rem;
  margin: 0 0 3px;
}
.arcom-logged-name strong { color: var(--cyan); }
.arcom-logged-email {
  color: var(--text-muted);
  font-size: .8rem;
  margin: 0 0 12px;
}

/* ── Loading spinner ── */
@keyframes arcom-spin {
  to { transform: rotate(360deg); }
}
.arcom-btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(7,8,11,.4);
  border-top-color: #07080b;
  border-radius: 50%;
  animation: arcom-spin .7s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── must-login message ── */
.arcom-must-login {
  background: rgba(0, 212, 255, .07);
  border: 1px solid rgba(0, 212, 255, .2);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: .9rem;
  padding: 12px 16px;
  text-align: center;
  margin: 8px 0;
}
.arcom-must-login a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
.arcom-must-login a:hover { text-decoration: underline; }

/* reCAPTCHA badge */
.grecaptcha-badge {
  bottom: 60px !important;
  opacity: .7;
  transition: opacity .2s;
}
.grecaptcha-badge:hover { opacity: 1; }
