﻿
<style >
/* Flex container for the row */
.phone-input-row {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto; /* Centers the form */
}

/* Style for the country code */
.country-code {
    background-color: #f0f0f0;
    padding: 0 15px;
    font-size: 17px;
    font-weight: bold;
    display: grid;
    align-items: center;
    border-right: 1px solid #ccc;
    height: 45px;
}

/* Style for the phone input field */
.phone-input {
    font-size: 17px;
    width: 33%;
    height: 45px;
    border: none;
    padding: 0 10px;
    outline: none;
    background-color: #f0f0f0;
}

/* Style for the submit button */
.submit-button {
    background: #2ED8D2;
    border: none;
    color: #fff;
    padding: 0 15px;
    font-size: 17px;
    height: 45px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

/* Media Query for smaller screens */
@media (max-width: 576px) {
    .phone-input-row {
        flex-direction: column;
        width: 90%; /* Adjust width on smaller screens */
        max-width: none;
    }

    .country-code, .phone-input, .submit-button {
        width: 100%;
        text-align: center;
        border: none;
        border-radius: 5px;
        margin-bottom: 5px;
        padding: 10px;
        font-size: 16px;
    }

    .country-code {
        background-color: #f9f9f9;
        margin-bottom: 5px;
        border-radius: 5px;
    }

    .submit-button {
        margin-bottom: 0;
        border-radius: 5px;
    }

        
}

</style >
