﻿.border-btn {
    border: 1px solid #CBD5E1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 7px 12px;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    text-align: center;
    color: #0F172A;
    border-radius: 8px;
    background: #fff;
}

    .border-btn:focus, .border-btn:hover {
        background: #f2f2f2b0;
    }
.border-btn-purple {
    border: 1px solid #D6BBFB;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 7px 12px;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    text-align: center;
    color: #6941C6;
    border-radius: 8px;
    background: #fff;
}

    .border-btn-purple:focus, .border-btn-purple:hover {
        background: rgb(214 187 251 / 38%);
        border: 1px solid rgb(214 187 251 / 38%);
    }
    .border-btn-purple:disabled {
        cursor: not-allowed !important;
        border: 1px solid #D6BBFB !important;
        background: #fff !important;
    }
.border-btn-sm {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    color: #344054;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #D5D7DA;
    background: #fff;
    display: flex;
    justify-content: start;
    align-items: center;
    white-space: nowrap;
}

.btn-tertiary {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #535862;
    padding: 10px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: none !important;
    border-radius:10px;
}
    .btn-tertiary:hover, .btn-tertiary:focus {
        background: #FAFAFA;
        color: #535862;
    }
.btn-black {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #182230;
    border: 1px solid #182230;
    border-radius: 10px;
    cursor: pointer;
}
    .btn-black:hover, .btn-black:focus {
        background: #000000e3 !important
    }
.btn-step {
    border: 1px solid #FAC515;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    background:#fff;
    border-radius:10px;
}
    .btn-step:hover {
        border: 1px solid #a891dab8;
        background: #F9F5FF;
    }
.link-btn {
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: #0A67EB;
    cursor:pointer;
}
.btn-primary {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #fff;
    padding: 7px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #7F56D9;
    border: 1px solid #7F56D9 !important;
    background-color: #7F56D9 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: all 0.8s;
    border:none !important;
}
    .btn-primary:hover, .btn-primary:focus {
        /*border: 1px solid #6f47c6 !important;
        background-color: #6f47c6 !important;*/
        border: none !important;
        background-color: #6b3dd1 !important;
    }
.btn-danger {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #fff;
    padding: 7px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #D92D20;
    border: 1px solid #D92D20 !important;
    background-color: #D92D20 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: all 0.8s;
    border: none !important;
}
    .btn-danger:hover, .btn-danger:focus {
        border: none !important;
        background-color: #D92D20 !important;
    }
/* Form Label & Input */
.form-label {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    color: #414651;
}

.input-group-merge, .input-group-merge:focus {
    border: 1px solid #D5D7DA;
    border-radius: 8px;   
}
.form-select {
    border: 1px solid #D5D7DA;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #344054;
    box-shadow: none !important;
    outline: none !important;
    width: 100%;
    padding-right: 1.8rem !important;
    background-position: right 0.5rem center;
}
    .form-select:hover, .form-select:focus {
        background-color:#f2f2f2b0;
    }
.form-control {
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #101828;
    box-shadow: none !important;
    outline: none !important;
    padding: 0.625rem 1rem;

}
    .form-control.is-invalid{
        /*border-color: #ed4c78 !important;*/
    }
.form-control-location{
    padding-right:7rem !important;
}
.input-group-text {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-color: none;
    right: 1px;
}
::placeholder {
    color: #667085 !important;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #667085 !important;
}
/* Form Label & Input */
input.search-with-icon {
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    width: 100%;
    display: block;
    outline: none !important;
    padding: 10px 20px 10px 40px;
    background: #fff url("../images/icons/search-lg.svg") no-repeat 10px center;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #414651;
    box-shadow: none !important;
    outline: none !important;
}
    input.search-with-icon::placeholder {
        font-size: 14px !important;
        font-style: normal;
        font-weight: 400;
        line-height: 20px !important;
    }
    .location-change-btn{
    position:absolute;
    top:3px;
    right:4px;
}
    .location-change-btn .btn-black {
        padding: 6px 6px;
    }
.switch {
    position: relative;
    display: inline-block;
    /*width: 60px;
    height: 34px;*/
    min-width: 36px;
    min-height: 20px;
    max-width: 36px;
    max-height: 20px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        min-height: 16px;
        min-width: 16px;
        max-height: 16px;
        max-width: 16px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #7F56D9;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7F56D9;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }
.accordion-item{
    border:none;
    border-radius:12px;
}
.accordion-button {
    background: #F9F5FF;
    padding: 20px;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    /*border-radius: 12px !important;*/
    z-index:0;
}
    .accordion-button:not(.collapsed) {
        background: #F9F5FF;
    }
.accordion-body {
    background: #F9F5FF;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0px 50px 20px 20px;
    /*margin-top:-18px !important;
    z-index:1;*/
}
.accordion-button::before {
    background-image: url('../images/icon/accordion-chevron-up.svg') !important;
    background-size: 24px 24px;
    object-fit: contain;
    width: 1.5rem !important;
    height: 1.5rem !important;
}
.accordion-button::after {
    background-image: url('../images/icon/accordion-chevron-down.svg') !important;
    background-size:24px 24px;
    object-fit:contain;
    width:1.5rem !important;
    height:1.5rem !important;
}
.disabled {
    background: #dddddd !important;
    cursor: not-allowed !important;
    border:none !important
}
.detail-info-accordion .accordion-item {
    border: none;
    border-radius: 12px;
    background: #fff !important;
    padding:0px;
}
.info-accrodion-button{
    background:#fff;
    padding:0px !important;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    width:100%;
    align-items:center;
}
.info-accordion-body{
    background:#fff;
    padding-top:1rem !important;
}
.form-back-btn{
    cursor:pointer;
}
.badge-blue {
    color: #175CD3;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    border-radius: 14px;
    border: 1px solid #B2DDFF;
    background: #EFF8FF;
    padding: 2px 8px;
    white-space: nowrap;
    max-height: 28px;
    width: auto !important;
}
.badge-red {
    color: #B42318;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    border-radius: 14px;
    border: 1px solid #FECDCA;
    background: #FEF3F2;
    padding: 2px 8px;
    white-space: nowrap;
    width: auto !important;
}
.badge-default {
    color: #067647;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    border-radius: 14px;
    border: 1px solid #ABEFC6;
    background: #ECFDF3;
    padding: 2px 8px;
    white-space: nowrap;
    width: auto !important;
}
.share-btn {
    font-size: 14px !important;
    font-style: normal !important;


    font-weight: 400 !important;
    line-height: 20px !important;
    color: #6941C6;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #D6BBFB;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
    .share-btn:hover, .share-btn:focus {
        background: rgb(214 187 251 / 38%);
        border: 1px solid rgb(214 187 251 / 38%);
        color: #6941C6;
    }
    .imput-group-prepend-container {
        display: flex;
        align-items: center;
        border: 1px solid #dcdcdc; /* Light gray border */
        border-radius: 8px;
        padding: 8px 12px;
        background-color: #fff; /* White background */
        width: 100%;
    }

.prepend-icon {
    margin-right: 8px;
}

.prepend-input {
    border: none;
    outline: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #101828;
    font-family: inherit;
    background: transparent;
}

    .prepend-input::placeholder {
        color: #667085 !important;
    }
.select-container {
    position: relative;
    width: 100%;
}

.select-box-icon {
    position: absolute;
    left: 10px;
    top: 47%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
}
.icon-btn {
    min-width:36px;
    max-width:36px;
    min-height:36px;
    max-height:36px;
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    background: #fff;
    cursor: pointer;
    outline: none !important;
}
    .icon-btn:hover, .icon-btn:focus {
        background: #f2f2f2b0;
    }
    .icon-btn .icon {
        width: 20px;
        height: 20px;
    }
.icon-btn-40 {
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    background: #fff;
    cursor: pointer;
    outline: none !important;
}

    .icon-btn-40:hover, .icon-btn-40:focus {
        background: #f2f2f2b0;
    }

    .icon-btn-40 .icon {
        width: 20px;
        height: 20px;
    }
.answer-status-badge {
    border: 1px solid #7F56D9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: #101828;
    border-radius: 8px;
    background: #F4EBFF;
    white-space:nowrap;
}

    .answer-status-badge.correct {
        border: 1px solid #17B26A !important;
        background: #DCFAE6 !important;
    }

.recommend-status-badge {
    border: 1px solid #7F56D9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 10px;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: #067647;
    border-radius: 50px;
    background: #F4EBFF;
    white-space: nowrap;
    overflow: hidden;
    max-height: 28px;
}
    .recommend-status-badge.recommend {
        border: 1px solid #17B26A !important;
        background: #DCFAE6 !important;
    }

.answer-card {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #F9FAFB;
    border: 1px solid #E4E7EC;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: #475467;
    padding:4px 8px;
    border-radius:5px;
}
    .answer-card.choosen {
        background: #F4EBFF;
        border: 1px solid #7F56D9;
    }

.answer-status-badge-fill-in-blank {   
    display: flex;
    justify-content: start;
    align-items: center;
    width: auto;
    padding: 6px 12px;
    font-style: normal !important;
    line-height: 20px !important;
    color: #101828 !important;
    border-radius: 6px;
    background: #F4EBFF;
    white-space: normal;
    word-wrap: break-word;
}
.border-btn-purple-icon{
    width:36px !important;
    height:36px !important;
}