* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; background: #d1d7db; height: 100vh; overflow: hidden; color: #41525d; }

.auth-page { height: 100vh; background: #111b21; display: flex; flex-direction: column; }
.auth-topbar { background: #00a884; color: #fff; }
.auth-topbar-inner { max-width: 1000px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.topnav a { color: #fff; text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 16px; transition: background .15s; }
.topnav a:hover { background: rgba(255,255,255,.18); }

.auth-main {
  flex: 1; max-width: 1000px; margin: 0 auto; width: 100%;
  padding: 24px 28px 40px; display: flex; gap: 48px; align-items: center;
}

/* phone mock */
.auth-phone { flex: 1; display: flex; justify-content: center; }
.phone-frame {
  width: 230px; height: 420px; border-radius: 34px; background: #0d0d0d;
  padding: 10px; box-shadow: 0 24px 48px rgba(0,0,0,.35);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.phone-statusbar { text-align: center; font-size: 11px; color: #aaa; padding: 2px 0 6px; }
.phone-screen { height: 100%; background: #0b141a; border-radius: 26px; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 8px; background-image:
  radial-gradient(circle at 20% 30%, rgba(255,255,255,.03) 2px, transparent 3px);
}
.phone-msg { font-size: 10.5px; padding: 7px 9px; border-radius: 8px; max-width: 85%; box-shadow: 0 1px .5px rgba(0,0,0,.3); line-height: 1.4; }
.phone-msg.out { align-self: flex-end; background: #005c4b; color: #e9edef; border-top-right-radius: 2px; }
.phone-msg.in { align-self: flex-start; background: #202c33; color: #e9edef; border-top-left-radius: 2px; }

/* auth card */
.auth-card {
  background: #fff; border-radius: 16px; padding: 34px 32px; width: 100%;
  max-width: 420px; box-shadow: 0 6px 20px rgba(11,20,26,.2);
  animation: fadeUp .4s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.auth-header { text-align: center; margin-bottom: 24px; }
.auth-header h1 { font-size: 24px; color: #111b21; margin-top: 12px; }
.auth-header p { color: #667781; font-size: 14px; margin-top: 8px; line-height: 1.5; }

.auth-form label { display: block; font-size: 14px; color: #111b21; margin-bottom: 10px; font-weight: 600; }
.auth-form input {
  width: 100%; padding: 13px 14px; border: 1.5px solid #d1d7db; border-radius: 10px;
  font-size: 15px; margin-bottom: 16px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-form input:focus { border-color: #00a884; box-shadow: 0 0 0 3px rgba(0,168,132,.15); }
.btn-primary {
  width: 100%; padding: 13px; background: #00a884; color: #fff; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: .3px;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 2px 8px rgba(0,168,132,.3);
}
.btn-primary:hover { background: #008069; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,168,132,.35); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #b7c0c5; cursor: default; transform: none; box-shadow: none; }
.hint { font-size: 12.5px; color: #8696a0; text-align: center; margin-top: 14px; line-height: 1.5; }

.auth-features { display: flex; justify-content: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #e9edef; flex-wrap: wrap; }
.auth-features span { font-size: 12px; color: #667781; background: #f0f2f5; padding: 6px 12px; border-radius: 20px; }

.auth-contact { justify-content: center; margin-top: 16px; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 11px 20px; border-radius: 24px; font-size: 14px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-contact { background: linear-gradient(135deg,#25d366,#00a884); color: #fff; box-shadow: 0 2px 10px rgba(37,211,102,.35); }
.wa-contact:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.45); }

@media (max-width: 700px) {
  .auth-phone { display: none; }
  .auth-main { padding: 40px 16px; }
}
/* ---- Install ribbon (welcome page) ---- */
.install-topbar { display: flex; align-items: center; gap: 10px; padding: 9px 16px; background: #00a884; color: #fff; font-size: 13.5px; box-shadow: 0 2px 10px rgba(0,0,0,.15); position: relative; z-index: 50; }
.install-topbar img { border-radius: 6px; flex-shrink: 0; }
.install-topbar span { flex: 1; min-width: 0; line-height: 1.3; }
.install-topbar button { background: #fff; color: #00a884; border: none; border-radius: 18px; padding: 7px 18px; font-weight: 700; font-size: 13px; cursor: pointer; flex-shrink: 0; }
.install-topbar button:hover { filter: brightness(.97); }
@media (max-width: 600px) { .install-topbar { font-size: 12.5px; padding: 8px 12px; } .install-topbar button { padding: 6px 14px; } }
