﻿.trusted_profile {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-inline: 24px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-level-high, var(--cwModalTxt));
}

.trusted_profile__switcher {
    -webkit-column-gap: 8px;
    -moz-column-gap: 8px;
    column-gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-level-high, var(--cwModalTxt));
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    cursor: pointer;
}

.trusted_profile__switcherIcon {
    width: 28px;
    height: 18px;
    background-color: var(--icon-level-low, var(--cwModalTxt3));
    position: relative;
    display: block;
    border-radius: 10px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    display: block;
}

.trusted_profile__switcherIcon:before {
    content: "";
    display: block;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: var(--bg-level-1, var(--cwModalBg));
    position: absolute;
    top: 1px;
    left: 2px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    cursor: pointer;
}

.trusted_profile__inputChekbox {
    display: none;
}

.trusted_profile__inputChekbox:checked + .trusted_profile__switcherIcon {
    background-color: var(--cwPrimary, var(--cwModalAccent));
}

.trusted_profile__inputChekbox:checked + .trusted_profile__switcherIcon:before {
    left: 10px;
}

.trusted_profile__deleteAll {
    color: var(--general-message, #FF5252);
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
}

.trusted_profile__content {
    gap: 6px 16px;
    overflow-y: auto;
    max-height: 100%;
    padding-inline: 5px;
}

.trusted_box {
    width: calc(33.3% - 12px);
    border-radius: 8px;
    border: 1px solid var(--bg-level-3, var(--cwModalBg3));
    background-color: var(--bg-level-2, var(--cwModalBg2));
    color: var(--text-level-medium, var(--cwModalTxt2));
    -webkit-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
    padding: 16px;
    font-size: 14px;
    margin-bottom: 10px
}

.trusted_box__deviceKey {
    border-bottom: 1px solid var(--bg-level-3, var(--cwModalBg3));
}
.trusted_box__deviceName {
    font-weight: 500;
}
.trusted_box div[class*="trusted_box__"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-block: 8px;
}

.trusted_box div[class*="trusted_box__"]:first-of-type {
    padding-block: 0 8px;
}

.trusted_box div[class*="trusted_box__"]:last-of-type {
    padding-block: 16px 0;
}

.trusted_box div[class*="trusted_box__"] span {
    width: 50%;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.trusted_box div[class*="trusted_box__"] span:first-child {
    -webkit-margin-end: 4px;
    margin-inline-end: 4px;
}

.trusted_box div[class*="trusted_box__"] span:last-child {
    -webkit-margin-start: 4px;
    margin-inline-start: 4px;
    color: var(--text-level-high, var(--cwModalTxt));
    -moz-text-align-last: right;
    text-align-last: right;
}

.trusted_box__btnDelete button {
    -webkit-margin-start: auto;
    margin-inline-start: auto;
    color: var(--general-message, #FF5252);
    background-color: transparent;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    border: none;
    font-size: 14px;
}

/*start trustedconfirmation Popup*/
.trusted_confirmPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.trusted_confirmPopup__inner {
    background-color: var(--bg-level-1, var(--cwModalBg));
    color: var(--text-level-high, var(--cwModalTxt));
    border-radius: 12px;
    padding: 24px;
    font-size: 14px;
    line-height: 1.2;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    max-width: 350px;
    width: 100%;
}


.trusted_confirmPopup__header {
    margin-bottom: 16px;
}

.trusted_confirmPopup__text {
    font-weight: 500;
}

.trusted_confirmPopup__icon {
    margin-bottom: 16px;
    display: inline-block;
    line-height: 0.6;
    font-size: 64px;
}

.trusted_confirmPopup__buttons {
    column-gap: 16px;
}

.trusted_confirmPopup__buttons button {
    height: 48px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    width: calc(50% - 8px);
    -webkit-box-shadow: none;
    box-shadow: none;
    text-transform: uppercase;
    border: 1px solid var(--btn-primary, var(--cwButtonBg));
    font-weight: 500;
}

.trusted_confirmPopup__btnCancel {
    background-color: var(--bg-level-1, var(--cwModalBg));
    color: var(--btn-primary, var(--cwModalTxt));
}

.trusted_confirmPopup__btnConfirm {
    background-color: var(--btn-primary, var(--cwButtonBg));
    color: var(--btn-primary-text, var(--cwButtonTxt));
}

@media screen and (max-width: 1500px) {
    .trusted_box {
        width: calc(50% - 8px);
    }
}
