.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%
}

.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
    width: 340px;
    padding: 0;
    margin: 0 auto
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    transition: all .2s;
    cursor: pointer;
    text-decoration: none;
    border: none;
    padding: 4px 9px 4px 9px;
    gap: 4px
}

.button svg {
    width: 17px;
    height: 17px;
    margin-left: 5px;
    margin-right: 0;
    vertical-align: middle
}

.button-black {
    background: #000;
    color: #fff
}

.button-black:hover {
    background: #262626
}

.button-outline {
    background: 0 0;
    border: 1px solid #d1d5db;
    color: #374151
}

.button-outline:hover {
    background: #f9fafb
}

.link {
    color: #6b7280;
    text-decoration: underline
}

.link:hover {
    color: #111827
}

.login-fullpage {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden
}

.card-content {
    padding: 17px 17px 13px 17px !important
}

.profile-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
    margin-top: 4px
}

.avatar-preview {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0
}

.profile-names {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 2px
}

.profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
    margin-top: 2px;
    line-height: 1.2
}

.profile-date {
    color: #888;
    font-size: 11px;
    margin-bottom: 1px
}

.settings-btn {
    background: 0 0;
    border: none;
    color: #888;
    font-size: 17px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background .15s;
    margin-right: auto;
    margin-left: 0;
    margin-top: 1px
}

.settings-btn:hover {
    background: #f3f4f6;
    color: #222
}

.settings-panel {
    display: none;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 6px;
    padding: 10px 10px 2px 10px;
    text-align: right;
    border: 1px solid #e5e7eb
}

.settings-panel.active {
    display: block;
    animation: fadeIn .25s
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 13px;
    width: 100%;
    margin-top: 3px;
    margin-bottom: 7px
}

.modal-bg {
    background: rgba(0, 0, 0, .3);
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .09);
    padding: 20px 14px 14px 14px;
    min-width: 260px;
    max-width: 95vw
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    z-index: 1000000
}

.toast.active {
    opacity: 1
}

.text-xs {
    font-size: 12px
}

.text-sm {
    font-size: 13px
}

.text-base {
    font-size: 15px
}

@media (max-width:400px) {
    .card {
        max-width: 97vw
    }

    .card-content {
        padding: 8px 3vw 7px 3vw !important
    }
}

body,
html {
    overflow: hidden !important
}
