/* Frontend Styles for Category Pickup Time */

/* Info message on checkout */
.cpt-checkout-info {
    background: #e7f3ff;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin: 10px 0 20px 0;
    border-radius: 3px;
}

.cpt-checkout-info p {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
}

.cpt-checkout-info strong {
    color: #2271b1;
}

#pickup_datetime_field {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

#pickup_datetime_field h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.cpt-info-message {
    background: #e7f3ff;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.cpt-info-message p {
    margin: 0;
    color: #333;
}

.cpt-info-message strong {
    color: #2271b1;
}

#pickup_datetime_field .form-row {
    margin-bottom: 15px;
}

#pickup_datetime_field label {
    font-weight: 600;
    color: #333;
}

#pickup_datetime_field input[type="date"],
#pickup_datetime_field input[type="time"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#pickup_datetime_field input[type="date"]:focus,
#pickup_datetime_field input[type="time"]:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Error styling */
.woocommerce-error {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
}

.woocommerce-error li {
    color: #dc2626;
}

/* Order details page */
.order-pickup-datetime {
    background: #f9f9f9;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.order-pickup-datetime h3 {
    margin-top: 0;
    color: #2271b1;
}

/* Email styles */
.woocommerce-email .order-pickup-datetime {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
}
