@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f6f5f1;
  color: #181816;
  line-height: 1.6;
}

.container {
  max-width: 640px;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24,24,22,0.10);
  overflow: hidden;
}

.header {
  background: #181816;
  padding: 28px 24px;
}

.header h1 {
  font-family: 'DM Serif Display', serif;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.header p {
  color: #8a8a82;
  font-size: 16px;
  margin-top: 8px;
}

.content {
  padding: 32px 24px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a44;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #efede7;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: inherit;
  background: #fff;
}

input:focus, select:focus {
  outline: none;
  border-color: #1a6fbd;
  box-shadow: 0 0 0 3px rgba(26,111,189,0.10);
}

input:read-only {
  background: #f6f5f1;
  color: #7a7a72;
}

.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 0;
  cursor: pointer;
  color: #181816;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: #1a6fbd;
}

.checkbox-group .description {
  display: block;
  font-size: 13px;
  color: #7a7a72;
  margin-left: 28px;
  margin-top: -4px;
}

.schedule-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.schedule-row > div { flex: 1; }
.schedule-row select { margin-bottom: 0; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: #1a6fbd;
  color: #fff;
}

.btn-primary:hover { background: #1558a0; }

.btn-danger {
  background: none;
  color: #a06010;
  padding: 12px 0;
  font-size: 14px;
}

.btn-danger:hover { text-decoration: underline; }

.message {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 15px;
}

.message.success { background: #d8f0e6; color: #0d6b4f; }
.message.error { background: #faeada; color: #7a4508; }

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #7a7a72;
}

.section-label {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  font-weight: 400;
  color: #7a7a72;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #efede7;
}

.section-label:first-child { margin-top: 0; }

.btn-microsoft {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #efede7;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  background: #fff;
  color: #181816;
}

.btn-microsoft:hover { background: #f6f5f1; border-color: #ccc; }

.divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #efede7;
}

.divider span {
  background: #fff;
  padding: 0 16px;
  position: relative;
  color: #7a7a72;
  font-size: 14px;
}
