:root {
  /* COLORS */
  /* Outline color, placeholder text */
  --pastel-purple: #D8C4E0;
  
  /* Dark text color */
  --mid-purple: #8100B4;
  
  /* Button color, highlight background color */
  --dark-purple: #2E0041;
  
  /* Light text color, light background color */
  --light-bg-color: #FFF9DD;
  /* FFEEA5 */
  /* Mid background color */
  --mid-bg-color: #390050;

  --white-trans08: rgba(255, 255, 255, 0.8);

  /* Gradient colors from screenshot */
  --sand: #F4E09C;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;

  color: var(--dark-purple);
  background: /*url('bg-sand.svg'),*/
    linear-gradient(180deg, #ffeea5 0%, #A56BBD 70%);
  background-attachment: fixed;    
}

.bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;

}

.container {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Header Styles */
header {
  line-height: 1.6;
  text-align: center;
  position: relative;
  flex: 0 0 auto;
}

header h1 {
  line-height: 1.1;
}

main {
  flex: 1;
  margin: 2em 0;
}

footer {
  flex: 0 0 auto;
}

hr {
  border: solid var(--mid-bg-color) 0.05em;
}

h3 {
  margin: 0.5em 0;
}

a {
  text-decoration: none;
  color: var(--mid-purple);
}

/* Button Styles */
.btn-primary {
  background: var(--dark-purple);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;

  display: block;
  padding: 1em 0.5em;
  transition: all 0.3s ease;
  text-align: center;
  margin: 1em 0rem;  
}

button.btn-primary {
  width: 100%;
  font-size: 1em;
}

button.btn-primary:disabled {
  background: var(--pastel-purple);
  cursor: not-allowed;
}

.cta-button:hover:not(:disabled), .btn-primary:hover:not(:disabled) {
  background: var(--mid-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.form-header {
  background: var(--sand);
  color: var(--dark-purple);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Radio Button Styles */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--pastel-purple);
  border-radius: 50%;
  margin-right: 1rem;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked {
  border-color: var(--mid-purple);
  background: white;
}

.radio-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--mid-purple);
  border-radius: 50%;
}

.radio-option label {
  color: var(--dark-purple);
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0;
}

/* Services Section */
section {
  margin-bottom: 3em;

  background: var(--light-bg-color);
  border-radius: 16px;
  padding: 1em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  line-height: normal;
}

section.payment {
  border-radius: 0;
  padding: 0;
  background: white;
}

.service-price {
  color: var(--mid-purple);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial {
  background: var(--white-trans08);
  border-left: 4px solid var(--mid-purple);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-purple);
  margin-top: 1rem;
  font-style: normal;
}

/* Admin Styles */
.appointment-card {
  border-left: 4px solid var(--mid-purple);
  margin-bottom: 2rem;
}

.appointment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.appointment-header h3 {
  margin: 0;
  color: var(--dark-purple);
}

.appointment-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.urgency {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.urgency-urgent {
  background: #ffebee;
  color: #c62828;
}

.urgency-soon {
  background: #fff3e0;
  color: #f57c00;
}

.urgency-flexible {
  background: #e8f5e8;
  color: #2e7d32;
}

.date {
  color: var(--mid-purple);
}

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

.appointment-details p {
  margin: 0.25rem 0;
}

.challenge-description, .additional-info {
  margin-top: 1rem;
}

.challenge-description h4, .additional-info h4 {
  color: var(--dark-purple);
  margin-bottom: 0.5rem;
}

.challenge-description p, .additional-info p {
  background: rgba(255, 255, 255, 0.5);
  padding: 1rem;
  border-radius: 8px;
  font-style: italic;
}

ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}


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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 1em;
  border: 2px solid var(--pastel-purple);
  color: var(--mid-purple);  
  border-radius: 8px;
  background: white;
  transition: border-color 0.3s ease;
  font-size: 1em;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mid-purple);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
  color: var(--mid-purple);
  font-style: italic;
}


.timepicker {
    background: var(--white-trans08);
    border: solid var(--pastel-purple) ;
    border-radius: 9px;
}

.timepicker .control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--pastel-purple);
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.timepicker .current-week {
    font-weight: 600;
    color: var(--dark-purple);
}

.timepicker .prev-week,
.timepicker .next-week {
    background: transparent;
    border: none;
    color: var(--dark-purple);
    cursor: pointer;
    font-weight: 600;
}

.timepicker .timepicker-grid {
    width: 100%;
    border-collapse: collapse;
}

.timepicker .timepicker-grid th,
.timepicker .timepicker-grid td {
    border: 1px solid var(--light-purple);
    padding: 0.5rem;
    text-align: center;
}

.timepicker .timepicker-grid th {
}