* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.simulasiads {
    width: 300px;
    height: 600px;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.simulasiads img {
    width: 100%;
}

.simulasiads .img-tambahan {
    display: flex;
    width: 210px;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
}

.simulasi__articles {
    position: absolute;
    width: 92%;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    overflow-x: scroll;
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: #D45359 #fff;
}

/* Works on Chrome, Edge, and Safari */
.simulasi__articles::-webkit-scrollbar {
    height: 8px;
}

.simulasi__articles::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #CED0D1;
}

.simulasi__articles::-webkit-scrollbar-thumb {
    background-color: #EE3633;
    border-radius: 20px;
}

.article__small {
    margin-bottom: 8px;
    margin-right: 10px;
    flex: 0 0 80%;
}

.article__small--link {
    text-decoration: none;
    color: #000;
    display: flex;
}

.article__small--img {
    flex: 0 0 35%;
    height: 70px;
    margin-right: 10px;
}

.article__small--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article__small--text {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.article__small--title {
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    overflow: hidden;
    font-weight: bold;
    color: #D45359;
}

.article__small--content {
    overflow: hidden;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    color: #D45359;
}

.simulasi__wrap {
    width: 280px;
    height: 333px;
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 27px 10px 0;
    font-size: 14px;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
}

.select__type {
    width: 210px;
    margin: 0 auto 12px;
    text-align: center;
    background: #ced0d1;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.select__opt {
    display: inline-block;
    padding: 3px 0;
    font-weight: bold;
    width: 105px;
}

.select__type input[type="radio"] {
    display: none;
    cursor: pointer;
}

.select__opt, label {
    cursor: pointer;
}

.select__opt label {
    display: block;
}

.select__opt.selected {
    background-color: #D45359;
    color: #fff;
    border-radius: 8px;
}

.simulasi__type {
    width: 100%;
    height: 235px;
    overflow-y: hidden;
    padding: 0 10px 0;
}

.simulasi__type p {
    text-align: center;
    font-weight: bold;
    color: #D45359;
    font-size: 14px;
    margin-bottom: 7px;
}

.simulasi__type small {
    font-size: 10px;
    margin-left: 10px;
    color: #D45359;
    font-weight: 700;
}

.user__input {
    height: 165px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #D45359 #fff;
}

/* Works on Chrome, Edge, and Safari */
.user__input::-webkit-scrollbar {
    width: 8px;
}

.user__input::-webkit-scrollbar-track {
    border-radius: 10px;
    border: none;
    background: #CED0D1;
}

.user__input::-webkit-scrollbar-thumb {
  background-color: #EE3633;
  border-radius: 20px;
  border: none;
}

.input__bar {
    padding: 0 20px;
    margin: 8px 0 12px;
}

.input__bar:first-child {
    margin: 0 0 12px;
}

.input__bar label {
    font-size: 13px;
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 700;
}

.input__bar input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 14px;
    border: none;
    background: #CED0D1;
    font-size: 15px;
    font-weight: 700;
}

.input__bar input:focus {
    outline: none;
}

.input__bar input:read-only {
    background-color: rgb(226, 226, 226);
}

.result {
    text-align: center;
    padding: 3px;
    color: #fff;
    margin-top: 5px;
}

.simulasi__hide {
    display: none;
}

.btn__check {
    display: inline-block;
    padding: 8px 6px;
    background: #16A365;
    color: #fff;
    border-radius: 14px;
    margin-left: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.input__bar .pajak {
    width: 60%;
}

.btn__result {
    background-color: #D45359;
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 47px;
    cursor: pointer;
}

.simulasi__ulang {
    position: absolute;
    top: 480px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #D45359;
    cursor: pointer;
}

.credit__total,
.ownership__total {
    font-size: 20px;
    font-weight: bold;
    background-color: #D45359;
    color: #fff;
    border: none;
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 100%;
    height: 30px;
    display: flex;
    padding-top: 2px;
    justify-content: center;
}

.result .result__small {
    font-weight: normal;
    font-size: 10px;
    background-color: #D45359;
    color: #fff;
    border: none;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 17px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}