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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
}

/* Left Panel #A32A29 */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.logo {
  z-index: 10;
  position: relative;
}

.logo-image {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  position: relative;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Decorative Shapes */
.decorative-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 100px;
  left: -100px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
}

/* Right Panel */
.right-panel {
  flex: 1;
  background: #f8f9fa;
  padding: 40px;
  overflow-y: auto;
  position: relative;
}

.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag {
  width: 20px;
  height: auto;
}

.language-selector select {
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 60px;
}

.form-container h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}

.subtitle {
  color: #6c757d;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Steps */
.step {
  display: none;
}

.step.active {
  display: block;
}

.step h3 {
  color: #495057;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.2rem;
}

/* Account Options */
.account-options {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.account-option {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.account-option:hover {
  border-color: #A32A29;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

.account-option.selected {
  border-color: #A32A29;
  background: #f8f9ff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.account-icon {
  width: 48px;
  height: 48px;
  background: #A32A29;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.account-icon svg {
  width: 24px;
  height: 24px;
}

.account-details h4 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.account-details p {
  color: #6c757d;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.account-details ul {
  list-style: none;
  padding: 0;
}

.account-details li {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 4px;
  position: relative;
  padding-left: 16px;
}

.account-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.selection-help {
  text-align: center;
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 20px;
  font-style: italic;
}

/* Loading */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #A32A29;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loading {
  text-align: center;
  padding: 40px 0;
}

#loading h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}

#loading p {
  color: #6c757d;
}

/* Error */
#error {
  text-align: center;
  padding: 40px 0;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

#error h3 {
  color: #dc3545;
  margin-bottom: 10px;
}

#error p {
  color: #6c757d;
  margin-bottom: 20px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #dc3545;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #c82333;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Contact Section */
.contact-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.contact-section p {
  color: #6c757d;
  font-size: 0.9rem;
}

.contact-link {
  color: #A32A29;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    overflow: auto;
  }
  
  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  
  .left-panel {
    flex: none;
    height: 300px;
    padding: 20px;
    overflow: auto;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .right-panel {
    flex: none;
    padding: 20px;
    overflow: auto;
  }
  
  .form-container {
    padding-top: 20px;
  }
  
  .account-option {
    flex-direction: column;
    text-align: center;
  }
  
  .account-details {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .form-container h2 {
    font-size: 1.5rem;
  }
  
  .account-option {
    padding: 16px;
  }
}
