/*
Theme Name: Sequentus Custom Theme
Theme URI: https://sequentus.org
Author: PT Mous Media Bali
Author URI: https://mousmedia.com
Description: Custom WordPress theme for Sequentus with Tailwind CSS integration
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sequentus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
===========================================
WORDPRESS THEME STYLESHEET
===========================================
This is the main stylesheet for WordPress theme recognition.
All custom styles are located in /style.css
*/


/* Reset CF7 Auto Paragraphs */
.appt-container,
.appt-container * {
  box-sizing: border-box;
}

.appt-container p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal !important;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Main Container */
.appt-container {
  max-width: 100%;
  margin: 1.5rem auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Stepper */
.appt-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.appt-step p {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.step-num {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s;
}

.step-txt {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
  transition: all 0.3s;
}

.appt-step.active .step-num {
  background: #eab465;
  color: #000;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.appt-step.active .step-txt {
  color: #eab465;
  font-weight: 600;
}

.step-divider {
  color: #d1d5db;
  font-size: 1.25rem;
}

/* Step Content */
.appt-step-content {
  display: none;
}

.appt-step-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grid & Layout */
.appt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .appt-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.appt-col {
  width: 100%;
}

.appt-field {
  margin-bottom: 1rem;
  width: 100%;
}

/* Form Elements */
.appt-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.req {
  color: #ef4444;
  margin-right: 0.25rem;
}

.appt-input,
.appt-select,
.appt-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  color: #111827;
  font-size: 0.875rem;
  transition: all 0.2s;
  font-family: inherit;
}

.appt-input:focus,
.appt-select:focus,
.appt-textarea:focus {
  outline: none;
  border-color: #eab465;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.appt-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Calendar */
.appt-calendar {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: transparent;
}

.cal-header p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cal-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.cal-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #eab465;
  color: #000;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.2s;
}

.cal-btn:hover {
  background: #d97706;
  transform: scale(1.05);
}

.cal-weekdays p {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 0px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.375rem;
}

.date-btn {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.date-btn:hover:not(:disabled) {
  background: #d97706;
}

.date-btn:disabled {
  color: var(--color-foreground-200);
  cursor: not-allowed;
  
}

.date-btn.selected {
  background: #d97706 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(59, 89, 152, 0.3);
}

.date-btn.empty {
  visibility: hidden;
}

/* Selected Date Display */
.appt-selected-date {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 700;
  color: #92400e;
  font-size: 0.938rem;
}

/* Time Slots */
.appt-time-container {
  margin-top: 1.5rem;
}

.appt-time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.time-btn {
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.time-btn:hover {
  border-color: #eab465;
  background: #fffbeb;
}

.time-btn.selected {
  background: #eab465 !important;
  border-color: #ff9900 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(59, 89, 152, 0.3);
}

/* Review Card */
.appt-review {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.review-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: #111827;
}

.review-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.review-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.review-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-item:last-child {
  margin-bottom: 0;
}

.review-key {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.review-val {
  font-size: 0.875rem;
  color: #111827;
  font-weight: 700;
  text-align: right;
}

/* Buttons */
.appt-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.appt-actions-split {
  justify-content: space-between;
}

.appt-btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.appt-btn-primary {
  background: #eab465;
  color: #000;
}

.appt-btn-primary:hover:not(:disabled) {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.appt-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.appt-btn-secondary {
  background: #e5e7eb;
  color: #374151;
  flex: 1;
}

.appt-btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .step-txt {
    display: none;
  }
  
  .appt-time-grid {
    grid-template-columns: 1fr;
  }
  
  .appt-actions-split {
    flex-direction: column-reverse;
  }
  
  .appt-btn-secondary {
    flex: none;
    width: 100%;
  }
}

/* CF7 Spinner */
.wpcf7-spinner {
  margin-left: 0.5rem;
}


/*
===========================================
End of WordPress Core Styles
All custom theme styles are in /assets/style/input.css
===========================================
*/


