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

:root {
  --charcoal: #2C2C2C;
  --gold: #C4A265;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --text-gray: #666666;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.language-selector a {
  padding: 8px 16px;
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.language-selector a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.language-selector a.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--medium-gray);
  z-index: 999;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.5s ease;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-wrapper {
  width: 100%;
}

.step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-content {
  text-align: center;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--charcoal);
  line-height: 1.3;
}

.welcome-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 50px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.step-note {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  font-style: italic;
}

.input-text {
  width: 100%;
  max-width: 500px;
  padding: 18px 24px;
  font-size: 1.2rem;
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.input-text:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.1);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.option-card {
  display: block;
  padding: 20px 24px;
  background: var(--white);
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.option-card:hover {
  border-color: var(--gold);
  transform: translateX(5px);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  display: none;
}

.option-card input:checked + span {
  color: var(--gold);
  font-weight: 600;
}

.option-card:has(input:checked) {
  background: linear-gradient(135deg, rgba(196, 162, 101, 0.05) 0%, rgba(196, 162, 101, 0.15) 100%);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(196, 162, 101, 0.2);
}

.option-card span {
  font-size: 1.1rem;
  color: var(--charcoal);
  transition: all 0.3s ease;
}

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: #B69155;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--medium-gray);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Thank You Page */
.thank-you-wrapper {
  text-align: center;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: var(--gold);
  color: var(--white);
  font-size: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.thank-you-title {
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--charcoal);
}

.thank-you-text {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 50px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Admin Styles */
.admin-container {
  max-width: 1200px;
  padding-top: 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.admin-title {
  font-size: 2.5rem;
  color: var(--charcoal);
}

.admin-actions {
  display: flex;
  gap: 15px;
}

.admin-login-wrapper {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.admin-login-form {
  margin-top: 30px;
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--charcoal);
}

.error-message {
  background: #fee;
  color: #c33;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #fcc;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

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

.submissions-table {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.submissions-table table {
  width: 100%;
  border-collapse: collapse;
}

.submissions-table th {
  background: var(--charcoal);
  color: var(--white);
  padding: 16px;
  text-align: left;
  font-weight: 600;
}

.submissions-table td {
  padding: 16px;
  border-bottom: 1px solid var(--medium-gray);
}

.submissions-table tr:hover {
  background: var(--light-gray);
}

.no-data {
  padding: 40px;
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.submission-detail {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--medium-gray);
}

.detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-section h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--charcoal);
}

.detail-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.detail-label {
  font-weight: 600;
  color: var(--text-gray);
}

.detail-value {
  color: var(--charcoal);
}

.detail-value a {
  color: var(--gold);
  text-decoration: none;
}

.detail-value a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .step-title {
    font-size: 1.8rem;
  }
  
  .welcome-text {
    font-size: 1rem;
  }
  
  .input-text {
    font-size: 1rem;
    padding: 14px 18px;
  }
  
  .option-card span {
    font-size: 1rem;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    padding: 14px 30px;
  }
  
  .language-selector {
    top: 10px;
    right: 10px;
  }
  
  .language-selector a {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .container {
    padding: 40px 15px;
  }
  
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .admin-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .submissions-table {
    overflow-x: auto;
  }
  
  .submissions-table table {
    min-width: 600px;
  }
  
  .detail-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .submission-detail {
    padding: 20px;
  }
  
  .thank-you-title {
    font-size: 2rem;
  }
  
  .thank-you-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
}
