/* global styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* cusotom checkbox */

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  .checkmark {
    height: 16px;
    width: 16px;
    background-color: #eee;
    border-radius: 3px;
  }
  
  .container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  .container input:checked ~ .checkmark {
    background-color: #066AFE;
  }
  
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  .container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }


  table, th, td {
    border-collapse: collapse;
  }

.bold-text {
    font-weight: bold;
}
.button {
    cursor: pointer;
    width: auto;
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
    border-radius: 4px;
    padding: 8px 20px;
    height: 40px;
}

.button-primary {
    background-color: #006AFE;
    color: #FFF;
    border: 1px solid #006AFE;
}

.button-primary:hover {
    background-color: #0056d2; 
    color: #ffffff; 
}

.button-secondary {
    background-color: #FFF;
    color: #006AFE;
    border: 1px solid #006AFE;
}

.button-secondary:hover {
    background-color: #e6f0ff; 
    color: #004bb5; 
    border: 1px solid #004bb5;
}

.button[disabled],
.button.disabled {
    background-color: #C9C9C9;
    color: #939393;
    cursor: not-allowed;
    border: 1px solid #C9C9C9;
}

.button-secondary.disabled {
    background-color: #FFFFFF;
}

form label {
    font-size: 14px;
    line-height: 18px;
}

form input,
form select,
.slds-input,
.slds-combobox__input {
    font-size: 16px;
    line-height: 20px;
    height: 40px;
    width: 100%;
    border: 1px solid #5c5c5c;
    border-radius: 4px;
    padding: 5px 7px;
}
form input[type=radio] {
    width: auto;
    height: auto;
}
.slds-form-element__control .slds-radio {
    display: inline-block;
}
.slds-radio [type="radio"]:checked + .slds-radio__label .slds-radio_faux {
    background-color: #006AFE;
    border: 1px solid #006AFE;
}
.slds-radio [type="radio"]:checked + .slds-radio__label .slds-radio_faux::after {
    background-color: #FFFFFF;
}
.a-link {
    color: #066AFE;
    text-decoration: none;
}

.top-margin--large {
    margin-top: 50px;
}
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
.d-inline-flex {
    display: inline-flex;   
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.no-border {
    border: none;
}
.blur-background{
    position : fixed;
    top : 0;
    left :0;
    width : 100%;
    height : 100%;
    background : rgba(255,255,255, 0.5);
    backdrop-filter: blur(5px);
    z-index : 998;
}
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; 
    gap: 10px;
}
.previous-button {
    position: absolute;
    color: #006AFE;
    left: 0;
}
.previous-button:hover {
    color: #0056d2;
}
.cancel-case {
    position: absolute;
    right: 0;
}

.footer-links .footer-link a {
    color: #FFF;
}
.footer-links .footer-link a:hover {
    color: #009cde;
}

#consent-banner{
    position:fixed;
    bottom:0;
    width:100%;
    z-index:999999;
}
    

@media screen and (max-width: 1023px) {
    ::-webkit-scrollbar {
        width: 5px;
    }
    .button {
        width: 100%;
        padding: 8px 0;
    }
    .mobile-d-none {
        display: none !important;
    }
    .mobile-d-block {
        display: block !important;
    }
    .button-container {
        flex-direction: column;
    }
    .button-container button{
        width: 100%;
    }
    .previous-button,
    .cancel-case {
        position: static;
        left: 0;
        right: 0;
    }
    .top-margin--large {
        margin-top: 30px;
    }
}
