.appointment-form {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.form-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 25px;
  color: #2c3e50;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2c3e50;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 8px 14px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}

.appointment-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* placeholder FIX */
.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* time buttons */
.time-selection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px,1fr));
  gap: 10px;
}

.time-btn {
  padding: 8px 0;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  background: #f8f9fa;
}

.time-btn:hover {
  background: #eaf4fc;
  border-color: #3498db;
}

.time-btn.selected {
  background: #3498db;
  color: #fff;
  border-color: #2980b9;
}

/* button */
.submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg,#3498db,#2c3e50);
}

.submit-btn:hover {
  background: linear-gradient(135deg,#2980b9,#1a252f);
}

/* messages */
.result-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  display: none;
  text-align: center;
}

.result-success {
  background: #d4edda;
  color: #155724;
}

.result-error {
  background: #f8d7da;
  color: #721c24;
}
