/* Modal base styles */
.modal-is-active {
    overflow: hidden;
}

.modal {
    visibility: hidden;
    font-family: "Inter", serif;
}

.modal--active {
    visibility: visible;
}

.modal__window {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #f5f5f5;
    height: auto;
    left: 50%;
    max-height: 100%;
    max-width: 400px;
    min-height: 300px;
    opacity: 0;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(.75);
    -moz-transform: translateX(-50%) translateY(-50%) scale(.75);
    -ms-transform: translateX(-50%) translateY(-50%) scale(.75);
    -o-transform: translateX(-50%) translateY(-50%) scale(.75);
    transform: translateX(-50%) translateY(-50%) scale(.75);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    width: 100%;
    z-index: 1001;
}

.modal--active .modal__window {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
    -moz-transform: translateX(-50%) translateY(-50%) scale(1);
    -ms-transform: translateX(-50%) translateY(-50%) scale(1);
    -o-transform: translateX(-50%) translateY(-50%) scale(1);
    transform: translateX(-50%) translateY(-50%) scale(1);
    border-radius: 10px;
}

.wallet-phantom {
    display: flex;
    justify-items: center;
    align-items: center;
    gap: 10px;
}

.modal__header {
    background: #ab9ff2;
    color: #fff;
    padding: 2rem;
}

.modal__title {
    font-size: 2rem;
}

.modal__close-btn {
    background: transparent;
    cursor: pointer;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
}

.modal__close-icon {
    fill: #fff;
    height: 20px;
    width: 20px;
}

.modal__content {
    padding: 2rem;
}

.modal__overlay {
    background: #000;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    width: 100%;
    visibility: hidden;
    z-index: 1000;
}

.modal--active .modal__overlay {
    opacity: .75;
    visibility: visible;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

#title-bar {
    height: 31px;
    background-color: #d6dae0;
    width: 100%;
    display: none;
    justify-content: space-between;
    user-select: none;
}

#logo {
    padding-left: 5px;
    vertical-align: middle;
}

#logo-description {
    color: black;
    font-size: 12px;
    font-family: "system";
    vertical-align: middle;
}

#minimize {
    color: black;
    font-size: 12px;
    padding: 9px 15px 7px 15px;
}

#square {
    color: black;
    font-size: 22px;
    padding: 0px 15px 5px 15px;
}

#exit {
    color: black;
    font-size: 15px;
    padding: 7px 17px 7px 17px;
}

#url-bar {
    height: 50px;
    background-color: #222222;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: scroll;
    text-overflow: ellipsis;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* border-bottom: 1px solid lightgray; */
    padding: 10px;
}

#url-bar::-webkit-scrollbar {
    display: none;
}

#ssl-padlock {
    user-select: none;
    padding-left: 8px;
    margin-right: 8px;
}

#domain-name {
    color: #000000;
    font-size: 14px;
    font-family: "system";
}

#domain-path {
    color: #7c7c7c;
    font-size: 14px;
    font-family: "system";
}

#title-bar-width {
    width: 100%;
}

#content {
    width: 100%;
    height: 700px;
}

#window {
    font-family: "Inter", serif;
    background-color: transparent;
    border-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /*min-height: 600px;*/
    width: 350px;
    position: fixed;
    left: 72%;
    top: 0px;
    gap: 5px;
    z-index: 999999;
    display: none;
}

.phantom {
    height: 50px;
    background-color: #222222;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
    color: #fff;
    padding: 5px 20px 20px 20px;
    gap: 5px;
}

.phantom img {
    max-width: 90px;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.phantom input {
    width: 80%;
    padding: 14px;
    background-color: transparent;
    /*border-width: 1px;*/
    /*border-style: solid;*/
    /*border-color: rgb(47, 47, 47);*/
    /*border-radius: 6px;*/
    color: white;
    font-size: 16px;
    line-height: 19px;
    outline: none;
}

.phantom button {
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    padding: 14px 0px;
    width: 100%;
    height: 47px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    pointer-events: auto;
    border: none;
    outline-color: transparent;
    outline-style: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgb(171, 159, 242);
    color: rgb(34, 34, 34);
}

.seedGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    filter: blur(0px);
    transition: 0.1s linear;
}

.icDKUc {
    color: rgb(255, 255, 255);
    background: rgb(24, 24, 24);
    border: 1px solid rgb(47, 47, 47);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 4px 0px;
    align-self: center;
    height: 41px;
    transition: 0.1s linear;
}

.bWQWfR {
    display: flex;
    flex-direction: row;
    width: 100%;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

main {
    padding: 1.25rem;

a:not(.btn) {
    text-align: center;
    display: block;
    margin-top: 2em;
    color: #333;

&
:hover {
    color: #666;
}

}
}

.modal-window {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;

&
:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
}

.modal {
    width: 20rem;
    padding: 2em;
    background: white;
    position: relative;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
}

.modal-close {
    color: #aaa;
    font-size: 80%;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    text-decoration: none;
    margin: 0;
    padding: 0.25rem 0.5rem;
}

.btn {
    appearance: none;
    display: inline-block;
    font-size: inherit;
    color: inherit;
    background: #F5F5F5;
    text-decoration: none;
    border: solid 1px #F5F5F5;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin: 0 auto;
    min-width: 5rem;
    max-width: 10rem;
    cursor: pointer;

&
:hover,

&
:focus {
    background: rgba(256, 256, 256, 0.5);
}