/* =====================================================
   BEAUTY ADVANCE BOOKING - DATE & TIME PICKER
   Add this to beauty_services.css or as separate file
   ===================================================== */

/* Date Picker Container */
.beauty-date-picker {
    margin: 16px 0;
}

.beauty-date-picker-label {
    display: block;
    color: #FF69B4;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Date Scroll Container */
.beauty-date-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.beauty-date-scroll::-webkit-scrollbar {
    display: none;
}

/* Individual Date Card */
.beauty-date-card {
    flex-shrink: 0;
    width: 70px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.beauty-date-card:hover {
    border-color: #FF69B4;
    background: rgba(255, 105, 180, 0.15);
    transform: translateY(-2px);
}

.beauty-date-card.selected {
    border-color: #FF69B4;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), rgba(255, 105, 180, 0.2));
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.beauty-date-card.today {
    border-color: #10B981;
}

.beauty-date-card.today .date-label {
    color: #10B981;
}

.beauty-date-day {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.beauty-date-card.selected .beauty-date-day {
    color: #FF69B4;
}

.beauty-date-num {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.beauty-date-month {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.beauty-date-card.selected .beauty-date-month {
    color: #FF69B4;
}

.date-label {
    font-size: 10px;
    color: #888;
    margin-top: 6px;
    font-weight: 500;
}

/* Time Slots Container */
.beauty-time-picker {
    margin: 16px 0;
}

.beauty-time-picker-label {
    display: block;
    color: #FF69B4;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.beauty-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (max-width: 400px) {
    .beauty-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Time Slot Button */
.beauty-time-slot {
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.beauty-time-slot:hover:not(.unavailable) {
    border-color: #FF69B4;
    background: rgba(255, 105, 180, 0.15);
}

.beauty-time-slot.selected {
    border-color: #FF69B4;
    background: linear-gradient(135deg, #E91E63, #AD1457);
    color: white;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.beauty-time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: rgba(255, 255, 255, 0.1);
}

.beauty-time-slot.popular {
    position: relative;
}

.beauty-time-slot.popular::after {
    content: '🔥';
    position: absolute;
    top: -8px;
    right: -4px;
    font-size: 12px;
}

/* Time Period Headers */
.beauty-time-period {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #888;
    padding: 8px 0 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.beauty-time-period:first-child {
    margin-top: 0;
}

/* Booking Summary */
.beauty-booking-summary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.beauty-booking-summary-title {
    font-weight: 700;
    color: #10B981;
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.beauty-booking-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.beauty-booking-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.beauty-booking-summary-label {
    color: #aaa;
}

.beauty-booking-summary-value {
    color: #fff;
    font-weight: 500;
}

.beauty-booking-summary-total {
    font-size: 16px;
    font-weight: 700;
    color: #10B981;
}

/* Selected DateTime Display */
.beauty-selected-datetime {
    background: rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.beauty-selected-datetime-icon {
    font-size: 24px;
}

.beauty-selected-datetime-text {
    flex: 1;
}

.beauty-selected-datetime-date {
    font-weight: 600;
    color: #FF69B4;
    font-size: 15px;
}

.beauty-selected-datetime-time {
    color: #aaa;
    font-size: 13px;
    margin-top: 2px;
}

.beauty-selected-datetime-change {
    background: transparent;
    border: 1px solid #FF69B4;
    color: #FF69B4;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.beauty-selected-datetime-change:hover {
    background: #FF69B4;
    color: white;
}

/* Quick Book Options */
.beauty-quick-options {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.beauty-quick-option {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 20px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.beauty-quick-option:hover {
    border-color: #FF69B4;
    color: #FF69B4;
}

.beauty-quick-option.active {
    background: #FF69B4;
    border-color: #FF69B4;
    color: white;
}

/* Calendar Icon Animation */
@keyframes calendarPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.beauty-date-card.selected .beauty-date-num {
    animation: calendarPop 0.3s ease;
}

/* No Availability Message */
.beauty-no-availability {
    text-align: center;
    padding: 24px;
    color: #888;
    font-size: 14px;
}

/* =====================================================
   GPS LOCATION INPUT STYLES
   ===================================================== */

/* Address Input Wrapper */
.address-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.address-input-wrapper .address-input {
    flex: 1;
    margin: 0;
}

/* Use Location Button */
.btn-use-location {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.btn-use-location:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: scale(1.05);
}

.btn-use-location:active {
    transform: scale(0.95);
}

.btn-use-location:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-use-location i {
    font-size: 18px;
}

/* Location Status Messages */
.location-status {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    text-align: center;
}

.location-status-loading {
    background: rgba(99, 102, 241, 0.15);
    color: #818CF8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.location-status-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.location-status-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.location-status-error {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Dark Mode Adjustments */
.dark-mode .btn-use-location {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.dark-mode .btn-use-location:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.beauty-no-availability-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.beauty-no-availability-text {
    margin-bottom: 12px;
}

.beauty-no-availability-action {
    color: #FF69B4;
    text-decoration: underline;
    cursor: pointer;
}

/* Loading State */
.beauty-time-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #888;
}

.beauty-time-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 105, 180, 0.3);
    border-top-color: #FF69B4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}