﻿/* =========================================================
   PATH: /app/portal/css/rejestruj.css
   REJESTRACJA – LAYOUT JAK KONTAKT / LOGOWANIE
========================================================= */

/* =========================================================
   STRONA – ODSTĘPY GLOBALNE
========================================================= */
.register-page {
  max-width: 1300px;
  margin: 40px auto;
  padding: 20px 40px;
}

/* =========================================================
   GRID
========================================================= */
.register-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 80px;
  align-items: stretch;
}

/* =========================================================
   LEWA KOLUMNA – GRAFIKA + TELEFON
========================================================= */
.register-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.register-hero img {
  max-height: 520px;
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 28px;
  object-fit: contain;
  filter: drop-shadow(0 40px 90px rgba(47,37,89,0.30));
}

/* =========================================================
   SEKCJA TELEFONICZNA
========================================================= */
.register-call {
  text-align: center;
}

.register-call-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.register-call-phone {
  font-size: 24px;
  font-weight: 800;
  color: #2f2559;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
}

.register-call-phone:hover {
  text-decoration: underline;
}

.register-call-hours {
  font-size: 13px;
  color: #777;
}

/* =========================================================
   PRAWA KOLUMNA – FORMULARZ
========================================================= */
.register-box {
  background: #ffffff;
  padding: 48px 56px;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(47,37,89,0.14);
}

.register-box h2 {
  font-size: 34px;
  font-weight: 800;
  color: #2f2559;
  margin-bottom: 10px;
}

.register-sub {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

/* =========================================================
   FORMULARZ
========================================================= */
.register-box .row {
  margin-bottom: 22px;
}

.register-box label {
  font-size: 13px;
  color: #444;
  font-weight: 600;
}

.register-box input.text {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid #d7d5e2;
  font-size: 15px;
  background: #fafafe;
  transition: all .25s ease;
}

.register-box input.text:focus {
  outline: none;
  border-color: #2f2559;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47,37,89,0.12);
}

/* =========================================================
   RODO
========================================================= */
.register-rodo {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}

.register-rodo a {
  color: #2f2559;
  font-weight: 600;
}

/* =========================================================
   PRZYCISK
========================================================= */
.register-box input.submit {
  background: linear-gradient(135deg, #2f2559, #4a3f87);
  color: #ffffff;
  border: none;
  padding: 18px 44px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.register-box input.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(47,37,89,0.35);
}

/* =========================================================
   STATUSY
========================================================= */
.info_err {
  background: #fdeaea;
  color: #a30000;
  padding: 18px 20px;
  border-radius: 14px;
  font-weight: 600;
}

/* =========================================================
   RWD
========================================================= */
@media (max-width: 900px) {
  .register-page {
    padding: 20px;
  }

  .register-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .register-hero {
    min-height: 360px;
  }

  .register-hero img {
    max-height: 360px;
  }
}
