/* color */
:root {
    --black: rgba(0, 0, 0, 0);
    --green: #7dd97d;
    --green2: #5cb85c;
    --green-bg: rgba(92, 184, 92, 0.2);
    --green-bg2: rgba(92, 184, 92, 0.6);
    --gray-unactive: #828282;
    --radius-1: 8px;
    --radius-2: 12px;
    --font-bold: 600;
    --font-normal: 400;
    --gray-border: #e0e0e0;
    --gray-bg: #f2f2f2;
    --gray-text: #333;
    --white: #fff;
    --blue-extend-button: #286090;
    --blue-color: #2d9cdb;
    --blue-background: #eaf5fb;
    --orange: #ec971f;
    --red: #b80006;
    --red-border: #e82320;
    --red-bg: rgba(232, 35, 32, 0.2);
    --red-bg-warn: #ffdcdc;
    /* transition */
    --transition: all 0.3s ease-in-out;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-family: "General Sans", sans-serif;
    scroll-behavior: smooth;
}

main {
    width: 100%;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h2 {
    font-size: 16px;
    font-weight: var(--font-bold);
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    background: none;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-pointer:hover {
    cursor: pointer;
}

.capitalized {
    text-transform: capitalize;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-full {
    width: 100%;
}

#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    transform: translateX(-100%);
    transition: var(--transition);
}

#backdrop.active,
#mobile-navigation.active {
    transform: translateX(0);
}

/* scroll bar*/
::-webkit-scrollbar {
    display: none;
}

/* resetting input type number*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.section-center {
    /*width: 90%;*/
    padding-inline: 24px;
    margin-inline: auto;
    max-width: 500px;
}

.select-option {
    display: flex;
    padding: 14px 16px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid var(--gray-border, #e0e0e0);
    font-size: 14px;
}

/* navigation */

#hamburger {
    cursor: pointer;
}

.mobile-navigation {
    display: flex;
    z-index: 1;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--white, #fff);
    padding: 16px 24px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    margin-bottom: 16px;
    max-width: 1200px;
    margin-inline: auto;
}

.mobile-navigation h1 {
    font-size: 20px;
    font-weight: var(--font-bold);
}

#mobile-navigation {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    width: 80%;
    background-color: white;
    z-index: 200;
    transform: translateX(-100%);
    transition: var(--transition);
}

#image--user-profile {
    border-radius: 9999px;
}

#image--user-profile-desktop,
#nav--links {
    display: none;
}

#image--user-profile-desktop {
    position: relative;
    cursor: pointer;
}

#image--user-profile-desktop > img:first-child {
    border-radius: 9999px;
}

.pop-over-account-info {
    position: absolute;
    top: 0;
    right: 3rem;
    width: 334px;
    /*height: 492px;*/
    height: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 0 16px;
    transition: height 300ms ease-in-out;
    overflow: hidden;
}

.show-pop-over-account-info {
    height: 500px;
}

.pop-over-img img {
    width: 104px;
    height: 104px;
    margin-inline: auto;
    margin-top: 40px;
    margin-bottom: 16px;
    border: 1px solid rgb(128, 128, 128);
    border-radius: 9999px;
}

.pop-over-img h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 28px; /* 140% */
}

.pop-over-img p {
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: rgb(130, 130, 130);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-border);
}

.pop-over-account-action > a,
.pop-over-account-info > a:last-child {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: black;
}

.pop-over-account-action > a img,
.pop-over-account-info > a:last-child img {
    height: 24px;
    width: 24px;
}

.pop-over-account-action > a:last-child {
    border-bottom: 1px solid var(--gray-border);
}

.pop-over-account-info a:hover {
    background-color: var(--gray-bg);
}

#nav--links a {
    color: var(--gray-unactive);
}

#nav--links a:hover {
    color: var(--blue-color);
}

/*  tab head navigation */
#nav--links .tab-nav-head__active{
    color: var(--blue-color);
}
.pop-over-account-info .active_nav{
    background-color: var(--gray-bg);
}
#mobile-navigation .active_nav{
    background-color: var(--gray-bg);
}
#mobile-navigation .profile-info {
    display: flex;
    /*grid-template-columns: calc(48px + 16px) 150px 25px;*/
    align-items: center;
    justify-content: space-between;
    margin: 16px 24px;
}

#mobile-navigation .profile-info div:first-child {
    display: flex;
    align-items: center;
    gap: 16px;
}

#mobile-navigation .profile-info div:first-child p {
    max-width: 175px;
    /*TODO change max-width when reach higher resolution*/
}

#mobile-navigation .profile-info img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

#mobile-navigation .profile-info h4 {
    font-size: 16px;
    font-weight: var(--font-bold);
    /*color: var(--gray-text);*/
    max-width: 175px;
}

#mobile-navigation .profile-info h4 p {
    font-size: 14px;
}

.mobile-nav-sub-menu {
    display: flex;
    /*width: 334px;*/
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    line-height: 24px;
    color: var(--gray-unactive);
}

.mobile-nav-sub-menu:hover {
    color: var(--green, #5cb85c);
}

.mobile-nav-sub-menu.active {
    background: var(--green-bg, rgba(92, 184, 92, 0.2));
    color: var(--green, #5cb85c);
    font-weight: var(--font-bold);
}

#dropdown-profile-info {
    transition: var(--transition);
}

#dropdown-profile-info-hide {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#dropdown-profile-info-hide.show {
    height: 100%;
    opacity: 1;
    visibility: visible;
}

.dropdown-profile-info-item {
    padding: 16px 24px;
    display: flex;
    gap: 16px;
    color: var(--gray-unactive);
}

.dropdown-profile-info-item:hover {
    background: var(--green-bg, rgba(92, 184, 92, 0.2));
    color: var(--green, #5cb85c);
    font-weight: var(--font-bold);
}


/*  tab navigation */
.tab-container {
    overflow: scroll;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    gap: 16px;
    padding: 0 24px 24px;
}

.tab-button svg {
    display: block;
}

.tab-button {
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-1);
    /*background: var(--green, #5CB85C);*/
    /*border: 1px solid var(--gray-border);*/
    font-weight: var(--font-bold);
    font-size: 14px;
    flex-wrap: nowrap;
    flex-shrink: 0;
    border: var(--gray-border) 1px solid;
}

.tab-logo-active {
    display: none;
}

.tab-button__active .tab-logo-active {
    display: block;
}

.tab-button__active .tab-logo-inactive {
    display: none;
}

.tab-button * {
    fill: var(--gray-unactive);
    color: var(--gray-unactive);
}

/* active state */
.tab-button__active {
    background: var(--green, #5cb85c);
    border: none;
}

.tab-button__active * {
    fill: white;
    color: white;
}

/* input */
.input-text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.input-text-container.warn-input {
    margin-bottom: 8px;
}

.input-text-container.warn-input + p {
    font-size: 12px;
    color: var(--gray-unactive);
    margin-bottom: 24px;
}

.input-text-container label {
    font-size: 14px;
    font-weight: var(--font-bold);
}

.input-text {
    padding-inline: 16px;
    line-height: 20px;
    border-radius: 12px;
    /*outline: var(--gray-border) 1px solid;*/
    border: var(--gray-border) 1px solid;
    /*text-transform: capitalize;*/
}

.input-text.input-text-v1 {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* input v2
    input isi double, 1 text 1 (icon / button)
*/
/* toggle password */
.input-text-v2 {
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    position: relative;
    width: 100%;
}

.input-text-v2 input:first-child {
    padding: 14px 16px;
}

.password-view-toggle-ico {
    position: absolute;
    right: 16px;
    top: 14px;
    /*transform: translate();*/
}

.password-checkbox {
    height: 0;
    display: none;
}

/* card container */
.card-container {
    /*padding: 16px;*/
    border-radius: var(--radius-2);
    padding: 16px;
}

.card-container_dialog {
    /*padding: 16px;*/
    border-radius: var(--radius-2);
}

.card--inline-space {
    padding-inline: 16px;
}

.card-item {
    border-radius: 12px;
    /*border: 1px solid var(--gray-border, #e0e0e0);*/
    background-color: white;
    overflow: hidden;
    margin-bottom: 16px;
}

.card-header {
    background-color: var(--gray-bg);
    padding: 16px;
    display: flex;
    align-items: center;
}

.divider-card {
    height: 1px;
    background-color: var(--gray-border);
    width: 100%;
}

/* bg input inactive */
.bg-inactive {
    background-color: var(--gray-bg);
}

/* button */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid;
    font-weight: var(--font-bold);
}

.button.button-v1 {
    padding: 16px 24px;
    background-color: var(--green, #5cb85c);
    color: white;
    width: 100%;
    margin-bottom: 2rem;
}

.button.button-v2 {
    border: var(--green, #5cb85c) 1px solid;
    color: var(--green, #5cb85c);
}

.button.button-red {
    background: rgba(232, 35, 32, 0.2);
    color: #e82320;
    padding: 12px 0;
    border: none;
}

/* warn red*/
.warn {
    font-weight: var(--font-bold);
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
    display: block;
}

.warn.red {
    background: var(--red-bg, rgba(232, 35, 32, 0.2));
    color: var(--red, #b80006);
}

.warn.green {
    background: rgba(92, 184, 92, 0.2);
    color: var(--green, #5cb85c);
}
.warn.green--2 {
    background: rgba(92, 184, 92, 0.2);
    color: var(--green2, #5cb85c);
}

.coming-soon{
    text-align: center;
}
.warn.black {
    background: lightgray;
    color: #000000;
}
.warn.orange {
    background: #FBF3EAFF;
    color: var(--orange);
}

.warn.gray {
    background: lightgray;
    color: dimgray;
}

.warn.purple {
    color: #9b51e0;
    background: #f5eefc;
}

.warn.blue {
    background: var(--blue-background);
    color: var(--blue-color);
}

/* list of description with ordered list*/
.ordered-item {
    border: var(--gray-border) 1px solid;
    margin-bottom: 16px;
}

.ordered-item ol {
    margin-top: 16px;
}

.ordered-item ol li {
    list-style-type: unset;
    margin-left: 1rem;
    font-size: 14px;
}

/* no content */
.no-content {
    display: grid;
    place-items: center;
    min-height: 60vh;
}

/* licence item */
.licence-item--title-status {
    border-radius: 40px;
    padding: 4px 12px;
    font-weight: var(--font-bold);
    text-transform: capitalize;
    font-size: 14px;
}

.licence-item--title-status.status--active {
    border: 1px solid var(--green, #5cb85c);
    background: rgba(92, 184, 92, 0.2);
    color: var(--green, #5cb85c);
}

.licence-item--title-status.status--error,
.licence-item--title-status.status--expired {
    border: 1px solid var(--red-border, #e82320);
    background: var(--red-bg, rgba(232, 35, 32, 0.2));
    color: var(--red, #b80006);
}

.status--pending {
    border: 1px solid var(--orange);
    background: #FBF3EAFF;
    color: var(--orange);
}

.status--processing {
    border: 1px solid var(--blue-color);
    background: var(--blue-background);
    color: var(--blue-color);
}

.status--refunded {
    border: 1px solid dimgray;
    background: lightgray;
    color: dimgray;
}

.status--on-hold {
    color: #9b51e0;
    border: 1px solid #9b51e0;
    background: #f5eefc;
}

.licence-item--resend {
    padding: 3px 5px;
    background-color: var(--green);
    /*font-weight: 600;*/
    color: white;
    border-radius: 5px;
    font-size: 14px;
}

.licence-item--resend.resending {
    background-color: var(--gray-bg);
    color: var(--green);
}

.licence-item--input-edit-mode {
    border: 1px solid var(--gray-unactive);
    padding: 1px 3px;
    border-radius: 3px;
    max-width: 130px;
}

/* dialog */
.dialog {
    /* make it to the center*/
    transform: translate(-50%, -50%);
    /* custom with different page*/
    /*top: 80%;*/
    /*left: 50%;*/
    width: 95%;
    max-width: 465px;
    border: none;
    border-radius: unset;
    overflow: hidden;
    animation: animate-dialog ease-in-out 0.3s;
}

@keyframes animate-dialog {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.2);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*text-transform: capitalize;*/
}

.dialog-card {
    margin-bottom: 0;
    border-radius: 12px;
}

/*
dialog confirmation sytle
*/
.dialog-confirm-button {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: var(--font-bold);
    font-size: 14px;
}

.dialog-confirm-button-cancel {
    border: 1px solid var(--red);
    background-color: var(--red-bg);
    color: var(--red);
}

.dialog-confirm-button-ok {
    border: 1px solid var(--green);
    background-color: var(--green-bg);
    color: var(--green);
}


.loader {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #3498db;
    width: 13px;
    height: 13px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
.preloader {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #3498db;
    width: 45px;
    height: 45px;
    margin: auto;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
/*
dialog confirmation sytle
*/
.dialog-confirm-button {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: var(--font-bold);
    font-size: 14px;
}

.dialog-confirm-button-cancel {
    border: 1px solid var(--red);
    background-color: var(--red-bg);
    color: var(--red);
}

.dialog-confirm-button-ok {
    border: 1px solid var(--green);
    background-color: var(--green);
    color: white;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.truncate-1-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
}
.truncate-2-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: relative;
}
.truncate-3-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: relative;
}
.truncate-4-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    position: relative;
}
.truncate-5-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    position: relative;
}
.truncate-6-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    position: relative;
}
.read-more_label {
    position: absolute;
    bottom: 0.5rem;
    right: 0;
    color: #005000;
    font-weight: 600;
    font-size: 12px;
    z-index: 99;
    visibility: hidden;
}
.read-more_label.visible {
    visibility: visible;
}
.read-more_btn {
    display: none;
}

.read-more_btn:checked + .truncate-2-lines {
    -webkit-line-clamp: unset;
}

.breadcrumbs {
    border: 1px solid #cbd2d9;
    border-radius: 0.3rem;
    display: inline-flex;
    overflow: hidden;
}

.breadcrumbs__item {
    background: #fff;
    color: #333;
    outline: none;
    padding: 0.75em 0.75em 0.75em 1.25em;
    position: relative;
    text-decoration: none;
    transition: background 0.2s linear;
}

.breadcrumbs__item:hover:after,
.breadcrumbs__item:hover {
    background: #D5FFD5FF;
}

/*.breadcrumbs__item:focus:after,*/
/*.breadcrumbs__item:focus,*/
/*.breadcrumbs__item.is-active:focus {*/
/*    background: #323f4a;*/
/*    color: #fff;*/
/*}*/

.breadcrumbs__item:after,
.breadcrumbs__item:before {
    background: white;
    bottom: 0;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%);
    content: "";
    left: 100%;
    position: absolute;
    top: 0;
    transition: background 0.2s linear;
    width: 1em;
    z-index: 1;
}

.breadcrumbs__item:before {
    background: #cbd2d9;
    margin-left: 1px;
}

.breadcrumbs__item:last-child {
    border-right: none;
}

.breadcrumbs__item.is-active {
    background: #D5FFD5FF;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.pagination {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin-top:3px;
}
.pagination a.active {
    background-color: var(--green-bg);
    color: black;
    border: 1px solid var(--green-bg);
}
.pagination a:hover:not(.active) {background-color: #ddd;}
.pagination a.disabled {
    color: #ddd;
    pointer-events: none;
}

/* preloader please wait */
.preloader-processing {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 30px;
    background: var(--green-bg);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}
/*
  infinite rotate animation
*/
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
.preloader-processing img {
    animation: rotate 2s linear infinite;
}

.title--header-coming-soon {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 3rem;
}

.back-link{
    display: flex;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--green);
    width: fit-content;
    flex-shrink: 0;
    align-items: center;
}
.back-link span{
    flex-shrink: 0;
    word-break: keep-all;
    font-weight: 600;
}

/* alert */
.alert {
    display: flex;
    padding: 15px 20px;
    justify-content: start;
    gap: 4px;
    border-radius: 15px;
    font-weight: 600;
    line-height: 16px;
    margin-bottom: 25px;
}
.alert.success{
    background: var(--green-bg);
    color: var(--green);
}
.alert.failed{
    background: var(--red-bg, rgba(232, 35, 32, 0.2));
    color: var(--red, #b80006);
}
.alert.centered{
    justify-content: center;
}

.under-maintenace-woowa-v2-container .under-maintenace{
    display: flex;
    padding-top: 12px;
    padding-bottom: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-1);
    background: rgba(39, 111, 173, 0.2);
    font-weight: var(--font-bold);
    font-size: 14px;
    color: #276FAD;
    line-height: 20px;
    margin-bottom: 24px;
}
.panel_info{
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 10px;
}
.mt-16{
    margin-top: 16px;
}
.pl-0{
    padding-left: 0;
}
.pt-20{
    padding-top: 20px;
}
.pr-20{
    padding-right: 20px;
}
.icon-title{
    display: flex;
    align-items: center;
    gap: 5px;
}
.img-icon-title{
    width: 32px;
    vertical-align: middle;
    margin-top: -5px;
}
.display--none{
    display: none;
}

/* Paypal */
.paypal-item--title-status {
    border-radius: 40px;
    padding: 4px 12px;
    font-weight: var(--font-bold);
    font-size: 14px;
}
.paypal-item--title-status.status--active {
    border: 1px solid var(--green, #5cb85c);
    background: rgba(92, 184, 92, 0.2);
    color: var(--green, #5cb85c);
}

.paypal-item--title-status.status--expired {
    border: 1px solid var(--red-border, #e82320);
    background: var(--red-bg, rgba(232, 35, 32, 0.2));
    color: var(--red, #b80006);
}
