body {
    background: #0b0b0d;
    color: #e4e4e7;
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 20px;
}

h2 {
    color: #c084fc;
    margin-bottom: 20px;
	
}

.card {
    background: #141416;
    border: 1px solid #262626;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #c084fc;
}

input, button {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    background: #111113;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    background: #a855f7;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #c084fc;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #141416;
}

th {
    background: #1a1a1d;
    color: #c084fc;
    padding: 12px;
    border-bottom: 1px solid #333;
}

td {
    padding: 10px;
    border-bottom: 1px solid #262626;
}

.status-green {
    background: #16a34a;
}

.status-red {
    background: #dc2626;
}

.deleteButton {
    background: #dc2626;
}

.deleteButton:hover {
    background: #ef4444;
}

.log-box {
    background: #111113;
    border: 1px solid #333;
    padding: 10px;
    height: 500px;
    overflow: auto;
    color: #ccc;
    white-space: pre-wrap;
}
.link-btn {
    display: inline-block;
    padding: 10px 16px;
    background: var(--purple);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: 0.2s ease;
}

.link-btn:hover {
    background: var(--purple-light);
}

.log-link {
    color: var(--purple-light);
    font-weight: 500;
}

.log-link:hover {
    color: var(--purple);
}
.key-output {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--purple-light);
    margin-top: 20px;
    padding: 20px;
    background: #111113;
    border: 1px solid #333;
    border-radius: 10px;
    white-space: pre-wrap;
}

.keylist-toggle {
    cursor: pointer;
    color: var(--purple-light);
    font-weight: 600;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.keylist-toggle:hover {
    color: var(--purple);
}

.keylist-container {
    display: none;
    margin-top: 15px;
}

.keylist-container.open {
    display: block;
}


/* --- Login Form Only --- */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form input,
.login-form button {
    width: 100%;
    max-width: 250px;
}
.login-back {
    display: flex;
    justify-content: center;
}