:root {
  --primary: #FF3B30;
  --primary-dark: #E0352B;
  --text: #1C1C1E;
  --text-light: #636366;
  --bg: #FFFFFF;
  --card-bg: #F8F8F8;
  --border: #E5E5EA;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Main container */
.main-container {
  display: flex;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  align-items: center;
}

/* Content section */
.content-section {
  flex: 1;
  padding-right: 60px;
}

.content-header {
  margin-bottom: 32px;
  max-width: 600px;
}

.content-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.content-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Zip code card */
.zip-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.zip-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

.submit-btn {
  padding: 14px 24px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

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

.submit-btn:active {
  transform: translateY(0);
}

/* Image section */
.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Error message */
.error-message {
  color: var(--primary);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 8px;
  height: 20px;
}

/* Responsive design */
@media (max-width: 804px) {
  .main-container {
    flex-direction: column;
    padding: 60px 40px;
    margin-top: 50px;
  }
  
  .content-section {
    padding-right: 0;
    margin-bottom: 40px;
    width: 100%;
  }
  
  .zip-card {
    max-width: 100%;
  }
  
  .image-section {
    width: 100%;
    order: 2;
  }
  
  .image-section img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 40px 24px;
  }
  
  .content-header h1 {
    font-size: 2rem;
  }
  
  .content-header p {
    font-size: 1rem;
  }
  
  .image-section img {
    max-height: 300px;
  }
}
