@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ********************************* Theme ********************************* */

.wpms-theme {
    --font-family-wpms: "Inter", sans-serif;
    --base-transition: all .3s ease-in-out;

    --text-primary-900: #181D27;

    --text-tertiary-600: #535862;

    --text-quaternary-500: #717680;

    --text-secondary-700: #414651;
    --text-secondary-hover: #252B37;

    --text-placeholder: #717680;
    --text-error-secondary: #D92D20;
    --btn-error-secondary: #FDA29B;

    --text-success-primary-600: #079455;
    --bg-success-secondary: #DCFAE6;

    --text-light: #A4A7AE;

    --bg-body: #F0F0F1;
    --bg-active: #FAFAFA;
    --bg-brand-solid: var(--brand--600);
    --bg-error-secondary: #FEE4E2;

    --bg-primary: #FFFFFF;

    --border-primary: #D5D7DA;
    --border-secondary: #E9EAEB;

    --utility-success-50: #ECFDF3;
    --utility-success-200: #ABEFC6;
    --utility-success-600: #079455;
    --utility-success-700: #067647;

    --utility-warning-50: #FFFAEB;
    --utility-warning-200: #FEDF89;
    --utility-warning-600: #DC6803;
    --utility-warning-700: #B54708;

    --shadow-xs: 0 1px 2px 0 rgba(10, 13, 18, 0.05);

    --brand--25: #FFF8F7;
    --brand--50: #FFEDEC;
    --brand--100: #FFDEDC;
    --brand--200: #FEBBB7;
    --brand--300: #FE978F;
    --brand--400: #FE6D5E;
    --brand--500: #F43C0B;
    --brand--600: #C52E07;
    --brand--700: #962104;
    --brand--800: #691402;
    --brand--900: #400801;
    --brand--950: #290400;
}

.wpms-theme * {
    box-sizing: border-box;
}

.wpms-theme a:focus {
    box-shadow: inherit;
}

.wpms-theme .wpms__author-info a {
    color: inherit;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: all .3s var(--base-transition);
}

.wpms-theme .wpms__author-info a:focus-visible {
    outline-color: var(--brand--500);
}

.wpms__text--primary {
    color: var(--text-primary-900);
}

.wpms__text--secondary {
    color: var(--text-secondary-700);
}

.wpms__text--quaternary {
    color: var(--text-quaternary-500);
}

.wpms__display-sm {
    font-size: 30px;
    line-height: 1.26;
}

.wpms__text-lg {
    font-size: 18px;
    line-height: 1.55;
}

.wpms__text-sm {
    font-size: 14px;
    line-height: 1.428;
}

.wpms__text-xs {
    font-size: 12px;
    line-height: 1.5;
}

.wpms__fw-semibold {
    font-weight: 600;
}

.wpms__fw-medium {
    font-weight: 500;
}

.wpms__fw-regular {
    font-weight: 400;
}

.wpms__container {
    max-width: 1280px;
    padding-inline: 2rem;
    margin-inline: auto;
}

.wpms__container-xs {
    max-width: 704px;
}

.wpms__d-flex {
    display: flex;
    flex-direction: column;
}

.wpms__gap-2 {
    gap: 0.125rem;
}

.wpms__gap-8 {
    gap: 0.5rem;
}

.wpms__gap-10 {
    gap: 0.625rem;
}

.wpms__gap-12 {
    gap: 0.75rem;
}

.wpms__gap-16 {
    gap: 1rem;
}

.wpms__gap-20 {
    gap: 1.25rem;
}

.wpms__gap-24 {
    gap: 1.5rem;
}

.wpms__cta-wrap {
    display: flex;
    gap: 0.75rem;
}

.wpms__btn {
    padding: 0.625em 1rem;
    font-size: 1rem;
    line-height: 1.5;
    gap: 0.5rem;
    display: flex;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--base-transition);
    outline: none !important;
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.wpms__btn-primary {
    color: #fff;
    background-color: var(--brand--600);
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    position: relative;
}

.wpms__btn-primary:hover {
    background-color: var(--brand--700);
    color: #fff;
}

.wpms__btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.wpms__btn-primary:focus-visible,
.wpms__btn-primary:active {
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 0 0 2px #FFF, 0 0 0 4px var(--brand--500);
    color: #fff;
}

.wpms__btn-primary svg {
    height: 1.25rem;
    width: auto;
    color: var(--brand--300);
    transition: var(--base-transition);
}

.wpms__btn-primary:hover svg {
    color: var(--brand--200);
}

.wpms__btn-secondary {
    box-shadow: 0 0 0 1px var(--border-primary) inset, 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    color: var(--text-secondary-700);
    background-color: var(--bg-primary);
}

.wpms__btn-secondary:hover {
    background-color: var(--bg-active);
    color: var(--text-secondary-hover);
}

.wpms__btn-secondary:focus-visible,
.wpms__btn-secondary:active {
    box-shadow: 0 0 0 1px var(--border-primary) inset, 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 0 0 2px #FFF, 0 0 0 4px var(--brand--500);
    color: var(--text-secondary-700);
}

.wpms__btn-primary-outline {
    color: var(--text-error-secondary);
    box-shadow: 0 0 0 1px var(--btn-error-secondary) inset, 0 -1px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 1px 0 rgba(10, 13, 18, 0.05);
    background: #fff;
}

.wpms__btn-primary-outline:hover {
    color: #B42318;
    background: #FEF3F2;
    border-color: #FDA29B;
}

.wpms__btn-primary-outline:focus-visible {
    color: #D92D20;
    box-shadow: 0 0 0 1px var(--btn-error-secondary) inset, 0 -1px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 1px 0 rgba(10, 13, 18, 0.05), 0 1px 2px 0 rgba(10, 13, 18, 0.05),
        0 0 0 2px #FFF,
        0 0 0 4px var(--brand--500);
}

.wpms__btn.wpms__btn-disabled {
    background: #F5F5F5;
    box-shadow: 0 0 0 1px #E9EAEB inset, var(--shadow-xs);
    color: var(--text-light);
}

.wpms__btn.wpms__btn-md {
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 0.625rem;
    padding-right: 0.875rem;
    padding-bottom: 0.625rem;
    padding-left: 0.875rem;
    gap: 0.375rem;
}

.wpms__btn.wpms__btn-xl {
    padding: 0.75em 1.125em;
}

.wpms__btn-link-color {
    font-size: 14px;
    line-height: 1.428;
    color: var(--brand--700);
    text-underline-offset: 0.15em;
    text-decoration-color: transparent;
    transition: var(--base-transition);
    font-weight: 600;
    border-radius: 4px;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.wpms__btn-link-color:hover {
    color: var(--brand--800);
    text-decoration-color: currentColor;
}

.wpms__btn-link-color:focus-visible {
    color: var(--brand--700);
    box-shadow: unset;
    outline-color: var(--brand--500);
}

.wpms__grid {
    display: grid;
    grid-template-rows: 1fr;
}

.wpms__form-label span {
    color: var(--brand--600);
}

.wpms__grid-2 {
    grid-template-columns: 1fr 1fr;
}

.wpms__grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.wpms-theme p {
    font-size: inherit;
    margin-block: 0.9em;
}

.wpms-theme p:first-child {
    margin-top: 0;
}

.wpms-theme p:last-child {
    margin-bottom: 0;
}

.wpms__index-2 {
    z-index: 2;
}

.wpms__divider {
    border-top: 1px solid var(--border-primary);
}

.wpms-theme input {
    border: 1px solid var(--border-secondary) !important;
    border-radius: 0.5rem;
    background-color: var(--bg-primary);
    line-height: 1.5;
    font-size: 1rem;
    color: var(--text-primary-900);
    padding-top: 0.457em;
    padding-right: 0.875em;
    padding-bottom: 0.457em;
    padding-left: 0.875em;
    margin: 0;
    width: 100%;
    outline: 2px solid transparent;
    box-shadow: var(--shadow-xs) !important;
    transition: var(--base-transition);
}

.wpms-theme input:focus-visible {
    outline-color: var(--brand--500);
}

.wpms-theme input[disabled] {
    background: #FAFAFA;
}

.wpms__tag {
    font-size: 14px;
    line-height: 20px;
    padding: 4px 10px 4px 8px;
    width: fit-content;
    display: flex;
    gap: 5px;
    border-radius: 8px;
    border: 1px solid;
}

.wpms__tag::before {
    content: "";
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: 4px;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.wpms__tag-success {
    background: var(--utility-success-50);
    border-color: var(--utility-success-200);
    color: var(--utility-success-700);
}

.wpms__tag-success:before {
    background-color: var(--utility-success-600);
    mask-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%203L4.5%208.5L2%206'%20stroke='%23079455'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wpms__tag-warning {
    background: var(--utility-warning-50);
    border-color: var(--utility-warning-200);
    color: var(--utility-warning-700);
}

.wpms__tag-warning:before {
    background-color: var(--utility-warning-600);
    mask-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Cpath%20d='M6%204V6M6%208H6.005M11%206C11%208.76142%208.76142%2011%206%2011C3.23858%2011%201%208.76142%201%206C1%203.23858%203.23858%201%206%201C8.76142%201%2011%203.23858%2011%206Z'%20stroke='%23DC6803'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E")
}

/* ********************************* Theme ********************************* */

/* ********************************* Header ********************************* */

.wpms-header {
    background: var(--bg-primary);
    padding-block: 0.625rem;
    margin-left: -1.25rem;
}

/* 
.wpms-header .wpms__container {
    max-width: 100%;
} */

.wpms__header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wpms__header-menu ul {
    margin: 0;
    display: flex;
    gap: 2px;
}

.wpms__header-menu li {
    margin: 0;
}

.wpms__header-menu a {
    padding: 0.5em 0.75em;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    margin: 0;
    display: inline-block;
    font-weight: 700;
    color: var(--text-secondary-700);
    transition: var(--base-transition);
    border-radius: 6px;
    outline: none;
}

.wpms__header-menu a.wpms__menu-active {
    background: var(--bg-active);
    color: var(--text-secondary-hover);
}

.wpms__header-menu a:hover {
    color: var(--text-secondary-hover);
}

.wpms__header-menu a:focus-visible {
    box-shadow: 0 0 0 2px #FFF, 0 0 0 4px var(--brand--500);
}

.wpms__header-menu {
    margin-right: auto;
}

.wpms__author {
    display: grid;
    grid-template-columns: 2rem 1fr;
    grid-template-rows: 1fr;
    gap: 0.5rem;
    align-items: center;
}

.wpms__author img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

.wpms__header-login-part {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wpms__logout-link {
    display: flex;
    color: var(--text-light);
    width: 2em;
    height: 2em;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--base-transition);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: all .3s var(--base-transition);
}

.wpms__logout-link svg {
    color: var(--text-light);
    transition: var(--base-transition);
}

.wpms__logout-link:focus-visible {
    outline-color: var(--brand--500);
}

.wpms__logout-link:hover svg {
    color: var(--text-tertiary-600);
}

.wpms__logout-link:hover {
    background: var(--bg-active);
}

/* ********************************* Header ********************************* */

/* ********************************* Body ********************************* */

.wpms-theme {
    color: var(--text-tertiary-600);
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-family-wpms);
    position: relative;
}

.wpms-body {
    margin-top: 2rem;
}

.wpms__default-block {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xs);
}

.wpms__connect-bunny {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.wpms__bunny-logo {
    width: auto;
    height: 43px;
}

.wpms__statistics-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--border-secondary);
    box-shadow: var(--shadow-xs);
}

.wpms__statistics-info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.wpms__badge {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 0.97;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border-primary);
    border-radius: 0.375rem;
    font-weight: 500;
    color: var(--text-secondary-700);
    padding: 4px 8px 4px 6px;
    text-decoration: none;
    outline-offset: 2px;
}

a.wpms__badge:focus-visible {
    outline-color: var(--brand--500);
}

.wpms__badge svg {
    height: 12px;
    width: auto;
    color: var(--text-primary-900);
}

.wpms__default-block strong {
    color: var(--brand--600);
    font-weight: 500;
}

.wpms__default-footer {
    display: flex;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-secondary);
    margin-top: 1.5rem;
    margin-inline: -1.5rem;
}

.wpms__default-block:has(.wpms__default-footer) {
    padding-bottom: 0;
}

.wpms__default-align-right {
    justify-content: flex-end;
}

.wpms__default-option-item {
    align-items: flex-start;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    display: grid;
    grid-template-rows: 1fr;
}

.wpms__checkbox {
    position: relative;
}

.wpms__checkbox input {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 2;
    margin: 0;
    width: 100%;
    height: 100%;
}

.wpms__checkbox .wpms__label {
    border-radius: 999px;
    width: 2.25rem;
    height: 1.25rem;
    display: block;
    position: relative;
    cursor: pointer;
    background: #F5F5F5;
    transition: var(--base-transition);
}

.wpms__checkbox .wpms__label::after {
    content: '';
    width: 1rem;
    height: 1rem;
    position: absolute;
    background: #FFFFFF;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    left: 2px;
    transition: all 0.2s;
    box-shadow: var(--shadow-xs);
}

input:checked+.wpms__label {
    background: var(--brand--600);
}

input:checked+.wpms__label::after {
    left: calc(100% - 2px - 1rem);
}

input:focus+.wpms__label {
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 0 0 2px #FFF, 0 0 0 4px var(--brand--400);
}

/* ********************************* Body ********************************* */

/* ********************************* Steps Form ********************************* */

.wpms__popup-inner {
    display: table-cell;
    vertical-align: middle;
}

.wpms__popup-main {
    display: table;
    width: 100%;
    height: 100%;
}

.wpms__video {
    width: 100%;
    border-radius: 0.5rem;
}

.wpms__step-complete {
    display: flex;
    text-align: center;
    color: var(--text-success-primary-600);
    gap: 4px;
    font-weight: 600;
    flex-direction: column;
    align-items: center;
}

.wpms__step-complete-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-success-secondary);
    display: grid;
    place-content: center;
    border-radius: 50%;
}

.wpms__step-complete-icon svg {
    height: 1.5rem;
    width: auto;
}

.wpms__form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
}

.wpms__form-label {
    font-size: 14px;
    line-height: 1.428;
    font-weight: 500;
    color: var(--text-secondary-700);
}

.wpms__form-label:has(+ .wpms__form-required):after {
    content: '*';
    color: var(--brand--600);
    margin-left: 2px;
}

.wpms-theme .wpms-body select {
    min-height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    padding-inline: 14px 42px;
    box-shadow: var(--shadow-xs);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none"><path d="M5 7.5L10 12.5L15 7.5" stroke="%23717680" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: 1.25em;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.875em) 50%;
    font-size: 1rem;
    color: var(--text-primary-900);
    margin: 0;
    outline: 2px solid transparent;
    transition: all .3s ease;
    outline-offset: -1px;
}

.wpms__form-step-1 select {
    max-width: 320px;
    width: 100%;
}

.wpms-body select:focus-visible,
.wpms-body select:hover {
    outline-color: var(--brand--500);
}

.wpms-theme .wpms-body select:has(option[disabled]:checked) {
    color: var(--text-placeholder);
}

.wpms-theme .wpms-body select option {
    color: var(--text-primary-900);
}

.wpms__form-info {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.wpms__info-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    opacity: 0.6;
}

.wpms__info-card-count {
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    color: var(--text-secondary-700);
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wpms__info-card.wpms__info-card-current {
    opacity: 1;
}

.wpms__info-card.wpms__info-card-complete {
    opacity: 1;
}

.wpms__info-card-complete .wpms__info-card-count {
    background-color: var(--text-success-primary-600);
    font-size: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%203L4.5%208.5L2%206'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 0.75rem;
    background-position: center;
}

.wpms__info-card-count::after {
    content: '';
    position: absolute;
    width: 187px;
    height: 1px;
    border-top: 1px dashed var(--border-primary);
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 4px);
}

.wpms__info-card:last-child .wpms__info-card-count::after {
    display: none;
}

/* ********************************* Steps Form ********************************* */

/* ********************************* Popup ********************************* */

.wpms__popup {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 32px;
    left: 160px;
    width: calc(100% - 160px);
    height: calc(100% - 32px);
    z-index: 99999;
    overflow-y: auto;
    padding-inline: 1.25rem;
    scrollbar-width: thin;
}

.wpms__popup-content {
    max-width: 400px;
    margin: 48px auto;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: 0 20px 24px -4px rgba(10, 13, 18, 0.08), 0 8px 8px -4px rgba(10, 13, 18, 0.03), 0 3px 3px -1.5px rgba(10, 13, 18, 0.04);
    position: relative;
    overflow: hidden;
}

.wpms__popup-body {
    padding: 1.5rem 1.5rem 0;
}

.wpms__popup-footer {
    padding: 0 1.5rem 1.5rem;
}

.wpms__popup-footer-links {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    grid-template-rows: 1fr;
}

.wpms__popup-footer-links>* {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.wpms__popup-footer-links:has(>a:first-child:last-child) {
    grid-template-columns: 1fr;
}

.wpms__popup-icon {
    width: 3rem;
    height: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-error-secondary);
    border-radius: 50%;
}

img.wpms__circle-pattern {
    position: absolute;
    min-width: 336px;
    aspect-ratio: 1/1;
    object-fit: contain;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wpms__popup-icon svg {
    color: var(--text-error-secondary);
    width: 1.5em;
    height: auto;
    z-index: 2;
}

.wpms__popup-body>*:not(.wpms__popup-icon) {
    z-index: 2;
}

.wpms__popup-icon.wpms__popup-icon-gray {
    background: #F5F5F5;
}

.wpms__popup-icon.wpms__popup-icon-gray svg {
    color: var(--text-quaternary-500);
}

.wpms__popup .wpms__popup-close {
    position: absolute;
    z-index: 5;
    right: 0.75rem;
    top: 0.75rem;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    color: var(--text-light);
    transition: var(--base-transition);
    cursor: pointer;
    border-radius: 0.5rem;
    outline: none !important;
}

.wpms__popup .wpms__popup-close:hover {
    background: var(--bg-active);
    color: var(--text-quaternary-500);
}

.wpms__popup .wpms__popup-close svg {
    transition: inherit;
    width: 1.5rem;
    height: auto;
}

.wpms__popup .wpms__popup-close:focus-visible {
    box-shadow: 0 0 0 2px var(--brand--500);
}

.wpms__popup-library .wpms__popup-content {
    max-width: 512px;
}

.wpms__popup-body .wpms__popup-footer-links {
    margin-bottom: 1.5rem;
    display: flex;
}

.wpms__popup-keep-original-file .wpms__default-align-right {
    flex-direction: row;
}

.wpms__popup-reencode-failed .wpms__popup-footer-links,
.wpms__popup-keep-original-file .wpms__popup-footer-links {
    margin: 0;
}

.wpms__popup-keep-original-file .wpms__popup-footer,
.wpms__popup-reencode-failed .wpms__popup-footer {
    border-top: 1px solid var(--border-primary);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

/* ********************************* Popup ********************************* */

.wpms_header-offcanvas .header_toggle,
.wpms-header .header_toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.wpms_header-offcanvas .header_toggle svg,
.wpms-header .header_toggle svg {
    vertical-align: top;
}

.wpms_header-offcanvas .header_toggle {
    display: block;
}

.wpms_header-offcanvas {
    background-color: #fff;
    overflow-x: hidden;
    position: absolute;
    transition: transform .2s cubic-bezier(.25, 0, .25, 1);
    z-index: 0;
    left: -20px;
    right: auto;
    top: 0;
    bottom: 0;
    width: calc(100% + 20px);
    height: 100dvh;
    transform: translate(-100%);
    padding: 0.625rem 1rem 1rem;
    display: none;
}

.wpms_header-offcanvas.active {
    transform: translate(0);
}

.wpms_header-offcanvas .wpms__main-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wpms_header-offcanvas .wpms__header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wpms_header-offcanvas .wpms__header-menu ul {
    flex-direction: column;
}

.wpms-theme:has(.wpms_header-offcanvas.active) {
    height: 100dvh;
    overflow-y: clip;
}

#wpbody-content:has(.wpms-theme)>.notice {
    display: none;
}

.wpms-theme .notice p {
    margin: .5em 0 !important;
    padding: 2px;
    font-size: 13px;
    line-height: 1.5;
    display: inline-block;
}

.wpms-theme h1:empty {
    display: none;
}

.wpms__pad-block {
    padding: 1rem;
    border: 1px solid var(--border-primary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xs);
}

p.media-types.media-types-required-info {
    display: none;
}

.wpms-theme input::-webkit-input-placeholder,
.wpms-theme input:-moz-placeholder,
.wpms-theme input::-moz-placeholder,
.wpms-theme input:-ms-input-placeholder {
    color: var(--text-quaternary-500) !important;
    opacity: 1 !important;
}


/* ********************************* Responsive ********************************* */
@media(max-width: 1024px) {

    .wpms-header .wpms__header-menu,
    .wpms-header .wpms__header-login-part,
    .wpms-header .wpms__cta-wrap {
        display: none;
    }

    .wpms_header-offcanvas {
        display: flex;
    }

    .wpms__container {
        padding-inline: 1rem;
    }

    .wpms-header .header_toggle {
        display: block;
    }

    .wpms__header-row {
        justify-content: space-between;
    }
}

@media(max-width: 960px) {
    .wpms__popup {
        left: 36px;
        width: calc(100% - 36px);
    }
}

@media(max-width: 782px) {
    .wpms__popup {
        left: 0px;
        width: 100%;
        height: 100%;
        top: 0;
    }

    .wpms_header-offcanvas {
        left: -0.625rem;
        width: calc(100% + 0.625rem);
    }

    .wpms-header {
        margin-left: -0.625rem;
    }

}

@media(max-width: 767px) {
    .wpms__grid-2 {
        grid-template-columns: 1fr;
    }

    .wpms__default-block {
        padding: 1rem;
    }

    .wpms__statistics-item {
        padding: 1rem;
    }

    .wpms__container {
        padding-inline: 1rem calc(1rem + 10px);
    }
}

/* ********************************* Responsive ********************************* */

/* ********************************* Admin Style Media ********************************* */

.wpms_action_btn_wrapper .button {
    font-weight: 500;
    transition: all .3s ease;
}

.wpms_action_btn_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.wpms_action_btn_wrapper ul {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    border: 1px solid #2271B1;
    background: #F6F7F7;
    padding-block: 6px;
    border-radius: 3px;
    transition: all .3s ease;
    overflow: hidden;
    min-width: 116px;
    /*     width: 116px; */
}

.wpms_action_btn_wrapper .button span {
    background-image: url("data:image/svg+xml,%3Csvg%20width='7'%20height='4'%20viewBox='0%200%207%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M0.5%200.5L3.5%203.5L6.5%200.5'%20stroke='%232271B1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 0.5rem;
    display: inline-block;
    margin-left: 0.5rem;
    height: 0.5rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .3s ease;
}

.wpms_action_btn_wrapper ul.active {
    opacity: 1;
    pointer-events: all;
}

.wpms_action_btn_wrapper .button:has(+.active) span {
    transform: rotate(-180deg);
}

.wpms_action_btn_wrapper ul li {
    margin: 0;
    padding: 0.41rem 0.75rem;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    font-weight: 500;
    color: #2172B1;
    transition: all .3s ease;
}

.wpms_action_btn_wrapper ul li:hover {
    background: #2172B10D;
}

.wpms_action_btn_wrapper ul li.del {
    color: #D63638;
}

.wpms_action_btn_wrapper ul li.del:hover {
    background: #D636380A;
}

.edit-attachment-frame .attachment-info .settings:has(.wpms_action_btn_wrapper) {
    padding-bottom: 112px;
}

.wpms_cloud_actions a {
    text-decoration: none;
}

.wpms_cloud_actions li a {
    padding: 0.41rem 0.75rem;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.wpms_cloud_actions li:has(a) {
    padding: 0;
}

.wpms_action_btn_wrapper ul li[disabled] {
    color: #B6CFE2;
    pointer-events: none;
}

.wpms_action_btn_wrapper ul li[disabled].del {
    color: #ECBDBE;
    pointer-events: none;
}

.wpms-theme.wpms__media-page .wpms__popup {
    z-index: 999999;
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
}

/* ********************************* Admin Style Media ********************************* */

/** Attachment Details/Notice Start **/
tr.compat-field-bunny_media_process .file-notice.error {}

/* .attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .details, .attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .settings .setting, .attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .actions, .attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .settings-save-status, .attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .label  {
    display: none;
} */

.attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .compat-item .field {
    width: 100%;
}

.attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .compat-item .field .file-notice.error {
    padding-top: 10px;
}

/* .attachment-info:has(tr.compat-field-bunny_media_process .file-notice.error) .settings {
    border: 0;
} */

/** Attachment Details/Notice End **/