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

body {
  background: #f9f9fb;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  padding: 16px 40px;
  background: white;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: 700;
}

.account-btn {
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: black;
  transition: 0.2s;
}

.account-btn:hover {
  border-color: #674cc4;
  color: #674cc4;
}

/* MAIN */
.container {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}

.card {
  max-width: 640px;
  width: 100%;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  display: none;
}

.card.active {
  display: block;
}

h1 {
  text-align: center;
  margin-bottom: 15px;
}

p {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}

/* FORM */
input, textarea, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

input:focus, textarea:focus, select:focus {
  border-color: #674cc4;
  box-shadow: 0 0 0 3px rgba(103,76,196,0.1);
  outline: none;
}

.primary-btn {
  width: 100%;
  padding: 14px;
  background: #674cc4;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.primary-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.back-btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

/* RADIO */
.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}

.radio input {
  display: none;
}

.radio span {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
}

.radio input:checked + span {
  border-color: #674cc4;
}

.radio input:checked + span::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #674cc4;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
}

/* DECLARATION */
.declaration {
  font-size: 13px;
  color: #555;
  margin: 20px 0;
}

.declaration a {
  color: #674cc4;
  text-decoration: none;
}

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

.input-error {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 2px rgba(229,57,53,0.1);
}

.error {
  display: none;
  color: #e53935;
  font-size: 12px;
  margin-bottom: 10px;
}
