﻿*{box-sizing: border-box;}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
/* Dark Mode */
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Safari */
[data-theme="dark"] input::-webkit-input-placeholder,
[data-theme="dark"] textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Light Mode */
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: rgba(0, 0, 0, 0.55);
}

/* Safari */
[data-theme="light"] input::-webkit-input-placeholder,
[data-theme="light"] textarea::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.55);
}


.empty-layout{
    min-height: 100%;
    background: var(--bg);
    color: var(--fg);
}
.page {
    background: var(--bg);
    color: var(--fg);
}
.content-px-2{
    padding: 10px;
}
/* Ganze Seite: Login oben, zentriert horizontal */
.login-page {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px; /* wie auf deinem Screenshot: oben etwas Abstand */
}
.login-spinner {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 4px solid var(--main);
    border-top-color: var(--primary);
    animation: authspin 0.8s linear infinite;
    align-self: center;
    margin-top: 10px;
}
/* Grosser Titel oben */
.login-title {
    outline: none;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Panel mit Inputs */
.login-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.login-div{
    margin-top: 10px;
    align-self: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
/* Label über Inputs */
.login-label {
    font-size: 0.9rem;
    margin-left: 4px;
    margin-bottom: 2px;
}

/* Zeile: Icon + Input (+ Eye-Button) */
.login-input-row {
    border: 2px solid var(--border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Links das Icon */
.login-icon {
    font-size: 1.4rem;
    width: 32px;
    text-align: center;
}

/* Textbox: wie im Screenshot, rund, weisser Rahmen */
.login-input {
    flex: 1;
    border: none;
    background: none;
    padding: 6px 14px;
    color: var(--fg);
    outline: none;
    font-size: 0.95rem;
    min-width: 200px;
}
.login_div_user{
    width: 38px;
    height: 30px;
}
/* Password-Eye-Button rechts im Feld */
.login-eye-btn {
    border: none;
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 6px;
    fill: none;
}

/* Login-Button (Türkis, rund, mit Border) */
.login-button {
    margin-top: 14px;
    align-self: center;
    padding: 8px 40px;
    border-radius: 999px;
    border: 2px solid darkcyan;
    background: darkcyan;
    color: var(--fg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 167, 181, 0.7);
}

    .login-button:hover {
        filter: brightness(1.1);
    }

/* Remember-me Row */
.login-remember-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    font-size: 0.9rem;
}

.login-remember-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid darkcyan;
    background: transparent;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
}
    .login-remember-checkbox::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        transform: scale(0);
        transition: transform 0.15s ease-in-out;
        background: #00bcd4;
    }
    .login-remember-checkbox:checked::before {
        transform: scale(1);
    }
/* Fehlermeldung */
.login-error {
    margin-top: 10px;
    color: red;
    text-align: center;
    font-size: 0.9rem;
}
.icon-user path {
    fill: var(--fg);
}
.icon-user {
    width: 35px;
    height: 35px;
}
.pw-login path {
    stroke: var(--fg);
    stroke-width: 1px;
    width: 100%;
}
.pw-login {
    width: 35px;
    height: 35px;
    fill: none;
}
.ico_show_login{
    width: 30px;
    height: 30px;
    stroke: var(--fg);
}
.tfa-page {
    align-content: center;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px; /* wie auf deinem Screenshot: oben etwas Abstand */
}
.tfa-title {
    outline: none;
    font-size: 35px;
    font-weight: bold;
}
.tfa-desc {
    font-size: 18px;
    text-align: center;
}
.tfa-code-input {
    margin-top: 50px;
    flex: 0;
    border-radius: 15px;
    border: 3px solid var(--border);
    background: transparent;
    padding: 6px 14px;
    color: var(--primary);
    outline: none;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    width: 200px
}
    .tfa-code-input:focus {
        border-color: var(--primary);
    }
.bt-tfa-back {
    margin-top: 20px;
    align-self: center;
    padding: 8px 40px;
    border-radius: 999px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--fg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
    .bt-tfa-back:hover {
        background: var(--primary);
    }
.ico_show_login {
    vertical-align: top;
    width: 30px;
    height: 30px;
    fill: none;
}
.alp-search {
    min-width: 0;
    width: 100%;
    gap: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}
.border-search-alp {
    flex: 1;
    min-height: 0;
    max-width: 400px;
    display: flex;
    align-items: center;
    flex-direction: row;
    min-width: 0px;
    border: 3px solid var(--border);
    border-radius: 15px;
}
.bt-alp-refresh {
    width: 45px;
    height: 45px;
    background: none;
    border: 3px solid var(--border);
    border-radius: 990px;
}
    .bt-alp-refresh:hover {
        background: var(--primary);
    }
.ico_refresh_alp {
    background: none;
    fill: none;
    stroke: var(--fg);
    stroke-width: 2px;
    width: 30px;
    height: 30px;
    align-self: auto;
}
.svg-search-alp {
    flex-shrink: 0;
    stroke: var(--fg);
    stroke-width: 2px;
    fill: none;
    width: 35px;
    height: 35px;
    background: none;
}
.txt-search-alp {
    flex: 1;
    min-width: 0;
    outline: none;
    border: none;
    border-color: none;
    font-size: 20px;
    height: 40px;
    background: none;
    color: var(--fg);
}
.bt-delsearch-alp {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    background: none;
}
.svg-delsearch-alp {
    flex-shrink: 0;
    fill: var(--fg);
    width: 18px;
    height: 18px;
}
.allpw-page{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.alp-title {
    outline: none;
    font-size: 35px;
    font-weight: bold;
}
.main-title {
    outline: none;
    font-size: 35px;
    font-weight: bold;
}
@media (max-width: 600px) {
    .main-title {
        display: none;
    }
}
.lb-border{
    border: red;
}
/* Listbox */
.pw-list {
    display: block;
    flex-direction: column;
    padding: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 3px solid var(--main);
    border-radius: 15px;
    overflow-y: hidden;
    overflow-x: hidden;
    background: transparent;
    flex: 1;
    width: 100%;
}

.pw-row {
    position: relative;
    display: grid;
    align-items: center;
    padding: 10px 10px;
    /* 2*,4*,4*,2*,3*,2*,2*,1*,1* -> grob in CSS */
    grid-template-columns: 2fr 4fr 4fr 2fr 3fr 2fr 2fr 1fr 1fr;
    border-radius: 0px;
    cursor: pointer;
}
.pw-row-mobile{display: none;}

    .pw-row:hover {
        background: var(--main);
    }

    .pw-row.is-selected {
        background: var(--main);
    }
.pw-col0 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pw-fav-btn {
    width: 25px;
    height: 25px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.pw-avatar {
    width: 35px;
    height: 35px;
    border-radius: 999px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--main);
}

.pw-avatar-img {
    display: block; /* killt baseline-shift */
    max-width: 100%;
    max-height: 100%;
}

.pw-initials {
    font-weight: 800;
    font-size: 12px;
}

.pw-name, .pw-user {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pw-name {
    font-weight: 700;
    font-size: 17px;
}

.pw-user {
    font-size: 15px;
    opacity: 0.9;
}

.pw-pass {
    font-size: 15px;
    letter-spacing: 2px;
    user-select: none;
    justify-self: end;
}

.pw-action {
    width: 20px;
    height: 20px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.pw-ico {
    width: 25px;
    height: 25px;
    display: block;
    stroke: var(--fg);
    fill: none;
    stroke-width: 1.2px;
    transition: fill 0.15s ease;
}
.pw-ico-fill {
    width: 25px;
    height: 25px;
    display: block;
    fill: var(--fg);
}
.alp-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: left;
    gap: 10px;
}
.alp-copypw-mobile{
    display: none;
}
.alp-copypw-more {
    display: none;
}
/* Hover-only Buttons wie WPF Trigger */
.hover-only {
    visibility: hidden;
}

.pw-row:hover .hover-only {
    visibility: visible;
}
/* Show */
.show-page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.txt-show-name{
    margin-top: 10px;
}
.inp-show-name {
    background: none;
    outline: none;
    border: none;
    border-radius: 6px;
    flex: 1;
    flex-direction: row;
    height: 40px;
    color: var(--fg);
}
.fav-ico-show {
    margin-left: 10px;
    width: 35px;
    height: 35px;
    vertical-align: central;
    fill: none;
    transition: fill 0.15s ease;
    stroke: var(--fg);
    stroke-width: 1.5px;
}

    .fav-ico-show.is-fav {
        fill: darkcyan;
    }
.fav-ico-edit {
    fill: none;
    transition: fill 0.15s ease;
    stroke: var(--fg);
    stroke-width: 1.5px;
}
    .fav-ico-edit.is-fav {
        fill: var(--primary);
    }

.img-show-name {
    fill: none;
    stroke: var(--fg);
    stroke-width: 1.5px;
}
.dev-show-name {
    align-items: center;
    padding-right: 5px;
    border: 2px solid var(--border);
    border-radius: 6px;
    gap: 5px;
    display: flex;
    flex-direction: row;
    min-width: 0px;
    max-width: 500px;
}
.img-show-site {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    border: 2px solid white;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    overflow: hidden;
}
.dev-show-user {
    display: flex;
    height: 40px;
    align-items: center;
    max-width: 500px;
    border: 2px solid var(--border);
    border-radius: 6px;
    flex-direction: row;
}
.txt-show-edit {
    background: none;
    color: var(--fg);
    outline: none;
    border: none;
}
.inp-show-user {
    display: flex;
    flex-direction: row;
    background: none;
    outline: none;
    border: none;
    flex: 1;
    min-width: 0px;
    color: var(--fg);
}
.btn-show-user {
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    margin-right: 10px;
}
.svg-show-user {
    width: 25px;
    height: 25px;
    border: none;
}
.img-show-user {
    fill: var(--fg);
    align-content: center;
}
.dev-show-pw {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0px;
    max-width: 500px;
    border: 2px solid var(--border);
    border-radius: 6px;
    height: 40px;
}
.img-show-pw {
    fill: none;
    stroke: var(--fg);
    stroke-width: 2px;
}
.inp-show-pw {
    display: flex;
    flex-direction: row;
    background: none;
    outline: none;
    border: none;
    flex: 1;
    color: var(--fg);
}
.inp-show-desc {
    display: flex;
    max-width: 500px;
    min-width: 0px;
    background: none;
    outline: none;
    border: 2px solid var(--border);
    border-radius: 6px;
    min-height: 50px;
    height:contain;
    max-height: 150px;
    color: var(--fg);
    text-align: start;
    text-anchor: start;
    height: auto;
}
.div-show-btn{
    max-width: 500px;
    gap: 10px;
    display: flex;
    flex-direction: row;
    margin-top: 30px;
}
.btn-show-back {
    background: none;
    border: 2px solid var(--border);
    border-radius: 15px;
    color: var(--fg);
    width: 100px;
    padding: 5px;
}
.btn-show-edit {
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 15px;
    color: var(--fg);
    width: 100px;
    padding: 5px;
    box-shadow: 0 0 12px var(--primary);
}

.btn-show-edit:hover {
    filter: brightness(1.2);
}
.btn-show-back:hover {
    background: var(--primary);
}

.auth-guard-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #1F1F1F;
    backdrop-filter: blur(6px);
}

.auth-guard-card {
    width: min(420px, 92vw);
    border: 2px solid darkcyan;
    border-radius: 16px;
    padding: 22px 20px;
    background: #4A5454;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.auth-guard-spinner {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 3px solid #1F1F1F;
    border-top-color: #008B8B;
    animation: authspin 0.8s linear infinite;
}
.auth-guard-title {
    color: #D3D3D3;
    outline: none;
    font-size: 18px;
    font-weight: 700;
}

.auth-guard-sub {
    color: #D3D3D3;
    font-size: 13px;
    opacity: 1;
    text-align: center;
}
@keyframes authspin {
    to {
        transform: rotate(360deg);
    }
}
.auth-guard-logo {
    width: 142px;
    height: 142px;
    object-fit: contain; /* wichtig bei PNG */
}
.btn-add-fav {
    background: none;
    padding: 0;
    border: 0;
    line-height: 0;
    width: 30px;
    height: 30px;
}
.img-edit-fav {
    stroke: var(--fg);
    stroke-width: 1.5px;
}
.img-edit-pwgen {
    stroke: var(--fg);
    fill: none;
    stroke-width: 1.5px;
    align-content: center;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: grid;
    place-items: center;
    z-index: 9999;
}

.modal {
    width: min(520px, 92vw);
    background: #111;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.icon-btn {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.gen .row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.gen .pw {
    flex: 1;
}
.dot-spinner {
    margin-top: 20px;
    display: flex;
    gap: 6px;
}
    .dot-spinner span {
        width: 10px;
        height: 10px;
        background: darkcyan; /* Farbe aapasse */
        border-radius: 50%;
        animation: bounce 1.4s infinite ease-in-out both;
    }
        .dot-spinner span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .dot-spinner span:nth-child(2) {
            animation-delay: -0.16s;
        }
@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}
.add-error {
    margin-top: 10px;
    color: var(--fg);
    text-align: left;
    font-size: 0.9rem;
}
.btn-edit-del {
    margin-left: auto;
    align-self: end;
    background: red;
    border: 2px solid red;
    border-radius: 15px;
    color: var(--fg);
    width: 100px;
    padding: 5px;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.81);
}
.btn-edit-del:hover {
    filter: brightness(0.8);
}
.nav-ico{
    width: 30px;
    height: 30px;
    vertical-align: middle;
    align-self: start;
    margin-right: 10px;
}
    .nav-ico-svg {
        fill: var(--fg);
        vertical-align:  baseline;
    }
.nav-ico-svg-s {
    stroke: var(--fg);
    fill: none;
    stroke-width: 1.5px;
    vertical-align: baseline;
}
.nav-ico-svg-set {
    fill: var(--fg);
    vertical-align: baseline;
}
.nav-ico-svg-lock {
    width: 30px;
    height: 30px;
    fill: orangered;
}
.nav-line {
    height: 2px;
    background: var(--fg);
    margin: 0 10px 8px 10px;
}
.pw-ico.is-fav {
    fill: darkcyan;
}
.copy-tooltip {
    position: fixed;
    z-index: 9999;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
    background: rgba(0, 120, 120, 0.95);
    color: var(--fg);
    pointer-events: none;
    transform: translate(10px, 10px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

    .copy-tooltip.hidden {
        opacity: 0;
    }

    .copy-tooltip.show {
        opacity: 1;
    }
.pw-tooltip {
    position: fixed;
    z-index: 10000;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
    background: var(--main);
    color: var(--fg);
    max-width: auto;
    word-break: break-all;
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

    .pw-tooltip.hidden {
        display: none;
    }
.pwgen-border {
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    border: 4px solid var(--main);
    border-radius: 15px;
    width: fit-content;
}
.pwgen-output {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 20px 0 5px;
}
.nav-item px-4{
    margin-top: 20px;
}
.btn-pwgen-copy {
    background: none;
    width: 40px;
    height: 40px;
    border: none;
    fill: none;
}
.btn-pwgen-refresh {
    background: none;
    width: 40px;
    height: 40px;
    border: none;
    fill: none;
}
.pwgen-svg-refresh {
    width: 30px;
    height: 30px;
    stroke: var(--fg);
    stroke-width: 1.5px;
    text-align: start;
    fill: none;
}
.pwgen-svg-copy {
    fill: var(--fg)
}
.pwgen-page{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.pwgen-pw {
    width: 450px;
    background: var(--main);
    border: 2px solid var(--border);
    border-radius: 10px;
    height: 47px;
    outline: none;
    color: var(--fg);
    font-size: 15px;
}
.pwgen-slieder {
    width: 450px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

    /* Track */
    .pwgen-slieder::-webkit-slider-runnable-track {
        height: 6px;
        border-radius: 9px;
        background: linear-gradient( to right, var(--primary) 0%, var(--primary) var(--val), var(--main) var(--val), var(--main) 100% );
    }

    .pwgen-slieder::-moz-range-track {
        height: 6px;
        border-radius: 999px;
        background: linear-gradient( to right, var(--primary) 0%, var(--primary) var(--val), var(--main) var(--val), var(--main) 100% );
    }

    /* Thumb */
    .pwgen-slieder::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: darkcyan;
        border: 2px solid var(--main);
        margin-top: -5px;
    }

    .pwgen-slieder::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: darkcyan;
        border: 2px solid var(--main);
    }
.div-slieder-pwgen {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}
.txt-long-pwgen{
    background: none;
    border: none;
    outline: none;
    font-size: 19px;
    color: var(--fg);
    width: 100px;
}
.div-cb-pwgen{
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    vertical-align: central;
    gap: 5px;
}
@media (max-width: 600px){
    .div-cb-pwgen {
        display: flex;
        flex-direction: column;
        margin-top: 15px;
        vertical-align: central;
        gap: 5px;
    }
}
.pwgen-span{
    margin-right: 10px;
}
.pg-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 10000;
}
.popup1-div-btn-mobile{display: none;}
.pg-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(680px, calc(100vw - 24px));
    border-radius: 14px;
    border: 2px solid var(--border);
    background: var(--bg);
    z-index: 10001;
    box-shadow: 0 25px 70px rgba(0,0,0,.60);
}

.pg-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    font-size: 22px;
    font-weight: 700;
}

.pg-close {
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--fg);
    cursor: pointer;
}
.pg-close:hover{
    color: red;
}
.pg-body {
    padding: 10px 18px 18px;
}

.pg-output {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0px 0 5px;
}

.pg-out-input {
    min-width: 0;
    flex: 1;
    padding: 10px 5px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: var(--main);
    color: var(--fg);
    font-weight: 700;
}
.pw-row::after {
    content: "";
    position: absolute;
    left: 64px;
    right: 64px;
    bottom: 0;
    height: 1px;
    background: var(--main);
}
.pw-row:nth-last-child(1)::after {
    display: none;
}
.pg-ico-btn {
    flex: 0;
    width: 47px;
    height: 47px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: var(--main);
    cursor: pointer;
}
.pg-ico-btn:hover{
    background: var(--primary);
}

.pg-ico {
    width: 30px;
    height: 30px;
    fill: var(--fg);
}

.pg-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.pg-label {
    font-size: 18px;
    color: var(--fg);
}

.pg-slider {
    width: 100%;
    appearance: none;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
}
    .pg-slider::-webkit-slider-runnable-track {
        height: 6px;
        border-radius: 9px;
        background: linear-gradient( to right, var(--primary) 0%, var(--primary) var(--val), var(--main) var(--val), var(--main) 100% );
    }
    .pg-slider::-moz-range-track {
        height: 6px;
        border-radius: 999px;
        background: var(--main);
    }
    .pg-slider::-moz-range-progress {
        height: 6px;
        border-radius: 999px;
        background: darkcyan;
    }

    /* Thumb */
    .pg-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: darkcyan;
        border: 2px solid #5a5a5a;
        margin-top: -5px;
    }

    .pg-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #7a7a7a;
        border: 2px solid #2b2b2b;
    }
    .pg-checks {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 15px;
        color: var(--fg);
    }
@media (max-width: 600px){
    .pg-checks {
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 16px;
        color: var(--fg);
    }
}
.pg-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .pg-check input {
        accent-color: darkcyan;
    }

.pg-actions {
    display: flex;
    justify-content: center;
}

.pg-use-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.25);
    background: darkcyan;
    color: var(--fg);
    font-weight: 700;
    cursor: pointer;
}
.pg-use-btn:hover{
    filter:brightness(1.3);
}
.nav-logo{
    width: 80px;
    height: 80px;
    background: none
}
.nav-user{
    text-align: left;
    background: none;
    align-content: center;
    font-size: 25px;
    font-weight: bold
}
.nav-page {
    background: var(--main);
    display: flex;
    flex-direction: row;
}
.set-border-userdata {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    padding: 10px;
    border: 4px solid #4A5454;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
}
.set-user-1 {
    background: none;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
    align-self: center;
}
.set-label{
    flex: 1;
    min-width: 0px;
    align-self: start;
    background: none;
    margin-bottom: 5px;
}
.set-inp{
    flex: 1;
    min-width: 0px;
    margin-left: 20px;
    background: none;
    border: 2px solid var(--border);
    border-radius: 9px;
    outline: none;
    color: var(--fg);
    font-size: 15px
}
.set-user-2{
    display: flex;
    flex-direction: column;
    justify-content: right;
    margin-left: auto;
}
.set-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    fill: var(--fg);
}
.set-btn-s {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: red;
    stroke-width: 1.5px;
    fill: none;
}
.set-2-1{
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.set-2-2 {
    margin-left: 15px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.set-combo {
    padding: 3px;
    border-radius: 9px;
    background: var(--main);
    color: var(--fg);
    border: 2px solid var(--main);
    outline: none;
}
.set-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}
    .set-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
.set-slieder {
    position: absolute;
    inset: 0;
    background: var(--main);
    border: var(--main);
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
    .set-slieder:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 2px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--bg);
        border-radius: 50%;
        transition: transform .15s ease;
    }
.set-switch input:checked + .set-slieder {
    background: var(--primary); /* darkcyan vibe */
    border-color: var(--primary);
}
    .set-switch input:checked + .set-slieder:before {
        transform: translate(22px, -50%);
        background: var(--bg);
    }
.set-bc {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: bold;
    vertical-align: bottom;
}
    .set-2-3{
        display: flex;
        flex-direction: column;
        align-self: end;
    }
    .set-3-1{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
.set-btn-1 {
    background: none;
    border: 2px solid var(--border);
    border-radius: 15px;
    color: var(--fg);
    padding: 5px;
}
.set-btn-2 {
    background: red;
    border: 2px solid red;
    border-radius: 15px;
    color: var(--fg);
    padding: 5px;
    box-shadow: 0 0 12px red;
}
    .set-btn-2:hover {
        filter: brightness(0.8);
    }
.set-btn-1:hover {
    background: var(--primary);
}
.set-user-1-mobile{display: none;}
.set-user-2-mobile{display: none;}
.set-2-1-mobile{display: none;}
.set-bc-mobile{display: none;}
.set-2-2-mobile {
    display: none;
}
@media (max-width: 600px) {
    .set-2-1 {
        display: none;
    }
   .set-2-2{display: none;}
    .set-2-3{display: none;}
    .set-user-1 {
        display: none;
    }
    .set-border-userdata{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .set-bc-mobile {
        margin-top: -10px;
        padding: 0;
        display: flex;
        background: none;
        border: none;
        color: var(--primary);
        font-weight: bold;
        vertical-align: bottom;
    }
    .set-2-1-mobile {
        display: flex;
        flex-direction: row;
        gap: 5px;
    }
    .set-user-2 {
        display: none;
    }

    .set-user-1-mobile {
        display: flex;
        flex-direction: column;
    }

    .set-border-userdata{
        flex-direction: column;
    }
    .set-inp{margin:0;}
    .set-user-2-mobile{
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .set-btn{
        border: 2px solid var(--border); 
        border-radius: 10px;
        width: 40px;
        height: 40px;
    }
}
    .new-page{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
.new-svg-s {
    fill: none;
    stroke: var(--fg);
    width: 40px;
    height: 40px;
}
.new-lpw {
    align-items: end;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.new-border {
    margin-top: 20px;
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 6px;
    flex: 1;
}
.new-txt-lpw{
    background: none;
    outline: none;
    border: none;
    flex: 1;
    color: var(--fg);
}
@media(min-width: 600px){
    .new-txt-lpw{
        min-width: 400px;
    }
}
.new-btn-show{
    background: none;
    border: none;
}
.new-svg {
    fill: none;
    stroke: var(--fg);
    stroke-width: 1px;
    width: 25px;
    height: 25px;
    border: none;
}
.new-set {
    margin-top: 20px;
    border: 2px solid #4A5454;
    border-radius: 9px;
    padding: 15px;
}
.set-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.new-btn-ok {
    color: var(--fg);
    font-size: 20px;
    margin-top: 15px;
    border: darkcyan;
    padding: 6px;
    background: darkcyan;
    border-radius: 15px;
    box-shadow: 0 0 12px darkcyan;
}
    .new-btn-ok:hover {
        filter: brightness(1.2);
    }
    .new-label{
        margin-left: 20px;
    }
.rc-404 {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    background: var(--bg);
}

.rc-404-card {
    width: min(760px, 100%);
    border-radius: 18px;
    border: 2px solid var(--primary);
    background: rgba(18,18,18,.92);
    box-shadow: 0 0px 80px var(--primary);
    padding: 22px 22px 18px;
    position: relative;
    z-index: 2;
}

.rc-404-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #dff;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,139,139,.18);
    border: 1px solid var(--primary);
}

.rc-404-title {
    outline: none;
    margin: 14px 0 6px;
    font-size: 84px;
    line-height: 1;
    letter-spacing: 1px;
    color: var(--fg);
}

.rc-404-text {
    margin: 0 0 16px;
    color: var(--fg);
    font-size: 16px;
    line-height: 1.5;
    max-width: 62ch;
}

.rc-404-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 14px;
}

.rc-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: var(--main);
    color: var(--fg);
    font-weight: 700;
    cursor: pointer;
}

    .rc-btn:hover {
        background: var(--primary);
    }

.rc-404-hint {
    color: var(--fg);
    font-size: 13px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.rc-404-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
}
.set-change-page{
    display: flex;
    justify-content: center;
    width: 100%;
}
.set-change-verify {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.set-change-verify-lpw {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
}
.set-change-verify-svg {
    width: 40px;
    height: 40px;
    stroke: var(--fg);
    fill: none;
}
.btn-set-change-mobile{
    display: none;
}
@media(max-width: 600px){
    .btn-set-change-mobile {
        display: flex;
        flex-direction: column;
    }
    .btn-set-change{
        display: none;
    }
}
.set-change-verify-border {
    display: flex;
    flex-direction: row;
    border: 2px solid var(--fg);
    border-radius: 15px;
    padding: 3px;
    width: 100%;
    max-width: 500px;
}
.set-change-verify-inp {
    background: none;
    border: none;
    outline: none;
    color: var(--fg);
    flex: 1;
}
.set-change-verify-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
}
.set-change-verify-svg2 {
    width: 30px;
    height: 30px;
    stroke: var(--fg);
    fill: none;
}
.set-change-verify-btnok {
    margin-top: 20px;
    background: darkcyan;
    border: 2px solid darkcyan;
    border-radius: 15px;
    font-size: 20px;
    color: var(--fg);
    padding: 6px;
    box-shadow: 0 0 12px darkcyan;
    width: 150px;
}
.set-change-verify-btnok:hover {
    filter: brightness(1.2);
}
.set-change-verify-btnback {
    margin-right: 10px;
    width: 150px;
    padding: 6px;
    margin-top: 20px;
    background: none;
    border: 2px solid var(--border);
    border-radius: 15px;
    font-size: 20px;
    color: var(--fg);
}

    .set-change-verify-btnback:hover {
        background: darkcyan;
    }
.set-change-user {
    background: none;
    outline: none;
    border: 2px solid var(--border);
    border-radius: 15px;
    color: var(--fg);
    height: 50px;
    width: 100%;
    max-width: 500px;
}
.set-change{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}
.set-change-name{
    margin-top: 10px;
}
.tfa-activate-page{
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tfa-activate-img{
    width: 250px;
    height: 250px;
    background: none;
    border: 5px solid darkcyan;
    border-radius: 15px;
    margin-top: 20px;
}
.tfa-active-inp {
    margin-top: 10px;
    border: 2px solid white;
    background: none;
    color: darkcyan;
    font-weight: bold;
    padding: 3px;
    border-radius: 9px;
    text-align: center;
    width: 350px;
}
.tfa-activate-inp1{
    margin-top: 20px;
    margin-bottom: 10px;
}
.tfa-code-input1 {
    flex: 0;
    border-radius: 15px;
    border: 3px solid #ffffff;
    background: transparent;
    padding: 6px 14px;
    color: darkcyan;
    outline: none;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    width: 200px

}
.tfa-code-input1:focus {
    border-color: darkcyan;
}
.tfa-activate-backup{
    display: flex;
    flex: 1;
    background: none;
    color: darkcyan;
    font-size: 20px;
    border: none;
    outline: none;
    text-align: center;

}
.tfa-activate-bc-btn-mobile{
    display: none;
}
@media(max-width: 600px) {
    .tfa-activate-bc-btn{
        display: none;
    }
    .tfa-activate-bc-btn-mobile {
        display: flex;
        flex-direction: column;
    }
    .tfa-activate-backup {
        font-size: 15px;
        flex: 1;
        min-width: 0;
        padding: 5;
        width: 100%;
    }

    .tfa-activate-backup1 {
        flex: 1;
        width: 90%;
        align-content: center;
        min-width: 0;
    }
}
.tfa-activate-backup2 {
    display: flex;
    min-width: 0;
    flex-direction: column;
    flex: 1;
    width: 100%
}
.tfa-activate-backup1{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    padding: 6px;
    border-radius: 15px;
    border: 2px solid white;
}
.btn-tfa-backup{
    margin-top: 5px;
    background: none;
    color: darkcyan;
    border: none;
}
.popup1-div-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 50px;
}
.popup1-title{
    color: var(--fg);
    font-size: 30px;
    font-weight: bold;
}
.popup1-desc {
    color: var(--fg);
    font-size: 20px;
    font-weight: normal;
}
.popup1-div-btn {
    gap: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 30px;
}
.popup1-btn {
    margin-top: 20px;
    align-self: center;
    padding: 8px 40px;
    border-radius: 999px;
    border: 2px solid darkcyan;
    background: darkcyan;
    color: var(--fg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 167, 181, 0.7);
}

    .popup1-btn:hover {
        filter: brightness(1.1);
    }
@media(max-width: 600px) {
    .popup1-title {
        font-size: 25px;
    }
    .popup1-div-btn{display: none;}
    .popup1-div-btn-mobile {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }
}
.alp-ndata-div{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.alp-ndata-svg{
    width: 300px;
    height: 300px;
    fill: var(--main)
}
.alp-ndata-txt{
    font-size: 30px;
    color: var(--main);
    font-weight: bold;
}
@media (max-width: 600px) {

    /* Optional, aber mega empfehlenswert */
    * {
        box-sizing: border-box;
    }

    /* Desktop-Row im Mobile ausblenden */
    .pw-row {
        display: none !important;
    }

    /* ===== MOBILE ROW LAYOUT ===== */
    .pw-row-mobile {
        position: relative;
        width: 100%;
        display: grid;
        align-items: center;
        gap: 10px;
        /* links | text(rest) | copy | more */
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        padding: 10px 10px;
        border-radius: 0;
        cursor: pointer;
    }
        .pw-row-mobile::after {
            content: "";
            position: absolute;
            left: 40px;
            right: 40px;
            bottom: 0;
            height: 1px;
            background: var(--main);
        }
        .pw-row-mobile:nth-last-child(2)::after {
            display: none;
        }
    /* Linke Seite (Fav + Avatar) */
    .pw-col0 {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    /* Text-Block MUSS schrumpfen dürfen */
    .alp-mobile {
        grid-column: 2;
        min-width: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    /* Text abschneiden statt Buttons verschieben */
    .pw-name,
    .pw-user {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ===== ACTION BUTTONS RECHTS ===== */
    .alp-copypw-mobile {
        grid-column: 3;
        justify-self: end;
        width: 30px;
        height: 30px;
        padding: 0;
        background: none;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: static !important;
    }

    .pw-more-wrap {
        grid-column: 4;
        justify-self: end;
        position: relative; /* fürs Dropdown */
        display: inline-flex;
        flex-shrink: 0;
    }

    .alp-copypw-more {
        width: 30px;
        height: 30px;
        padding: 0;
        background: none;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: static !important;
    }

        .alp-copypw-mobile svg,
        .alp-copypw-more svg {
            width: 30px;
            height: 30px;
            display: block;
        }

    /* ===== DROPDOWN MENU ===== */
    .pw-menu {
        position: absolute;
        right: 0;
        top: 36px;
        min-width: 190px;
        padding: 6px;
        border-radius: 14px;
        background: var(--main);
        border: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 16px 40px rgba(0,0,0,0.45);
        z-index: 9999;
    }

    .pw-menu-item {
        width: 100%;
        border: 0;
        background: transparent;
        color: var(--fg);
        padding: 10px 12px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

        .pw-menu-item:hover {
            background: rgba(255,255,255,0.08);
        }

        .pw-menu-item.danger {
            color: #ff6b6b;
        }

    /* ===== "Keine Daten" Bereich ===== */
    .alp-ndata-svg {
        width: 150px;
        height: 150px;
        fill: var(--main);
    }

    .alp-ndata-txt {
        font-size: 20px;
        color: var(--main);
        font-weight: bold;
    }
}

.pw-more-wrap {
    position: relative;
    display: inline-flex;
}

.pw-menu {
    position: absolute;
    right: 0;
    top: 38px;
    min-width: 190px;
    padding: 6px;
    border-radius: 14px;
    background: var(--main);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    z-index: 9999;
}

.pw-menu-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--fg);
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    text-align: left;
}

    .pw-menu-item:hover {
        background: rgba(255,255,255,0.08);
    }

    .pw-menu-item.danger {
        color: #ff6b6b;
    }
.pw-list, .pw-row {
    overflow: visible;
}