:root {
  --primary: #3498db;
  --secondary: #2ecc71;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --accent: #e74c3c;
  --warning: #f39c12;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Terms of Service Checkbox Styling */
.terms-agreement {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-container label {
  cursor: pointer;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--dark);
}

.checkbox-container label a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.checkbox-container label a:hover {
  text-decoration: underline;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 10px;
  font-size: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--light);
}

.hero-signup {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-signup h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-signup p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.progress-container {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.progress-fill {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.5s ease;
  z-index: 2;
}

.step {
  background-color: #e0e0e0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #7f8c8d;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.step.active {
  background-color: var(--primary);
  color: white;
}

.step.completed {
  background-color: var(--secondary);
  color: white;
}

.step-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.step-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  text-align: center;
  flex: 1;
}

.step-label.active {
  color: var(--primary);
  font-weight: 600;
}

.form-container {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.availability-grid {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.availability-day {
  font-weight: 500;
}

.availability-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.availability-time input {
  flex: 1;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
  background-color: #2980b9;
}

.btn-secondary {
  background-color: #95a5a6;
}

.btn-secondary:hover {
  background-color: #7f8c8d;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.photo-upload {
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s;
}

.photo-upload:hover {
  border-color: var(--primary);
}

.photo-upload.dragover {
  border-color: var(--secondary);
  background-color: rgba(46, 204, 113, 0.1);
}

.upload-icon {
  font-size: 3rem;
  color: #bdc3c7;
  margin-bottom: 1rem;
}

.photo-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.preview-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.photo-info {
  flex: 1;
}

.file-name {
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.remove-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remove-photo-btn:hover {
  background-color: #c0392b;
}

.remove-photo-btn svg {
  width: 16px;
  height: 16px;
}

.availability-container {
  margin-bottom: 2rem;
}

.availability-slot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.availability-slot:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-group input[type="time"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.delete-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  flex-shrink: 0;
}

.delete-btn:hover {
  background-color: #c0392b;
  transform: scale(1.1);
}

.add-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(52, 152, 219, 0.1);
  border: 2px dashed var(--primary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--primary);
  font-weight: 600;
}

.add-availability:hover {
  background-color: rgba(52, 152, 219, 0.2);
  transform: translateY(-2px);
}

.add-availability svg {
  margin-right: 0.5rem;
}

.preview-section {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}

.preview-section h3 {
  color: var(--dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.preview-item {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.preview-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.preview-slot {
  margin-top: 15px;
}

footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #34495e;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .availability-grid {
    grid-template-columns: 1fr;
  }

  .hero-signup h1 {
    font-size: 2rem;
  }

  .hero-signup p {
    font-size: 1rem;
  }

  .step-labels {
    font-size: 0.8rem;
    justify-content: center;
  }

  .step-label {
    display: none;
  }

  .step-label.active {
    display: block;
    flex: none;
    font-size: 1rem;
    font-weight: 600;
  }
}