/* Frontend Styles for Bookings for Therapist Plugin - Black & White Theme */

.bft-booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
}

.bft-booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.bft-booking-header h2 {
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.bft-booking-header p {
    color: #333333;
    font-size: 16px;
}

.bft-booking-form {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #000000;
    overflow: hidden;
}

.bft-step {
    display: none;
    padding: 30px;
    background: #ffffff;
}

.bft-step.active {
    display: block;
}

.bft-step h3 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
}

/* Service Selection */
.bft-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.bft-service-card {
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.bft-service-card:hover {
    border-color: #333333;
    background: #f8f8f8;
    transform: translateY(-2px);
}

.bft-service-card.selected {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}

.bft-service-card h4 {
    color: inherit;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.bft-service-card p {
    color: inherit;
    margin-bottom: 15px;
    line-height: 1.5;
    opacity: 0.8;
}

.bft-service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bft-duration {
    color: inherit;
    font-size: 14px;
    opacity: 0.8;
}

.bft-price {
    font-weight: bold;
    color: inherit;
    font-size: 16px;
}

/* Date Picker */
.bft-date-picker {
    margin-bottom: 20px;
}

.bft-date-picker input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #000000;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 15px;
    background: #ffffff;
    color: #000000;
}

.bft-date-picker input[type="date"]:focus {
    outline: none;
    border-color: #333333;
}

.bft-date-navigation {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.bft-nav-btn {
    padding: 8px 16px;
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.bft-nav-btn:hover {
    background: #ffffff;
    color: #000000;
}

/* Time Slots */
.bft-time-slots {
    margin-bottom: 20px;
}

.bft-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.bft-time-slot {
    border: 2px solid #000000;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #000000;
}

.bft-time-slot:hover {
    border-color: #333333;
    background: #f8f8f8;
}

.bft-time-slot.selected {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}

.bft-time-start {
    display: block;
    font-weight: bold;
    font-size: 14px;
}

.bft-time-end {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

/* Client Information Form */
.bft-client-info {
    margin-bottom: 20px;
}

.bft-form-row {
    margin-bottom: 20px;
}

.bft-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000000;
}

.bft-form-row input,
.bft-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #000000;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #ffffff;
    color: #000000;
}

.bft-form-row input:focus,
.bft-form-row textarea:focus {
    outline: none;
    border-color: #333333;
}

.bft-form-row textarea {
    resize: vertical;
    min-height: 80px;
}

.bft-form-row input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* Payment Section */
.bft-booking-summary {
    background: #f8f8f8;
    border: 2px solid #000000;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.bft-booking-summary h4 {
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.bft-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    color: #000000;
}

.bft-summary-item.bft-total {
    border-top: 2px solid #000000;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 18px;
    color: #000000;
}

.bft-payment-methods {
    margin-bottom: 20px;
}

.bft-payment-method {
    margin-bottom: 15px;
}

.bft-payment-method label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #000000;
}

.bft-payment-method label:hover {
    background: #f8f8f8;
}

.bft-payment-method input[type="radio"] {
    margin-right: 10px;
}

.bft-payment-method-name {
    font-weight: bold;
    color: #000000;
}

.bft-payment-method-desc {
    margin-left: auto;
    color: #333333;
    font-size: 14px;
}

/* Navigation */
.bft-booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f8f8;
    border-top: 2px solid #000000;
}

.bft-btn {
    padding: 12px 24px;
    border: 2px solid #000000;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.bft-btn-primary {
    background: #000000;
    color: #ffffff;
}

.bft-btn-primary:hover {
    background: #ffffff;
    color: #000000;
}

.bft-btn-secondary {
    background: #ffffff;
    color: #000000;
    border-color: #333333;
}

.bft-btn-secondary:hover {
    background: #000000;
    color: #ffffff;
}

/* Messages */
.bft-messages {
    margin-top: 20px;
}

.bft-success {
    background: #f8f8f8;
    color: #000000;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #000000;
    font-weight: bold;
}

.bft-error {
    background: #ffffff;
    color: #000000;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #000000;
    font-weight: bold;
}

.bft-loading {
    text-align: center;
    color: #333333;
    font-style: italic;
}

/* Services Display */
.bft-services-display {
    margin: 20px 0;
}

.bft-services-display.bft-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.bft-service-item {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bft-service-title {
    color: #000000;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.bft-service-description {
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.bft-service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bft-service-duration {
    color: #333333;
    font-size: 14px;
}

.bft-service-price {
    font-weight: bold;
    color: #000000;
    font-size: 16px;
}

/* Calendar */
.bft-public-calendar {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 20px;
}

.bft-calendar-loading {
    text-align: center;
    padding: 40px;
    color: #333333;
}

/* Admin Booking Form */
.bft-admin-booking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
}

.bft-admin-booking-form {
    margin-bottom: 30px;
}

.bft-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.bft-admin-calendar-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #000000;
}

.bft-admin-calendar-section h3 {
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Quick Booking Form */
.bft-quick-booking {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
}

.bft-quick-booking h3 {
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.bft-quick-services {
    margin-bottom: 20px;
}

.bft-quick-form {
    margin-bottom: 20px;
}

.bft-quick-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.bft-quick-row input,
.bft-quick-row select,
.bft-quick-row textarea {
    flex: 1;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #ffffff;
    color: #000000;
}

.bft-quick-row input:focus,
.bft-quick-row select:focus,
.bft-quick-row textarea:focus {
    outline: none;
    border-color: #333333;
}

.bft-quick-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
}

.bft-quick-row label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.bft-quick-calendar {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #000000;
}

/* Services List Layout */
.bft-services-display.bft-layout-list .bft-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f8f8;
    border-radius: 6px;
    border: 2px solid #000000;
}

.bft-services-display.bft-layout-list .bft-service-title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.bft-services-display.bft-layout-list .bft-service-meta {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bft-booking-container {
        padding: 10px;
    }
    
    .bft-step {
        padding: 20px;
    }
    
    .bft-services-grid {
        grid-template-columns: 1fr;
    }
    
    .bft-time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .bft-booking-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .bft-btn {
        width: 100%;
        text-align: center;
    }
    
    .bft-quick-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .bft-form-actions {
        flex-direction: column;
    }
    
    .bft-admin-booking-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .bft-service-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .bft-summary-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .bft-quick-booking {
        padding: 15px;
    }
    
    .bft-services-display.bft-layout-list .bft-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .bft-services-display.bft-layout-list .bft-service-meta {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
}

/* Success and Error Messages */
.bft-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.bft-message.bft-success {
    background-color: #f0f8f0;
    border: 2px solid #000000;
    color: #000000;
}

.bft-message.bft-error {
    background-color: #f8f0f0;
    border: 2px solid #000000;
    color: #000000;
}