/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1738231368
Updated: 2025-01-30 10:02:48

*/

#service_pharmacy_search_form .elementor-field-type-submit{
    position: absolute;
    right: -5px;
    width: auto;
}
#service-pharmacy-result{
    height: 100%;
    max-height: 444px;
    overflow-y:scroll;
    padding: 15px;
    background: white;
    border-radius:10px;
}

/* Prescription Page Styles */
/* General Form Styling */
.cf7-custom-form {
    background: rgba(241, 246, 239, 1);
    padding: 30px;
    /*border-radius: 8px;*/
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #333;
    margin: auto;
}

/* Two-Column Layout */
.cf7-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
 
.cf7-column {
    width: 48%;
}

/* Headings */
.cf7-custom-form h4 {
    font-size: 22px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-weight: bold;
}

.cf7-custom-form .form-group{
    align-items: baseline;
}

.cf7-custom-form .form-group label{
    width: 150px;
}
.cf7-custom-form .wpcf7-list-item.first{
    margin-left: 0;
}
.cf7-custom-form p{
    margin-bottom: 1rem !important;
}
 
.cf7-custom-form .fg input,
.cf7-custom-form .fg select
{
    display: block !important;
    width: 100%  !important;
    height: calc(1.5em + .75rem + 2px)  !important;
    padding: .375rem .75rem  !important;
    font-size: 1rem  !important;
    font-weight: 400  !important;
    line-height: 1.5  !important;
    color: #495057  !important;
    background-color: #fff  !important;
    background-clip: padding-box  !important;
    border: 1px solid #ced4da  !important;
    border-radius: .25rem  !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out  !important;
}

.cf7-custom-form .border-bottom {
    border-bottom: 1px solid #dee2e6;
}

.cf7-custom-form .border-success {
    border-color: #28a745;
}

.cf7-custom-form hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.cf7-custom-form h4 span {
    font-weight: normal;
    font-size: 14px;
    display: block;
    color: #666;
}

.cf7-custom-form .dob span {
    width: 220px;
}

.cf7-custom-form .ptwo .wpcf7-list-item:last-child {
    pointer-events: none;
    opacity: .5;
    cursor: not-allowed;
    user-select: none;
}

/* Form Labels */
.cf7-custom-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Input Fields */
.cf7-custom-form input,
.cf7-custom-form textarea,
.cf7-custom-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Radio Buttons */
.cf7-custom-form input[type="radio"] {
    width: auto;
    margin-right: 5px;
}

/* Terms Section */
.cf7-custom-form .terms {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Postcode Field with Find Address Button */
.postcode-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.find-address {
    background-color: #4b8a3b !important;
    color: #fff !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
}

/* Submit Button */
.submit-button {
    text-align: center;
    margin-top: 20px;
}
.cf7-custom-form input[type="submit"]{
    width: auto;
    background-color: #288898 !important;
    border-radius: 10px !important;
}

.cf7-custom-form input[type="submit"] {
    background-color: #4b8a3b;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.cf7-custom-form input[type="submit"]:hover {
    background-color: #3b6f2c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cf7-column {
        width: 100%;
    }

    .postcode-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    #service-pharmacy-result{
        display:block;
    }
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.toggle-switch input {
    display: none;
}

.toggle-switch .slider {
    width: 60px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    position: relative;
    transition: background-color 0.2s;
    cursor: pointer;
}

.toggle-switch .slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .slider {
    background-color: #4CAF50;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(20px);
}

.toggle-switch .label-text {
    font-size: 14px;
}

