/**
 * Public styles for Skin Clinic Booking plugin
 */

/* General Styles */
.scb-booking-container,
.scb-categories-container,
.scb-my-appointments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.scb-booking-title,
.scb-categories-title,
.scb-my-appointments-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.scb-booking-subtitle,
.scb-categories-subtitle,
.scb-my-appointments-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.scb-clinic-hours {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    font-style: italic;
}

/* Booking Form Styles */
.scb-booking-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.scb-appointment-details h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.scb-treatment-info {
    background-color: #f8f9fa;
    border-left: 5px solid #4CAF50;
    padding: 20px;
    margin-bottom: 35px;
    border-radius: 8px;
}

.scb-treatment-info h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
    font-size: 22px;
}

.scb-treatment-price,
.scb-treatment-duration {
    display: inline-block;
    margin-right: 25px;
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

.scb-form-row {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.scb-form-column {
    flex: 1;
    min-width: 250px;
}

.scb-form-column label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.scb-form-column input[type="text"],
.scb-form-column input[type="email"],
.scb-form-column input[type="tel"],
.scb-form-column input[type="date"],
.scb-form-column textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.scb-form-column input[type="text"]:focus,
.scb-form-column input[type="email"]:focus,
.scb-form-column input[type="tel"]:focus,
.scb-form-column input[type="date"]:focus,
.scb-form-column textarea:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.scb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.scb-time-slot {
    position: relative;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.scb-time-slot:hover {
    background-color: #f0f0f0;
    border-color: #d0d0d0;
}

.scb-time-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.scb-time-slot input[type="radio"]:checked + span {
    font-weight: bold;
}

.scb-time-slot input[type="radio"]:checked {
    background-color: #e8f5e9;
    border-color: #4CAF50;
}

.scb-time-slot input[type="radio"]:checked + span::before {
    content: "✓";
    display: inline-block;
    margin-right: 5px;
    color: #4CAF50;
}

.scb-time-slot.selected {
    background-color: #e8f5e9;
    border-color: #4CAF50;
    font-weight: bold;
}

.scb-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.scb-payment-method {
    position: relative;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.scb-payment-method:hover {
    background-color: #f0f0f0;
    border-color: #d0d0d0;
}

.scb-payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.scb-payment-method input[type="radio"]:checked + span {
    font-weight: bold;
}

.scb-payment-method.selected {
    background-color: #e8f5e9;
    border-color: #4CAF50;
    font-weight: bold;
}

.scb-book-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scb-book-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Error styling */
.scb-error-field {
    border-color: #f44336 !important;
}

.scb-form-column .scb-error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Need Help Section */
.scb-need-help {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
}

.scb-need-help h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.scb-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.scb-contact-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.scb-contact-icon {
    font-size: 20px;
    margin-right: 10px;
}

/* Categories Styles */
.scb-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.scb-category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.scb-category-card:hover {
    transform: translateY(-5px);
}

.scb-category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.scb-category-content {
    padding: 20px;
}

.scb-category-title {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.scb-category-description {
    color: #666;
    margin-bottom: 20px;
}

.scb-treatments-list h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.scb-treatments-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scb-treatment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.scb-treatment-item:last-child {
    border-bottom: none;
}

.scb-treatment-title {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.scb-book-now-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.scb-book-now-btn:hover {
    background-color: #45a049;
}

/* My Appointments Styles */
.scb-appointments-section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.scb-appointment-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.scb-appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.scb-appointment-treatment {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.scb-appointment-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.scb-status-pending {
    background-color: #FFC107;
    color: #333;
}

.scb-status-confirmed {
    background-color: #2196F3;
    color: white;
}

.scb-status-completed {
    background-color: #4CAF50;
    color: white;
}

.scb-status-cancelled {
    background-color: #F44336;
    color: white;
}

.scb-appointment-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.scb-appointment-detail {
    display: flex;
    flex-direction: column;
}

.scb-detail-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.scb-detail-value {
    font-weight: bold;
    color: #333;
}

.scb-payment-status-paid {
    color: #4CAF50;
}

.scb-payment-status-unpaid {
    color: #F44336;
}

.scb-appointment-actions {
    margin-top: 15px;
    text-align: right;
}

.scb-cancel-appointment-btn {
    background-color: #F44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.scb-cancel-appointment-btn:hover {
    background-color: #d32f2f;
}

.scb-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.scb-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.scb-no-appointments,
.scb-no-categories {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .scb-form-column {
        flex: 100%;
    }
    
    .scb-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .scb-appointment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .scb-appointment-status {
        margin-top: 10px;
    }
    
    .scb-appointment-details {
        grid-template-columns: 1fr;
    }
} 