/* =========================
   GLOBAL / THEME
========================= */

html, body {
  width: 100%;
  height: 100%;
}

:root {
  --glass-bg: rgba(255,255,255,0.1);
  --glass-border: rgba(255,255,255,.25);
  --glass-strong: rgba(255,255,255,0.18);

  --text-main: #222222;
  --text-muted: rgba(34,34,34,0.7);

  --danger: #ff6b6b;
  --success: #4cd964;
  
  --z-ribbon: 100000;
  --z-ribbon-menu: 100010;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

/* =========================
   BACKGROUND
========================= */

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image:url('/static/2.jpg');
  background-size: auto 100vh;
  background-position: center;
  position: relative;

  color: var(--text-main);
  padding: 5vw;
  padding-top: calc(60px + 5vw);
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  z-index: 0;
}

/* =========================
   HEADER STYLES
========================= */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: var(--z-ribbon);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.5rem;
  height: 60px;
}

.header-left {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.header-logo {
  height: 40px;
  width: auto;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.psychologist-name {
  font-weight: bold;
  font-size: 0.77rem;
}

.psychologist-title {
  font-size: 0.9rem;
  color: #666;
}

.header-right {
  display: flex;
  align-items: center;
}

.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.25rem 0.25rem 0.5rem;
}

.hamburger-icon {
  position: relative;
  width: 31.2px;
  height: 23.4px;
}

.hamburger-icon span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), opacity 0.15s ease;
}

.hamburger-icon span:nth-child(1) {
  transform: translateY(-6px);
}

.hamburger-icon span:nth-child(2) {
  transform: translateY(0);
}

.hamburger-icon span:nth-child(3) {
  transform: translateY(6px);
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.ribbon-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-ribbon-menu);
  display: none;
}

.ribbon-menu {
  position: fixed;
  top: 60px;
  right: 0;
  background: #fff;
  box-shadow: -2px 0 4px rgba(0,0,0,0.1);
  z-index: var(--z-ribbon-menu);
  width: 250px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.ribbon-menu.active {
  transform: translateX(0);
}

.ribbon-menu-overlay.active {
  display: block;
}

.ribbon-menu .nav-link {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.ribbon-menu .nav-link:hover {
  background: #f5f5f5;
}

.ribbon-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 0.95rem;
  color: #1f2937;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* =========================
   CONTAINER / CARD
========================= */

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.card {
  background: transparent;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

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

.header {
  padding: 28px 5vw;
  text-align: center;
  border-bottom: none;
  background: transparent;
}

.header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222222;
}

.header p {
  font-size: 14px;
  color: #222222;
}

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

.content {
  padding: 26px 5vw;
  background: transparent;
}

/* =========================
   FLASH / ERRORS
========================= */

.errors {
  margin-bottom: 14px;
}

.error {
  background: rgba(255,0,0,0.15);
  border: 1px solid rgba(255,0,0,0.3);
  color: #222222;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 8px;
}

.success {
  background: rgba(0,200,120,0.2);
  border: 1px solid rgba(0,200,120,0.35);
  color: #222222;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}

/* =========================
   FORM FIELDS
========================= */

.field {
  margin-bottom: 18px;
}

.label {
  display: block;
  font-size: 14px;
  color: #222222;
  margin-bottom: 6px;
  font-weight: 600;
}

.input {
  width: 100%;
  height: 52px;
  padding: 14px 18px;
  border: 2px solid #6B9B94;
  border-radius: 30px;
  background: transparent;
  color: #222222;
  font-size: 15px;
  outline: none;
}

.input::placeholder {
  color: #222222;
  opacity:0.7;
}

.input:focus {
  border-color: #6B9B94;
  box-shadow: 0 0 0 3px rgba(126,161,155,0.1);
}

.input:disabled {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  cursor: not-allowed;
}

/* =========================
   PASSWORD REQUIREMENTS
========================= */

.password-requirements {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.password-requirements ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

.password-requirements li {
  margin-bottom: 4px;
}

/* =========================
   BUTTON
========================= */

.btn {
  width: 100%;
  height: 48px;
  background: #6B9B94;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(126,161,155,0.3);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: #6d8f8a;
  box-shadow: 0 6px 16px rgba(126,161,155,0.4);
}

.btn:active {
  transform: scale(0.98);
}

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

.footer {
  padding: 16px 5vw;
  text-align: center;
  border-top: none;
  background: transparent;
}

.footer a {
  color: #222222;
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 480px) {
  .header {
    padding: 22px 5vw;
  }

  .content {
    padding: 22px 5vw;
  }

  .header h1 {
    font-size: 22px;
  }
}
