* { box-sizing: border-box; }

body {
  background: #F0F3F9;
  color: #1F3864;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 64px 20px;
  line-height: 1.55;
}

.brand {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1F3864;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
  position: relative;
}

.lang-switch {
  position: absolute;
  top: -8px;
  right: 0;
}
.lang-switch select {
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid #C7D1E0;
  border-radius: 6px;
  background: #fff;
  color: #1F3864;
  cursor: pointer;
}

.box {
  max-width: 480px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E1E6EF;
  border-radius: 12px;
  padding: 48px 44px;
  box-shadow: 0 6px 24px rgba(31, 56, 100, 0.08);
}

h1 {
  font-size: 26px;
  color: #1F3864;
  margin: 0 0 8px;
}

.subtitle {
  font-size: 15px;
  color: #6B7891;
  margin-bottom: 30px;
}

.notice {
  background: #EEF3FC;
  color: #1F3864;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 22px;
}
.notice a { color: #3A6DB5; font-weight: 600; text-decoration: none; }
.notice a:hover { text-decoration: underline; }

label {
  display: block;
  margin: 20px 0 7px;
  font-size: 14px;
  font-weight: 600;
  color: #1F3864;
}

input[type=text], input[type=email], input[type=password], input[type=tel] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #C7D1E0;
  border-radius: 7px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: inherit;
}
input:focus {
  outline: none;
  border-color: #3A6DB5;
  box-shadow: 0 0 0 3px rgba(58, 109, 181, 0.15);
}

.consent { font-size: 13.5px; color: #5A6B85; margin-top: 22px; line-height: 1.6; }
.consent input { width: auto; margin-right: 8px; vertical-align: top; margin-top: 3px; }

button, .btn {
  margin-top: 26px;
  width: 100%;
  padding: 15px;
  background: #3A6DB5;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
button:hover, .btn:hover { background: #2F5A96; }

.error {
  background: #FCEBEC; color: #A33;
  padding: 13px 15px; border-radius: 7px;
  font-size: 14.5px; margin-bottom: 16px;
}
.success {
  background: #EAF6EC; color: #2A7A3B;
  padding: 20px; border-radius: 8px; font-size: 15.5px;
}

.divider {
  text-align: center; color: #A0ACC0; font-size: 12px;
  margin: 26px 0 12px; text-transform: uppercase; letter-spacing: 1px;
}

.oauth a {
  display: block; padding: 13px; margin-bottom: 10px;
  border-radius: 7px; text-decoration: none;
  font-size: 15px; font-weight: 500;
  border: 1px solid #C7D1E0; color: #1F3864; text-align: center;
}
.oauth a:hover { background: #F6F8FB; border-color: #3A6DB5; }

.link { text-align: center; margin-top: 26px; font-size: 14.5px; color: #5A6B85; }
.link a { color: #3A6DB5; font-weight: 600; text-decoration: none; }
.link a:hover { text-decoration: underline; }

table.data { width: 100%; border-collapse: collapse; margin-top: 14px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #E9EDF4; font-size: 14.5px; }
table.data th { color: #6B7891; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600; }
.badge.available { background: #EEF1F8; color: #5A6B85; }
.badge.active { background: #EAF6EC; color: #2A7A3B; }
