/**
 * login.css
 * Page de connexion Radio Control — layout deux colonnes
 */

/* ── Wrapper login pleine hauteur ── */
.rts-login-page {
  min-height: calc(100vh - var(--topbar-height) - var(--footer-height));
  display: flex;
}

/* ── Panneau gauche (présentation) ── */
.rts-login-panel-left {
  width: 46%;
  background: var(--rts-sidebar);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.rts-login-panel-left::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(200,21,27,0.12);
  pointer-events: none;
}
.rts-login-panel-left::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.rts-login-brand { position: relative; z-index: 1; }
.rts-login-brand__label {
  font-size: 10px;
  color: var(--rts-red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.rts-login-brand__title {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}
.rts-login-brand__title span { color: var(--rts-red); }
.rts-login-brand__desc {
  font-size: 13px;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 290px;
}

/* ── Liste features ── */
.rts-login-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rts-login-features__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #ccc;
  line-height: 1.5;
}
.rts-login-features__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rts-red);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── Lien démo (côté gauche) ── */
.rts-login-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--rts-red);
  border: 0.5px solid rgba(200,21,27,0.4);
  padding: 7px 14px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background 0.15s;
}
.rts-login-demo-link:hover {
  background: rgba(200,21,27,0.08);
  color: var(--rts-red);
  text-decoration: none;
}

/* ── Panneau droit (formulaire) ── */
.rts-login-panel-right {
  flex: 1;
  background: var(--rts-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}

/* ── Card de connexion ── */
.rts-login-card {
  background: var(--rts-white);
  border: 0.5px solid var(--rts-border);
  border-radius: var(--bs-border-radius-lg);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
}

/* ── Logo dans la card ── */
.rts-login-card__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}
.rts-login-card__logo-badge {
  background: var(--rts-red);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 5px;
  letter-spacing: 0.06em;
}
.rts-login-card__logo-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--rts-topbar);
}
.rts-login-card__logo-sub {
  font-size: 11px;
  color: #aaa;
}
.rts-login-card__divider {
  height: 0.5px;
  background: var(--rts-border);
  margin: 0 0 24px;
}
.rts-login-card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--rts-topbar);
  margin-bottom: 20px;
}

/* ── Liens sous formulaire ── */
.rts-login-links {
  text-align: center;
  margin-top: 16px;
}
.rts-login-links a {
  font-size: 11px;
  color: #aaa;
  text-decoration: none;
}
.rts-login-links a:hover { color: var(--rts-red); }

/* ── CTA démo en bas de card ── */
.rts-login-demo-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid var(--rts-border);
  text-align: center;
}
.rts-login-demo-cta__text {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 8px;
}
.rts-login-demo-cta__btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--rts-red);
  border: 0.5px solid rgba(200,21,27,0.35);
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.rts-login-demo-cta__btn:hover {
  background: var(--rts-red-light);
  color: var(--rts-red-dark);
  text-decoration: none;
}

/* ── Surcharge du formulaire Drupal user-login ── */
#user-login-form .form-item { margin-bottom: 16px; }
#user-login-form input[type="submit"] {
  width: 100%;
  background: var(--rts-red);
  border: none;
  color: #fff;
  padding: 11px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s;
}
#user-login-form input[type="submit"]:hover { background: var(--rts-red-dark); }

#block-radiocontrol-local-tasks{
  display:none;
}

.rts-login-card__logo-image{
  max-width: 50%;
}

#block-radiocontrol-page-title{
    background-color: #ffffff;
    font-weight: bold;
    border-radius: 25px;
    font-size: 2em;
    padding: 20px;
    margin-bottom: 20px;
}

#block-radiocontrol-content{
  background-color: #ffffff;
  border-radius: 25px;
  padding: 20px;
    margin-bottom: 20px;
}