@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

:root{
    --main-colour:#1e90ff;
    --mainbackground:#191B1D;
    --card-background:#22262c;
    --form-background:#fff;
    --form-inputborder:#aaaaaa;
    --main-colour-hover:#589fe6;
}

body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-colour);
    font-family: "Poppins", sans-serif;
}

.container{
    background:var(--form-background);
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 6px;
    padding:30px;
    margin:10px 15px;
    box-shadow: 1 5px 10px rgba(0,0,0,.1) ;
}

/* #heading{
    display:flex;
    justify-content: baseline;
    align-items: center;
} */


.companylogo{
    height:70px;
    border-radius: 5px;
    margin-right: 10px;
}
.container header{
    position: relative;
    font-size: 16px;
    font-weight:600;
    color:var(--card-background);
    /* text-align: center; */
}

.container header::before{
    content: "";
    position: absolute;
    left: 0;
    bottom:-2px;
    height:3px;
    width:100%;
    margin-top:10px;
    background:linear-gradient(to left, rgb(30, 144, 255), rgba(30, 144, 255,0)) ;
    border-radius: 8px;
}

.container form{
    position: relative;
    margin-top: 25px;
    min-height: 500px;
    background: var(--form-background);
}

.container form .details{
    margin-top: 10px;
}

.container form .title{
    font-size: 16px;
    font-weight: 500;
    margin:6px 0;
    color:#333;
    display: block;
    margin-bottom: 8px;
}

.form__group{
    position: relative;
    width:100%;
    height:3rem;
    margin-top: 2rem;
}

.form__control{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--form-inputborder);
    border-radius: .5rem;
    font-family: inherit;
    color: black;
    outline: none;
    padding:1.25rem;
    background:none ;
}



select.form__control {
    height:unset;
    margin-bottom: 1rem;
}

.form__control:hover{
    border-color: var(--card-background);
}

.form__control:focus{
    border-color: var(--main-colour);
}

.form__control:focus ~ .form__label{
    color: var(--main-colour);
}

.form__label{
    position:absolute;
    color: var(--form-inputborder);
    top: 0.8rem;
    left: 1rem;
    padding: 0 0.5rem;
    cursor: text;
    background: var(--form-background);
    transition: top 200ms ease-in left 200ms ease-in font-size 200ms ease-in;
}

.form__control:focus ~ .form__label,
.form__control:not(:placeholder-shown).form__control:not(:focus) ~ .form__label{
    top:-0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
}

.container .btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 0;
    outline: none;
    max-width: 200px;
    height: 45px;
    width:100%;
    background: var(--main-colour);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    margin:25px 0;
    cursor: pointer;
    font: inherit;
}

.container .btn:hover{
    background: var(--main-colour-hover);
}

.container .disabled{
    background: var(--form-inputborder);
}

.container .disabled:hover{
    background: var(--form-inputborder);
}


.container .btn i{
    margin: 0 6px;
}

/* .container .buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.container .back__btn{
    color:var(--main-colour);
    border: 1px solid var(--main-colour);
    background: #fff;
    margin-right: 10px;
}

.container .back__btn:hover{
    color:#fff;
}

.toggle-switch{
    display: flex;
    height:30px;
    width:100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 14px;
}

.toggler{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width:50px;
    height:25px;
    background: var(--main-colour);
    border-radius: 25px;
    margin: 0 1rem;
    position: relative;
}

.toggler::before{
    content: "";
    width:16px;
    height: 16px;
    background:#fff;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    right:4px;
}

.toggler:checked:before{
    right:55%
}

#excessprotectordiv,
#politicalviolencediv,
#acceptprivacypolicydiv,.additionalproduct{
    justify-content: normal;
    margin-left: -20px;
    margin-top:20px;
}

#excessprotectordiv .toggler:checked,
#politicalviolencediv .toggler:checked,
#acceptprivacypolicydiv .toggler:checked,
.additionalproduct .toggler:checked{
    background-color: var(--form-inputborder);
}


.cards {
    display: flex;
    justify-content: center;
    gap:5px;
    align-items: center;
    flex-wrap: wrap;
}

.card{
    height:460px;
    max-width:280px;
    /* flex:1; */
    background:var(--form-background);
    color:var(--card-background);
    border-radius: 15px;
    margin:10px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgb(212, 210, 210);
    box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    -webkit-box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    -moz-box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
}

.card img{
    width:75px;
    border-radius: 3px;
}

.card-title{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-price{
    font-size: 2rem;
    text-align: center;
    font-weight: 400;
}

h2>span{
    font-size: 1rem;   
}

.card ul{
    text-align: left;
    font-size:0.9rem ;
    font-weight: 300;
}

.card ul li::before{
    content:"•";
    margin-right: 0.5rem;
    color: var(--main-colour);
    font-size: 1.5rem;
}

.card ul li {
    list-style: none;
    margin-bottom: 0.2rem;
}

.card-btn{
    margin-top: 1rem;
    width:100%;
    background:transparent;
    border: 1px solid var(--main-colour);
    color: var(--main-colour);
    font-size: 1rem;
    padding: 1rem;
    border-radius: 5px;
    font-family: inherit;
    border: 1px solid rgb(212, 210, 210);
    box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    -webkit-box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    -moz-box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    transition: all 300ms ease;
}

.card-btn:hover,
.active{
    background: var(--main-colour);
    color:var(--form-background);
    border:1px solid var(--main-colour);
}

.active>.card-btn{
    background:var(--form-background);
    color:var(--main-colour);
    border:1px solid var(var(--form-background))
}

.active>.card-btn:hover{
    background:var(--mainbackground);
    color: var(--form-background);
    border: 1px solid var(--mainbackground);
}

.active ul li:before{
    color: #fff;
}

#selectedpolicy{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:15px;
    background: var(--form-background);
    color:var(--main-colour);
    border-radius: 5px;
    border:1px solid var(--main-colour);
    margin-bottom: 30px;
    border: 1px solid var(--main-colour-hover);
    font-size: 12px;
    /* box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    -webkit-box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    -moz-box-shadow: -1px 9px 20px -2px rgba(0,0,0,0.48);
    transition: all 300ms ease;
    font-size: 16px; */
}

#selectedpolicy .companyname{
    min-width:100%;
    margin-bottom: 20px;
}

.selectedpolicy .policytype,
.selectedpolicy .totalpremium{
    min-width: 50%;
}

.bold{
    font-weight: bold;
}

.scrollable{
    margin-top: 10px;
    max-height: 58vh;
    overflow-y: scroll;
}

.privacypolicy{
    font-size: 12px;
}

.smallheading{
    font-size: 16px;
    font-weight: 500;
    margin-top: 2rem;
    /* margin-bottom: rem; */
}

.insurancetype{
    /* height:75vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 80px;
}

.insurancetype h2{
    margin: 100px 0 80px 0;
    color: var(--main-colour);
    font-size: 18px;
    font-family: "Poppins",sans-serif;
    font-weight: 400;
}

.radio-buttons{
    width:100%;
    margin:0 auto;
    text-align: center;
}

.custom-radio input{
    display: none;
}

.radio-btn{
    margin:10px ;
    width:180px;
    height:200px;
    border:3px solid transparent;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 20px #c3c3c3 ;
    cursor: pointer;
}

.radio-btn > i{
    color: #fff;
    background-color: var(--main-colour);
    font-size: 20px;
    /* padding: 10px; */
    position: absolute;
    top:-15px;
    left: 50%;
    transform: translateX(-50%) scale(4);
    border-radius: 50px;
    padding:5px;
    transition: 0.2s;
    pointer-events: none;
    opacity:0;
}

.radio-btn .insurancetype-icon{
    width: 80px;
    height:80px;
    position: absolute;
    top:40%;
    left:50%;
    transform: translate(-50%,-50%);
    /* background-color: red; */
}

.radio-btn .insurancetype-icon i{
    color: var(--main-colour);
    line-height: 80px;
    font-size: 60px; 
}

.radio-btn .insurancetype-icon h3{
    color: var(--main-colour);
    width:80px;
    font-family: "Poppins",sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.custom-radio input:checked+.radio-btn{
    border: 3px solid var(--main-colour);
}

.custom-radio input:checked +.radio-btn > i{
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.productlogo{
    height:50px;
    margin-left:30px;
    border-radius: 10px;
}