/* ============================================
   SUPER DOGS & CATS - SIMPLYBOOK STYLING
   Based on actual Wix theme colors
   ============================================ */

* {
  box-sizing: border-box;
}

/* Body & General */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #2f2e2e;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Main Container */
main,
.sb-main,
.sb_main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  background-color: #ffffff;
}

/* ============ HEADINGS ============ */

h1,
.page-title {
  font-size: 36px;
  font-weight: normal;
  color: #2f2e2e;
  margin: 0 0 12px 0;
  font-family: Arial, Helvetica, sans-serif;
}

h2 {
  font-size: 28px;
  font-weight: bold;
  color: #2f2e2e;
  margin: 24px 0 16px 0;
  border-bottom: 2px solid #2f2e2e;
  padding-bottom: 12px;
}

h3 {
  font-size: 20px;
  font-weight: bold;
  color: #2f2e2e;
  margin: 16px 0 12px 0;
}

/* ============ BUTTONS ============ */

button,
.button,
.btn,
input[type="submit"],
.sb-button {
  background-color: #2f2e2e;
  color: #ffffff;
  border: 1px solid #2f2e2e;
  border-radius: 3px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
  background-color: #0088cb;
  border-color: #0088cb;
}

button:active {
  background-color: #ed1c24;
}

/* Secondary Button */
.button-secondary,
.btn-secondary {
  background-color: #ffffff;
  color: #2f2e2e;
  border: 2px solid #2f2e2e;
}

.button-secondary:hover {
  background-color: #e8e8e8;
}

/* ============ FORM FIELDS ============ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #2f2e2e;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #727272;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2f2e2e;
  box-shadow: 0 0 0 2px rgba(47, 46, 46, 0.1);
}

/* Form Labels */
label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #2f2e2e;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ============ CARDS & SECTIONS ============ */

.section {
  padding: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.card,
.service-card,
.staff-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.card:hover,
.service-card:hover {
  border-color: #2f2e2e;
  box-shadow: 0 2px 6px rgba(47, 46, 46, 0.1);
}

.card h3,
.service-card h3 {
  color: #2f2e2e;
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
}

.card p,
.service-card p {
  color: #727272;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #2f2e2e;
  margin-top: 12px;
}

/* ============ TIME SLOTS ============ */

.time-slot,
.date-option {
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  color: #2f2e2e;
  padding: 10px 12px;
  margin: 6px 6px 6px 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}

.time-slot:hover {
  border-color: #2f2e2e;
  background-color: #e8e8e8;
}

.time-slot.selected {
  background-color: #2f2e2e;
  color: #ffffff;
  border-color: #2f2e2e;
}

.time-slot:disabled,
.time-slot.unavailable {
  background-color: #e8e8e8;
  color: #b0b0b0;
  border-color: #e8e8e8;
  cursor: not-allowed;
}

/* ============ CALENDAR ============ */

.calendar {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  padding: 16px;
  margin-bottom: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.calendar-header h3 {
  margin: 0;
  font-size: 16px;
}

.calendar-nav button {
  background-color: #ffffff;
  color: #2f2e2e;
  border: 1px solid #d0d0d0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.calendar-nav button:hover {
  border-color: #2f2e2e;
  background-color: #e8e8e8;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  background-color: #ffffff;
  color: #2f2e2e;
  transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled) {
  background-color: #e8e8e8;
  border-color: #2f2e2e;
}

.calendar-day.selected {
  background-color: #2f2e2e;
  color: #ffffff;
  border-color: #2f2e2e;
}

.calendar-day.disabled {
  color: #b0b0b0;
  cursor: not-allowed;
  background-color: #e8e8e8;
}

/* ============ MESSAGES & ALERTS ============ */

.alert,
.message {
  padding: 14px 16px;
  border-radius: 3px;
  margin-bottom: 16px;
  border-left: 4px solid;
}

.alert-success {
  background-color: #f0f8f0;
  color: #1a4d1a;
  border-left-color: #0088cb;
}

.alert-error,
.alert-danger {
  background-color: #fff5f5;
  color: #8b0000;
  border-left-color: #ed1c24;
}

.alert-info {
  background-color: #f0f5ff;
  color: #003d7a;
  border-left-color: #0088cb;
}

/* ============ LINKS ============ */

a {
  color: #0088cb;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid #0088cb;
}

a:hover {
  color: #ed1c24;
  border-bottom-color: #ed1c24;
}

a.button,
a.btn {
  border: none;
}

/* ============ FOOTER ============ */

footer {
  background-color: #e8e8e8;
  border-top: 1px solid #d0d0d0;
  padding: 32px 24px;
  margin-top: 48px;
  text-align: center;
  color: #727272;
  font-size: 12px;
}

footer p {
  margin: 8px 0;
}

footer a {
  color: #2f2e2e;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  main {
    padding: 24px 16px;
  }

  button,
  input[type="submit"] {
    width: 100%;
    padding: 12px 20px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* ============ ACCESSIBILITY ============ */

:focus {
  outline: 2px solid #2f2e2e;
  outline-offset: 2px;
}