/**
 * Admin area CSS for Bye Bye Passwords plugin
 */

.byebyepw-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.byebyepw-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.byebyepw-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.byebyepw-modal-close:hover,
.byebyepw-modal-close:focus {
    color: #000;
    text-decoration: none;
}

.byebyepw-recovery-codes ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.byebyepw-recovery-codes li {
    margin: 10px 0;
    padding: 10px 15px;
    background: #f0f0f1;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #c3c4c7;
    border-radius: 3px;
}

.byebyepw-recovery-codes li code {
    background: transparent;
    padding: 0;
    font-size: 14px;
}

/* Print styles for recovery codes */
@media print {
    body * {
        visibility: hidden;
    }
    .byebyepw-recovery-codes,
    .byebyepw-recovery-codes * {
        visibility: visible;
    }
    .byebyepw-modal-content {
        position: absolute;
        left: 0;
        top: 0;
    }
}

/* Passkey management table */
.byebyepw-delete-passkey {
    color: #d63638;
}

.byebyepw-delete-passkey:hover {
    color: #a02222;
    border-color: #a02222;
}

/* WebAuthn support notices */
.byebyepw-webauthn-not-supported {
    margin: 20px 0;
}

.byebyepw-webauthn-supported .notice-success {
    border-left-color: #00a32a;
}

/* Full-width cards for admin pages */
.byebyepw-wrap {
    max-width: none !important;
}

.byebyepw-wrap .card,
.wrap .card {
    max-width: none !important;
    margin-left: 0;
    margin-right: 20px;
}

/* Settings page notice list */
.byebyepw-notice-list {
    list-style-type: disc;
    margin-left: 20px;
}