﻿.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* ensure the overlay is above other content */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .overlay-content img {
        max-width: 80%; /* you can adjust this as needed */
        max-height: 80%; /* you can adjust this as needed */
    }

.main-container {
    position: relative;
}

@media screen and (max-width: 600px) {
    .btn-responsive {
        width: 100%;
        margin-bottom: 10px;
    }
}

.ted-warning {
    background-color: var(--mud-palette-warning-hover) !important;
    border-left: 3px solid var(--mud-palette-warning-darken) !important;
}

.ted-invalid {
    background-color: #ff00000d;
    border-left: 3px solid red !important;
}

.validation-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--secondary-colour);
    padding: 8px;
    margin-bottom: 10px;
}

.validation-message {
    color: red;
    font-size: 14px;
    font-weight: bold;
}

.info-icon-container {
    display: flex;
    justify-content: flex-end;
}

.quote-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.info-icon {
    margin-left: 10px;
}

.pet-policy {
    margin-top: 10px;
}

.pet-info-content {
    margin-top: 20px;
}

/* Add fixed height to the quote-details MudItem */
.quote-details {
    min-height: 400px; /* Adjust the height as needed */
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loading-text {
    margin-bottom: 10px;
    font-weight: bold;
}

.dots {
    animation: dotsAnimation 1.5s infinite;
}

@keyframes dotsAnimation {
    0% {
        content: ".";
    }

    33% {
        content: "..";
    }

    66% {
        content: "...";
    }

    100% {
        content: "";
    }
}

.edit-pet-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.edit-pet-content {
    display: flex;
    align-items: center;
}

.edit-pet-info {
    display: flex;
    align-items: center;
}

.edit-pet-icon {
    margin-right: 10px;
}

.pet-name {
    font-weight: bold;
}

.edit-pet-button {
    margin-left: auto;
}

.quote-grid {
    border: 2px solid #b5b5b5; /* Orange border around the quote grid */
    border-radius: 5px; /* Radius for the quote grid border */
}

.quote-header-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quote-result-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

@media (min-width: 1280px) {
    .quote-result-wrap:not(:last-child) {
        border-right: 1px solid #b5b5b5; /* Orange border on the right of each box, except the last one */
    }
}

@media (min-width: 600px) and (max-width: 1279px) {
    .quote-result-wrap:nth-child(-n+3) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of the first 3 boxes */
    }

    .quote-result-wrap:nth-child(1),
    .quote-result-wrap:nth-child(2),
    .quote-result-wrap:nth-child(4),
    .quote-result-wrap:nth-child(5) {
        border-right: 1px solid #b5b5b5; /* Orange border on the right of specific boxes */
    }

    .quote-result-wrap:nth-child(3) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of the third box */
    }
}

@media (min-width: 600px) and (max-width: 959px) {
    .quote-result-wrap:nth-child(1),
    .quote-result-wrap:nth-child(3),
    .quote-result-wrap:nth-child(5) {
        border-right: 1px solid #b5b5b5; /* Orange border on the right of specific boxes */
    }

    .quote-result-wrap:nth-child(-n+3) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of the first 3 boxes */
    }

    .quote-result-wrap:nth-child(4) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of the fourth box */
        border-right: none;
    }

    .quote-result-wrap:nth-child(2) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of the fourth box */
        border-right: none;
    }
}

@media (max-width: 599px) {
    .quote-result-wrap:not(:last-child) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of each box, except the last one */
    }

    .quote-result-wrap:nth-child(3) {
        border-bottom: 1px solid #b5b5b5; /* Orange border on the bottom of the third box */
    }
}

.quote-container {
    padding-left: 75px;
    padding-right: 75px;
}

@media (max-width: 959px) {
    .quote-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.quote-details {
    border: 1px solid #ccc;
    border-radius: 15px; /* Radius for the selected quotes box border */
    margin-bottom: 20px; /* Add some space below the selected quotes box */
    min-height: 100px; /* The box will be at least 100px tall */
    top: 0;
    padding:10px;
}

.hide-on-small {
    display: none;
}

.hide-on-large {
    display: none;
    margin-bottom: 20px; /* Add a bottom margin to the headers */
}

@media (min-width: 1279px) {
    .hide-on-small {
        display: block;
    }
}

@media (max-width: 1279px) {
    .hide-on-large {
        display: block;
        display: block; /* Show the headers on small screens */
        text-align: center;
        margin-bottom: 10px;
    }
}

.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.custom-app-bar {
    background-color: #FFF;
    border-bottom: 1px solid var(--mud-palette-primary);
    height: fit-content !important;
}

.custom-app-bar-child {
    height: fit-content !important;
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    align-items: center;
}

.logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    background-color: white;
}

.top-content {
    margin-top: 65px; /* Adjust the margin as needed */
}

.responsive-inline-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.ted-cover-options-card:last-of-type {
    margin-bottom: 0 !important;
}

@media (max-width: 600px) {
    .responsive-inline-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media only screen and (max-width: 600px) {
    .top-content {
        margin-top: 125px;
    }
}


@media only screen and (max-width: 600px) {
    .ted-banner-image {
        max-width:150px;
    }
}

@media only screen and (max-width: 600px) {
    .thirdPartyOrgImg {
        margin-left: auto;
    }
}

.app-status-bar-items {
    margin-left: auto;
}

@media only screen and (max-width: 600px) {
    .app-status-bar-items {
        margin-left: unset;
    }
}

.responsive-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (min-width: 768px) { /* Adjust breakpoint as needed */
    .responsive-radio-group {
        flex-wrap: nowrap; /* Side by side on larger screens */
    }
}

/* Timeline */
.mud-timeline-horizontal::before {
    background: linear-gradient(to right, transparent, var(--mud-palette-divider), transparent) !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media screen and (max-width: 959px) {
    .mt-sm {
        margin-bottom: -20px;
        margin-top: 20px;
    }
}

.ted-btn {
    padding: 8px 16px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 4px;
    transition: transform 0.2s;
}

    .ted-btn:active {
        transform: translateY(2px);
    }

.tedtech-btn-primary.mud-button-root {
    background-color: var(--primary-colour);
    color: #fff;
    opacity: 1;
}

.tedtech-btn-primary.mud-button-root:hover {
    background-color: var(--primary-colour);
    opacity: 0.5;
    transition: opacity 0.5s;
    color: #fff;
}

.tedtech-btn-secondary.mud-button-root {
    background-color: var(--secondary-colour);
    color: #fff;
}

.tedtech-btn-secondary.mud-button-root:hover {
    background-color: var(--secondary-colour);
    opacity: 0.5; 
    transition: opacity 0.5s;
    color: #fff;
}

.tedtech-btn-secondary:hover {
    background-color: var(--secondary-colour) !important;
    color: #fff;
    opacity: 1;
    transition: opacity 0.5s;
}

.tedtech-btn-tertiary:hover {
    background-color: var(--tertiary-colour) !important;
    color: #fff;
    opacity: 1;
    transition: opacity 0.5s;
}

.tedtech-btn-tertiary.mud-button-root {
    background-color: var(--tertiary-colour);
    color: #fff;
}

.tedtech-btn-tertiary.mud-button-root:hover {
    background-color: var(--tertiary-colour);
    opacity: 0.5;
    transition: opacity 0.5s;
}

.tedtech-outlined-button-primary {
    color: var(--primary-colour);
}

    .tedtech-outlined-button-primary:hover {
        color: var(--primary-colour);
        opacity: 0.5; 
        transition: opacity 0.5s;
    }

/* Styles for screens smaller than 960px */
@media only screen and (max-width: 959px) {
    .form-submit-btns {
        justify-content: flex-end;
        padding-left: 10px;
    }
}

/* Styles for screens larger than or equal to 960px */
@media only screen and (min-width: 960px) {
    .form-submit-btns {
        justify-content: flex-end;
    }
}

/* Headers =========================================================== */

.tedtech-container {
    background-color: var(--secondary-colour);
}

/* Footers =========================================================== */

.tedtech-container-footer {
    max-width: 80%;
    margin: 0 auto;
}

/* Drawers ============================================================ */

.tedtech-drawer .mud-drawer {
    width: 350px !important;
}

.tedtech-drawer .mud-drawer-header {
    background-color: var(--secondary-colour);
    color: #fff;
}

/* Checkboxes ========================================================== */


.tedtech-chkbx .mud-icon-root.mud-svg-icon {
    color: var(--secondary-colour) !important;
}

/*Popovers ============================================================= */
.tedtech-popover .popover-header {
    background-color: var(--secondary-colour);
    color: #fff;
}

.ted-info {
    border: 1px solid var(--secondary-colour);
    border-radius: 5px;
    padding: 10px;
}

/*Radio Groups / Btns ================================================== */
.enquiry-radio-btn-group, .enquiry-warranty-radio-wrapper {
    flex-wrap: wrap;
    margin-top: -10px;
}

    .enquiry-radio-btn-group .mud-radio-group,
    .enquiry-warranty-radio-wrapper .mud-radio-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }

    .enquiry-radio-wrapper {
        border: 1px solid #a3a2a2;
        border-radius: 5px;
        padding: 10px;
        margin-right: 10px;
        display: flex;
        justify-content: space-evenly;
        margin-top: 10px;
    }

    .enquiry-checkbox-wrapper {
        border: 1px solid #a3a2a2;
        border-radius: 5px;
        align-items: center;
        margin-right: 10px;
        justify-content: space-between;
        margin-top: 10px;
        color: #000;
    }

    .enquiry-radio-btn-group {
        display: flex;
    }

    .enquiry-checkbox-wrapper .mud-input-control-input-container {
        width: 100%;
        height: 100%;
        align-items: center;
    }

        .enquiry-checkbox-wrapper .mud-input-control-input-container .mud-checkbox {
            width: 100%;
            height: 100%;
            padding: 10px;
            align-items: center;
            justify-content: center;
        }

            @media only screen and (max-width: 600px) {
                .enquiry-checkbox-wrapper .mud-input-control-input-container .mud-checkbox {
                    justify-content: left;
                }
            }

.enquiry-radio-wrapper:has(input[type="radio"]:checked), .enquiry-radio-wrapper:hover, .enquiry-radio-wrapper:focus,
.enquiry-checkbox-wrapper:hover, .enquiry-checkbox-wrapper:focus, .enquiry-checkbox-wrapper:has(input[type="checkbox"]:checked),
.enquiry-radio-wrapper.selected, .enquiry-radio-wrapper.selected:hover, .enquiry-radio-wrapper.selected:focus,
.enquiry-checkbox-wrapper.selected:hover, .enquiry-checkbox-wrapper.selected:focus, .enquiry-checkbox-wrapper.selected {
    background-color: var(--secondary-colour--rgba);
    border: 1px solid var(--secondary-colour);
    color: #000;
}
    .mud-input-label::after{
        content: none !important;
    }

    .mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
        border-width: 2px;
        border-color: var(--mud-palette-secondary) !important;
    }

    .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
        color: var(--mud-palette-secondary)
    }

    .warranty-radio-wrapper {
        display: flex;
        align-items: center;
        flex: 1 0 auto;
        justify-content: space-between;
    }

    .enquiry-radio-wrapper:hover .enquiry-radio-description {
        color: black;
    }

    .enquiry-radio-description {
        color: var(--secondary-colour);
    }

    .ted-radio {
        fill: black;
    }

    .enquiry-radio-wrapper:has(input[type="radio"]:checked),
    .enquiry-radio-wrapper.selected {
        fill: var(--secondary-colour--rgba);
        margin-right: 10px;
    }

    .enquiry-radio-wrapper:has(input[type="radio"]:checked), .enquiry-radio-wrapper.selected .enquiry-radio-wrapper:hover, .enquiry-radio-wrapper:focus {
        background-color: var(--secondary-colour--rgba);
        color: #000;
    }

    .warranty-radio-wrapper {
        display: flex;
        align-items: center;
        flex: 1 0 auto;
        justify-content: space-between;
    }

    .enquiry-radio-wrapper:hover .enquiry-radio-description {
        color: black;
    }

    .enquiry-radio-wrapper:hover .ted-radio svg path {
        fill: black;
    }

    .enquiry-radio-description {
        color: var(--secondary-colour);
    }

    .ted-radio {
        fill: black;
    }

        .ted-radio:has(input[type="radio"]:checked) {
            fill: var(--secondary-colour--rgba);
        }

    .text-center {
        text-align: center;
    }

    @media only screen and (max-width: 600px) {
        .enquiry-radio-btn-group, .enquiry-radio-btn-group .mud-radio-group {
            display: flex !important;
            flex-direction: column !important;
        }

        .enquiry-radio-wrapper:nth-child(3n + 1) {
            margin-top: 10px;
        }
    }

    .enquiry-radio-wrapper:hover {
        color: var(--secondary-colour-rgba);
        transition: 0.5s;
    }

    .enquiry-radio-wrapper .mud-radio {
        justify-content: space-between;
    }

    .enquiry-radio-wrapper .mud-radio-button:has(input[type="radio"]:checked),
    .enquiry-warranty-radio-wrapper .mud-radio-button:has(input[type="radio"]:checked),
    .Tedtech-Radio-Wrapper .mud-radio-button:has(input[type="radio"]:checked),
    .enquiry-radio-wrapper.selected,
    .enquiry-warranty-radio-wrapper.selected,
    .Tedtech-Radio-Wrapper.selected {
        width:100%;
        opacity: 1;
        transition: opacity 0.5s;
    }

    .enquiry-radio-btn-group .mud-input-control-helper-container,
    .enquiry-warranty-radio-wrapper .mud-input-control-helper-container {
        display: flex;
        width: 100%;
    }

    .enquiry-radio-wrapper .mud-radio-content-placement-bottom {
        margin-inline-start: revert !important;
        margin-left: 0px !important;
    }
    /*MudAlerts*/
.ted-custom-alert-primary-colour {
    background-color: var(--primary-colour--rgba);
    color: black;
    border: var(--primary-colour--rgba);
}

    .ted-custom-alert-primary-colour .mud-alert-message {
        color: black;
    }

    .ted-custom-alert-primary-colour .mud-alert-icon {
        color: black;
    }

    .ted-custom-alert-primary-colour .mud-alert-action {
        color: black;
    }

.ted-custom-alert-secondary-colour {
    background-color: var(--secondary-colour--rgba);
    color: black;
    border: var(--secondary-colour--rgba);
}

    .ted-custom-alert-secondary-colour .mud-alert-message {
        color: black;
    }

    .ted-custom-alert-secondary-colour .mud-alert-icon {
        color: black;
    }

    .ted-custom-alert-secondary-colour .mud-alert-action {
        color: black;
    }

