﻿.warrantyGrid {
    display: grid;
    grid-template-columns: calc(40% - 44px) calc(60% - 44px);
    gap: 90px;
    padding: 20px 0;
    position: relative;
    align-items: center;
}

.warrantyGrid:before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0px;
    left: calc(40%);
    background: var(--black)
}

.form-container {
    padding: 20px 0px;
    border-radius: 5px;
}

.form-horizontal {
    padding: 20px 0;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
}

.form-group + p {
    font-size: 13px;
    margin: 30px 0;
}

.form-control {
    padding: 10px 0px 10px 8px;
    background-color: #f7f7f7;
    border: none;
    border-bottom: 1.25px solid grey;
    width: min(100%, 365px);
    margin-bottom: 15px;
    height: 45px;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 0.125px;
    font-family: var(--fontP);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/*for radio buttons */
.background {
    width: 31.19px;
    height: 31.19px;
    border-radius: 77.98px;
    background-color: #1D1B201F;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


#initialContent {
    width: min(100%, 400px);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.selectiveBlock__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.media {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    position: relative;
    border-radius: 8px;
    background: transparent;
    transition: 0.3s linear;
}
.media:hover {
    background: linear-gradient(180deg, #FFF 0.06%, #42B3FE 377.72%);
    box-shadow: -138px 282px 88px 0px rgba(1, 30, 49, 0.00), -6px 11px 20px 0px rgba(1, 30, 49, 0.10);
    transition: 0.3s linear;
}
.media-image {
    width: 37px;
    height: 37px;
}
.media-image picture {
    display: flow-root;
}

.media-image picture img {
        width: 100%;
    }
.media-body {
    width: calc(100% - 37px);
    padding-left: 10px;
}
.media-body h4 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
    margin: 0px 0px 5px 0px;
}
.media-body p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #6D6E71;
    margin: 0px;
}
.media-body__link .Link {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 0px;
}

.table {
    margin-top: 20px;
}

#apiResponseContent h4 {
    margin-bottom: 15px;
    color: #007bff;
}

.submit-btn-container {
    text-align: right;
}

.submit-btn {
    text-decoration: none;
    border: 1px solid transparent;
    background: linear-gradient(70deg, #33FF6CB2, #318ADDB2);
    overflow: hidden;
    padding: 17px 45px 17px 16px;
    position: relative;
    display: inline-block;
    background: linear-gradient(123deg, rgba(51, 255, 108, 0.70) -19.3%, rgba(49, 138, 221, 0.70) 63.25%);
    color: var(--white);
    justify-content: end;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
}

    .submit-btn:after {
        content: "";
        width: 24px;
        height: 24px;
        background: url("../images/arrow-right-white.svg") center / 14px no-repeat;
        position: absolute;
        right: 16px;
        top: calc(50% - 12px);
    }

/* styles for warranty details */
.warranty-details {
    font-family: Arial, sans-serif;
    margin: 20px 0px;
    padding: 15px;
    border-radius: 5px;
}

.model-title {
    color: var(--primaryBlue); /* Static content color */
    margin-bottom: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.64px;
    text-transform: uppercase;
}


.model-desc {
    color: var(--black); /* Dynamic content color */
    font-weight: 400;
}

.coverage-title {
    font-size: 1.3em;
    text-align: center;
    background-color: #B3D8EF;
    margin-bottom: 0px;
    border: 1.36px solid #667085;
    border-bottom: none;
    color: #667085;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.64px;
    text-transform: uppercase;
}

.coverage-table {
    width: 100%;
    border-collapse: collapse;
}

    .coverage-table th,
    .coverage-table td {
        padding: 8px;
        text-align: left;
    }

.coverage-header {
    background-color: #e2e2e2;
    border: 2px solid #667085;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.coverage-type {
    font-weight: bold;
}

.coverage-description {
    font-style: italic;
}

.effective-start,
.effective-end {
    text-align: center;
    color: #007bff;
}

.bottom-terms {
    font-size: 13.02px;
    color: #61646B;
    margin-top: 35px !important;
}

.data {
    border: 2px solid #667085;
    color: #667085;
    font-size: 12px;
    font-weight: 500;
}

/* Registered Standard Coverage Table and extended service */
.small-table {
    width: auto;
    min-width: 275px;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.small-table-title {
    padding: 10px;
    margin-bottom: 0px;
    text-align: left;
    background-color: #B3D8EF;
    font-size: 1.2em;
    font-weight: 700;
    color: #667085;
    padding: 10px;
    border: 1.36px solid #667085;
   
}

.small-table-data {
    padding: 8px;
    text-align: left;
    border: 1.36px solid #667085;
    color: #667085;
}



/*checkbox styling*/
.csCheckbox {
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 6px;
}

.csCheckbox__input {
    margin: 0px;
    outline: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
    border-radius: 100%;
    cursor: pointer;
}
.form-group .wl-error-message {
    color: var(--daikin_orange);
    font-family: var(--fontP);
    margin: 0px;
}
.form-group #serialNumber {
    margin-bottom: 0px;
}
.csCheckbox__placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s linear;
    border-radius: 50%;
    background: var(--daikin_grey);
}

    .csCheckbox__placeholder:before {
        content: "";
        width: calc(50% - 6px);
        height: calc(50% - 6px);
        position: absolute;
        background: var(--white);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid #181C20;
        border-radius: 5px;
        transition: 0.3s linear;
    }

    .csCheckbox__placeholder img {
        width: 20px;
        height: auto;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0);
        transition: 0.3s linear;
        z-index: 2;
    }

.csCheckbox__input:checked + .csCheckbox__placeholder {
    box-shadow: 0px 0px 12.187px 0px var(--daikin_orange);
    background: var(--white);
    transition: 0.3s linear;
}

.csCheckbox__input:checked + .csCheckbox__placeholder:before {
    background: var(--daikin_orange);
    border-color: var(--daikin_orange);
    transition: 0.3s linear;
}

.csCheckbox__input:checked + .csCheckbox__placeholder img {
    animation: zoomIn 0.3s linear forwards;
    animation-delay: 0.2s;
    transition: 0.3s linear;
}

.warrantyGrid .rightSection {
    position: relative;
    height: 100%;
    align-items: center;
    display: flex;
}

.loaderBlock {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(0 30 49 / 50%);
    backdrop-filter: blur(13.963233947753906px);
    color: var(--white);
}

.itemPreLoader {
    width: 60px;
    height: 60px;
    background: url("../images/pre-loader.svg") center / contain no-repeat;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
}

.loaderBlock:not(.show) {
    display: none;
}


@keyframes zoomIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.25);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}


/* MEDIA QUERY */

@media screen and (max-width: 767px) {
    .warrantyGrid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .warrantyGrid:before {
        content: none;
    }

    .warranty-details {
        margin: 0;
        padding: 0;
    }
}

/* MEDIA QUERY END */

/* Style for disabled submit button */
.submit-btn:disabled {
    background: #80808040; 
    cursor: not-allowed; 
}
