@font-face {
  font-family: "Chillax";
  src: local("Chillax");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: local("Poppins");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --primary: #6746ef;
  --primary-dark: #5537d9;
  --coral: #ff7b60;
  --beige: #faf9f5;
  --black: #000000;
  --gray-500: #9e9e9e;
  --gray-700: #616161;
  --white: #ffffff;
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--beige) 100%);
  color: var(--black);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.logo {
  width: 75% ;
  height: auto;
  padding: 0;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: none;
}

.brand-name {
  display: block;
  font-weight: 600;
  color: var(--primary);
}

.brand-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.title {
  font-family: "Chillax", "Poppins", sans-serif;
  font-size: 2rem;
  margin: 0 0 12px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--coral) 50%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.label {
  font-weight: 600;
}

.input {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(103, 70, 239, 0.15);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(103, 70, 239, 0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.status {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.success-icon {
  display: none;
  width: 96px;
  height: 96px;
  margin: 8px auto 12px;
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.success-state .form,
.success-state .service-list {
  display: none;
}

.success-state .success-icon {
  display: block;
}

.success-state .status {
  text-align: center;
  margin-top: 0;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #eaeaea;
  background: #ffffff;
}

.service-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #f2f2f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}

.service-logo--placeholder {
  font-size: 1rem;
}

.service-name {
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(103, 70, 239, 0.1);
}

@media (max-width: 640px) {
  .card {
    padding: 24px;
  }
}
