/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
  }
  
  h1, h2, h3 {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
  }

/* Custom Container (different from Bootstrap) */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.unique-margin-bottom {
    margin-bottom: 40px;
}

/* Navbar Styles */
header {
    width: 100%;
    background-color: #f8f9fa;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: relative;
    margin: auto;
}

.logo img {
    height: 50px;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.fa-solid {
    display: none;
}

.cta .btn {
    padding: 10px 20px;
    background-color: #c49754;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}

/* Banner Styles */
.banner {
    background-image: url("/assets/img/headerLandingPage/BGWhite.webp");
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    color: black;
    display: flex;
    position: relative;
}

.banner-text-new {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.banner h1 {
    font-weight: 700;
    font-size: 2.2rem;
}

.banner .subtitle {
    margin-top: 25px;
    font-weight: 600;
    font-size: 18px;
}

.banner-image {
    position: absolute;
    bottom: 0;
}

.banner-image img {
    width: 80%;
}

.form-container {
    padding: 0;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.form-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.form-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
}

.form-placeholder form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-placeholder input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-placeholder button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-placeholder button:hover {
    background-color: #0056b3;
}

/* Dental Tourism Styles */
#dental-tourism {
    background: #fff;
    text-align: center;
    background-image: url("../../img/background/placeholder.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

.center {
    text-align: center;
    font-weight: 600;
    padding: 0;
}

.subheading {
    font-size: 18px;
    color: black;
    font-weight: 600;
    width: 100%;
    max-width: 90%;
    margin: auto;
}

.text-content {
    text-align: left;
}

.text-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Treatments Styles */
#treatments {
    background: #fff;
    text-align: center;
    background-image: url("../../img/background/2.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    padding: 40px 0;
}

.image-tooth {
    position: absolute;
    right: 20%;
    width: 100px;
    height: auto;
    z-index: 1;
}

.dental-mirror {
    width: 100%;
    position: absolute;
    margin-top: -150%;
    max-width: 120px;
}

#desc-dental {
    text-align: center;
    font-size: 16px;
    width: 100%;
    max-width: 50%;
    margin: auto;
    margin-bottom: 40px;
    font-weight: 600;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-content: center;
    padding: 0 20px;
}

.treatment-card {
    display: flex;
    align-items: center;
    color: black;
    padding: 20px;
    border-radius: 36px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 28.7px 6.3px rgba(40, 40, 40, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.treatment-card:hover {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.treatment-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.treatment-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.treatment-info h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.treatment-info p {
    color: black;
    margin-top: 10px;
    font-size: 15px;
}

/* Before and After Styles */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.comparison-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.image-comparison {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.image-comparison:active {
    cursor: grabbing;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-image {
    z-index: 1;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 2;
    cursor: ew-resize;
}

.slider-handle::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 20px;
}

/* Testimonials Styles */
.reviews-section {
    padding: 20px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    padding: 20px;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
}

#desc-text {
    font-size: 15px;
    color: black;
    flex-grow: 1;
    overflow-y: auto;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 20px;
}

.testimonial-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 5px;
    color: #333;
}

.position {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.testimonial-image {
    width: 140px;
    height: 60px;
    margin: auto;
    margin-top: auto;
}

/* Swiper Custom Styles */
.swiper-button-prev,
.swiper-button-next {
    color: #c49754;
    transition: 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #0056b3;
}

.swiper-pagination-bullet {
    background-color: #c49754;
}

.swiper-pagination-bullet-active {
    background-color: #0056b3;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-section {
    padding: 10px;
}

.footer-logo {
    width: 220px;
    margin-bottom: 10px;
    cursor: pointer;
}

.footer-section h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer-section p,
.footer-section ul,
.footer-section li {
    font-size: 1em;
    margin: 5px 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: black;
    text-align: left;
}

/* Custom Button Styles */
.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c49754;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #a67c42;
    color: white;
}

.btn-hmc {
    font-weight: 500;
    color: white;
    font-size: 18px;
    text-align: center;
    background-color: #c49754;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-hmc:hover {
    background-color: #a67c42;
    color: white;
}

/* Utility Classes */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c49754;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
}

.btn:hover {
    background: #a67c42;
    color: white;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.h-100 {
    height: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-card {
        display: grid;
    }

    .icon-wrapper {
        width: auto;
    }

    .dental-mirror {
        position: absolute;
        margin-top: -150%;
        max-width: 70px;
        margin-left: 40%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 94px;
        left: 0;
        width: 100%;
        background-color: #f8f9fa;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        display: flex;
        width: 100%;
        top: 70px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .cta {
        display: none;
    }

    .banner {
        padding: 10px 5px;
        height: auto;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .banner-image {
        max-width: 45%;
        margin-top: 55px;
    }

    .form-container {
        padding: 10px;
        margin-top: 20px;
    }

    h1 {
        font-size: 20px;
        margin-top: 40px;
    }

    .subtitle {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .container-custom {
        max-width: 90%;
        margin: 0 auto;
    }

    .treatments-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    #desc-dental {
        width: 100%;
        max-width: 100%;
    }

    .dental-mirror {
        display: none;
    }

    .treatment-info p {
        text-align: center;
        color: black;
    }

    .icon-wrapper {
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .maps {
        width: 100%;
        max-width: 100%;
    }

    .footer-section {
        padding: 10px 0;
    }

    .footer-section p {
        margin-top: 30px;
    }

    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner {
        padding: 20px 10px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 16px;
    }

    .form-container {
        padding: 15px;
    }

    .banner-image img {
        display: none;
    }
}

@media (max-width: 480px) {
    .treatments-grid,
    .before-after-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        height: auto;
        min-height: 200px;
        padding: 20px 15px;
        margin: 0 auto;
        width: 90%;
    }

    #desc-text {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 15px;
        min-height: 80px;
        -webkit-line-clamp: 4;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-pagination {
        margin-top: 20px;
        bottom: 0px !important;
    }
}

#about-us {
    background: #fff;
    font-family: "Proxima Nova", sans-serif;
    text-align: center; 
    background-image: url("/img/background/2.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: -1;
    display: flex;
}

.about-us-slider {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.about-us-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.about-us-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-us-slider .swiper-button-prev,
.about-us-slider .swiper-button-next {
    color: #fff;
    background: rgba(196, 151, 84, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.about-us-slider .swiper-button-prev:after,
.about-us-slider .swiper-button-next:after {
    font-size: 20px;
}

.about-us-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.about-us-slider .swiper-pagination-bullet-active {
    background: #c49754;
    opacity: 1;
}

.comparison-item {
    background: linear-gradient(90deg,#c29757,#8d6928);
  border-radius: 12px;
  box-shadow: 0 7px 29px #63636e33;
  margin: 0 auto;
  max-width: 600px;
  overflow: hidden;
  padding: 6px;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 100%;
}


.appointment-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 500px;
}

.form-title {
    font-size: 16px;
    color: black;
    text-align: center;
}

.form-subtitle {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    width: 100%;
    position: relative;
    margin-bottom: 5px;
}

.label-container {
    background-color: #c49754;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    min-width: 120px;
    text-align: center;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

/* Ensure consistent input field widths */
.input-container {
    display: flex;
    width: 100%;
    position: relative;
    margin-bottom: 5px;
}

/* Make all inputs the same width */
input[type="text"],
input[type="email"],
input[type="tel"] {
    border: 1px solid #e5e5e5;
    border-radius: 0 25px 25px 0;
    padding: 10px 15px 10px 35px;
    margin-left: -20px;
    width: calc(100% + 20px) !important; /* Adjust for the margin-left */
    flex: 1;
    background: #ffffff;
    height: 43px;
    box-sizing: border-box !important;
}

/* Specific telephone input styling */
#phone,
input[type="tel"] {
    padding-left: 55px !important; /* Accommodate the flag */
    width: calc(100% + 20px) !important; /* Same width formula as other inputs */
}

/* Override any width settings from the telephone plugin */
.iti--allow-dropdown input, 
.iti--allow-dropdown input[type=text], 
.iti--allow-dropdown input[type=tel], 
.iti--separate-dial-code input, 
.iti--separate-dial-code input[type=text], 
.iti--separate-dial-code input[type=tel] {
    width: calc(100% + 20px) !important; /* Force the same width */
    max-width: none !important;
    box-sizing: border-box !important;
    padding-left: 55px !important;
}

/* Override the container width */
.iti {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: 0 !important;
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    input[type="tel"],
    .iti--allow-dropdown input[type=tel], 
    .iti--separate-dial-code input[type=tel] {
        width: calc(100% + 20px) !important;
        box-sizing: border-box !important;
    }
}

/* Make sure the form group widths are consistent */
.form-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

/* Ensure label containers have consistent width */
.label-container {
    background-color: #c49754;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    min-width: 120px;
    text-align: center;
    font-weight: 600;
    z-index: 2;
    flex-shrink: 0; /* Prevent label from shrinking */
}

.start-now-btn {
    width: 65%;
    margin: 10px auto 0;
    padding: 10px;
    background-color: #c49754;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    display: block;
}

.start-now-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    position: absolute;
    bottom: -20px;
    left: 0;
    font-weight: 500;
}

.vue-tel-input {
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 25px 25px 0 !important;
    margin-left: -20px !important;
    background: #ffffff !important;
    height: 43px !important;
    width: 100%;
}

@media (max-width: 600px) {
    .appointment-container {
        padding: 15px;
        margin: 0 auto;
        width: 90%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .label-container {
        min-width: 90px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .input-container {
        width: 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        width: calc(100% + 20px) !important;
        padding-right: 8px;
        font-size: 14px;
    }

    #phone, 
    input[type="tel"] {
        padding-left: 70px !important;
    }

    .iti__flag-container {
        left: 15px !important;
    }

    .start-now-btn {
        width: 100%;
        font-size: 18px;
        margin-top: 20px;
    }
    
    .error-message {
        font-size: 12px;
        bottom: -16px;
    }
}


.iti__selected-dial-code {
    display: none;
}


.iti__flag-container {
    margin-left: 0;
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    left: 40px;
}


.iti {
    position: relative !important;
    width: 100%;
    display: block;
    left:-15px;
}


.iti--separate-dial-code .iti__selected-flag {
    background: transparent !important;
    position: static;
}


.iti--allow-dropdown input, 
.iti--allow-dropdown input[type=text], 
.iti--allow-dropdown input[type=tel], 
.iti--separate-dial-code input, 
.iti--separate-dial-code input[type=text], 
.iti--separate-dial-code input[type=tel] {
    padding-right: 6px;
    padding-left: 55px !important;
    margin-left: 0;
    width: 108%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.iti__selected-flag {
    padding: 0 6px;
    display: flex;
    align-items: center;
    height: 100%;
}


.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
    right: auto;
    left: 0!important;
}

/* Fix for Firefox phone input sizing */
@-moz-document url-prefix() {
    .iti--allow-dropdown input[type=tel], 
    .iti--separate-dial-code input[type=tel] {
        width: 100% !important; /* Force full width */
        min-width: 240px !important; /* Set minimum width */
        box-sizing: border-box !important;
    }
    
    .input-container {
        display: flex;
        width: 100%;
    }
    
    /* Ensure the phone field container has proper width */
    .form-group:has(#phone) {
        width: 100%;
        display: block;
    }
    
    /* Target the intl-tel-input container specifically */
    .iti {
        width: 100% !important;
        display: block !important;
        left: 0 !important; /* Remove the negative left positioning */
    }
}

/* General fix for all browsers */
.iti--allow-dropdown input, 
.iti--allow-dropdown input[type=text], 
.iti--allow-dropdown input[type=tel], 
.iti--separate-dial-code input, 
.iti--separate-dial-code input[type=text], 
.iti--separate-dial-code input[type=tel] {
    width: 100% !important; /* Change from 108% to 100% */
    box-sizing: border-box !important;
    padding-left: 55px !important;
    padding-right: 10px !important;
}

/* Fix the positioning of the telephone label */
.form-group:has(#phone) .label-container,
.form-group:has([id="phone"]) .label-container,
.form-group .label-container:contains("Telefono") {
    position: relative;
    z-index: 4; /* Higher z-index to ensure it's above the flag container */
}

/* Adjust telephone input container specifically */
.form-group:has(#phone) .input-container,
.form-group:has([id="phone"]) .input-container {
    display: flex;
    position: relative;
}

/* Make sure the phone input has the same styling as other inputs */
#phone, 
input[type="tel"] {
    border: 1px solid #e5e5e5;
    border-radius: 0 25px 25px 0;
    padding: 10px 15px 10px 55px !important; /* Adjusted padding for flag */
    margin-left: -20px;
    width: 100%;
    flex: 1;
    background: #ffffff;
    height: 43px;
    box-sizing: border-box !important;
}

/* Reposition the flag container */
.iti__flag-container {
    z-index: 3;
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    left: 40px; /* Adjusted left positioning */
}

/* Fix for the international telephone input container */
.iti {
    width: 100% !important;
    display: block;
    position: relative !important;
    left: 0 !important;
}

/* Override any rules that might be causing the label misalignment */
.form-group {
    position: relative;
    margin-bottom: 25px; /* Slightly increased for error messages */
    width: 100%;
}

/* Ensure all input containers have the same styling */
.input-container {
    display: flex;
    width: 100%;
    position: relative;
    margin-bottom: 5px;
}

/* Clean up any problematic intlTelInput CSS that might be interfering */
.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
    position: relative !important;
}

.iti--allow-dropdown .iti__flag-container, 
.iti--separate-dial-code .iti__flag-container {
    right: auto;
    left: 30px;
}

/* Remove focus outlines from all inputs */
input:focus,
input:focus-visible,
input:focus-within,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-color: #c49754 !important; /* Optional: change border color on focus */
    transition: background-color 5000s ease-in-out 0s; /* For webkit autofill */
}

/* Remove focus styles from telephone input specifically */
.iti__flag-container:focus,
.iti__selected-flag:focus,
.iti--separate-dial-code .iti__selected-flag:focus,
.iti--allow-dropdown input:focus, 
.iti--allow-dropdown input[type=text]:focus, 
.iti--allow-dropdown input[type=tel]:focus, 
.iti--separate-dial-code input:focus, 
.iti--separate-dial-code input[type=text]:focus, 
.iti--separate-dial-code input[type=tel]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Override native browser focus styles */
*:focus {
    outline: none !important;
}

/* Override Firefox specific focus styles */
@-moz-document url-prefix() {
    input::-moz-focus-inner {
        border: 0 !important;
    }
    
    input:focus, 
    select:focus, 
    textarea:focus, 
    button:focus {
        outline: none !important;
    }
}

/* Override for Safari/Webkit */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        *:focus {
            outline: none !important;
        }
    }
}

/* Button focus styles */
button:focus {
    outline: none !important;
}

/* Also ensure intl-tel-input doesn't add any focus styles */
.iti--container {
    outline: none !important;
}

.iti__country-list {
    outline: none !important;
}

/* Improved Safari and Mobile fixes */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .iti {
            width: 100% !important;
            display: block !important;
            left: 0 !important;
        }
        
        #phone, 
        input[type="tel"] {
            width: calc(100% + 20px) !important;
            margin-left: -20px;
            padding-left: 85px !important;
            box-sizing: border-box !important;
        }
        
        .iti__flag-container {
            left: 20px !important;
            z-index: 3;
        }
        
        .appointment-container {
            width: 100%;
            box-sizing: border-box;
        }
        
        .input-container {
            width: 100%;
            box-sizing: border-box;
        }
    }
}


@media (max-width: 600px) {
    input {
        height: 35px !important;
        min-height: 35px; /* For better cross-browser consistency */
        -webkit-appearance: none; /* Remove default styling in Safari */
        -moz-appearance: none; /* Remove default styling in Firefox */
        appearance: none; /* Standard property */
        box-sizing: border-box; /* Ensure padding is included in height */
    }
}