/* Login page minimal styling */
.edc-login-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edc-login-card {
    background: #111827;
    color: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    min-width: 320px;
    max-width: 420px
}

.edc-login-card h1 {
    margin-top: 0;
    font-size: 18px
}

.edc-login-card input[type=text],
.edc-login-card input[type=password] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #0b1020;
    color: #e5e7eb;
    margin: 6px 0
}

.edc-login-card input[type=submit] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #22c55e;
    color: #111;
    font-weight: 700;
    cursor: pointer
}

.edc-login-card input[type=submit]:hover {
    opacity: .95
}

.edc-login-meta {
    margin-top: 8px;
    font-size: 12px;
    opacity: .9
}

/* E2EE unlock overlay (admin) */
.edc-unlock {
    position: fixed;
    inset: auto 16px 16px auto;
    background: #111;
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    z-index: 99999
}

.edc-unlock h4 {
    margin: 0 0 6px 0
}

.edc-unlock .row {
    display: flex;
    gap: 6px;
    align-items: center
}

.edc-unlock input {
    height: 34px;
    border-radius: 8px;
    border: none;
    padding: 0 10px
}

.edc-unlock button {
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #22c55e;
    color: #111;
    padding: 0 10px;
    font-weight: 700
}