:root {
  --primary-color: #F163BB;
  --primary-hover: #e445a8;
  --background-color: #1A1A1A;
  --card-color: #343331;
  --text-color: #ffffff;
  --error-color: #ef4444;
  --success-color: #10b981;
  --border-color: #4a4a4a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.logo-container {
  text-align: center;
  margin-bottom: 24px;
}

.logo {
  height: 60px;
  width: auto;
}

.card {
  background-color: var(--card-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text-color);
}

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

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.requirements {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-color);
  opacity: 0.8;
}

.requirements p {
  margin-bottom: 4px;
}

.requirements ul {
  padding-left: 20px;
}

.requirements li {
  margin-bottom: 2px;
}

.requirements li.valid {
  color: var(--success-color);
}

button {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: var(--primary-hover);
}

button:disabled {
  background-color: var(--border-color);
  cursor: not-allowed;
}

.hidden {
  display: none;
}

.error {
  color: var(--error-color);
  background-color: rgba(239, 68, 68, 0.2);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.success {
  color: var(--success-color);
  background-color: rgba(16, 185, 129, 0.2);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

#redirect-message {
  text-align: center;
  padding: 20px 0;
}

.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 10px;
  font-size: 14px;
}

.footer a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.language-selector {
  margin-left: 20px;
  cursor: pointer;
}

.language-option {
  margin: 0 5px;
  opacity: 0.6;
  cursor: pointer;
}

.language-option.active {
  opacity: 1;
  text-decoration: underline;
}

.app-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .card {
    padding: 24px;
  }
  
  .footer {
    flex-wrap: wrap;
  }
}