
/* Match select boxes with address input size */
.page-order select {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

#order-journey {
    margin: 0 auto;
    background: var(--stone);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height:40rem;
}

/** Prevent pesky shadow on our single input field **/
#address-input:focus{
    outline: none;
    border: 1px solid #ccc;
    box-shadow: none;
    background-color: white;
}

/* Form inputs and labels */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Suggestions styling */
#address-suggestions {
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#address-suggestions div {
    padding: 10px;
    cursor: pointer;
}

#address-suggestions div:hover {
    background: #f0f0f0;
}

/* Green tip for address narrative */
#address-tip {
    color: #006400;
    font-weight: bold;
    margin-top: 10px;
    display: none; /* Hidden by default */
}


/* Info and tips styling */
.info {
    color: #006400; /* Dark green */
    font-weight: bold;
    margin-top: 10px;
}

.tip {
    color: #004080; /* Dark blue */
    margin-top: 10px;
}

.hidden {
    display:none;
    opacity: 0;
    pointer-events: none; /* Disable interaction while hidden */
}

.visible {
    opacity: 1;
    pointer-events: auto; /* Enable interaction when visible */
    transition: opacity 0.3s ease; /* Ensure smooth transition */
}

/* Order summary layout */
#order-summary-container p {
    margin: 10px 0;
    font-size: 16px;
}

#order-summary-container a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

#order-summary-container a:hover {
    text-decoration: none;
}

/* Radio button styling */
.radio-group input[type="radio"] {
    margin-right: 10px;
}

.radio-group label {
    display: inline-block;
    margin-bottom: 10px;
}


/* Ensure the installation time dropdown matches the height of the date picker */
#installation-time {
    height: 40px; /* Match the height of the date picker */
    padding: 0 10px; /* Adjust padding for alignment */
    font-size: 16px; /* Ensure the font size matches */
    border: 1px solid #ccc; /* Same border style as the date picker */
    border-radius: 4px; /* Same rounded corners as the date picker */
    box-sizing: border-box; /* Ensure consistent sizing */
    background-color: #fff; /* Match background colour */
}

#phone-number-container label {
    margin: 10px 0 5px;
}

#phone-number-container input,
#phone-number-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Pulsating background for the address input while searching */
.searching {
    background-color: #ffe5cc;
    animation: pulse 2s infinite;
}

.searching + #search-spinner {
    display: inline-block !important;
}

#search-spinner {
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -49px;
    margin-right: 11px;
    color:rgb(66 187 219 / 83%);
}

/** order journey **/
.order-journey-container{
        background-color:var(--sky);
}

.order-journey-container .broadband-section a{
    color:  black;
}

@media (min-width: 970px) {
    .order-journey-container{
        min-height:500px;
    }
}

@media (max-width: 576px) {
    #order-journey{
        border-radius: 0px; 
    }
}
