* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #f4f6f9, #e9ecf1);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  padding: 20px;
}

.card {
  max-width: 480px;
  background: #ffffff;
  margin: auto;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Play Store */
.playstore-banner {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.playstore-banner img {
  height: 44px;
  transition: transform 0.15s ease;
}

.playstore-banner:hover img {
  transform: scale(1.03);
}

/* Brand */
.brand {
  display: flex;
  flex-direction: column;   /* stack logo + text */
  align-items: center;      /* center horizontally */
  text-align: center;
  margin-bottom: 16px;
}


.logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: none;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand small {
  display: block;
  font-size: 11px;
  color: #666;
}

h1 {
  font-size: 26px;
  margin: 8px 0 4px;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}

/* Sections */
.section {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.section + .section {
  margin-top: 20px;
}


.section h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #111827;
}

label {
  display: block;
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  margin-bottom: 14px;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

.row {
  display: flex;
  gap: 12px;
}

.row > div {
  flex: 1;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.1s ease;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Messages */
.message {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}

.message.success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #065f46;
  padding: 12px;
  border-radius: 12px;
}

.message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px;
  border-radius: 12px;
}
.message.warning {
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fdba74;
}


/* Footer */
.footer-text {
  margin-top: 18px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}
