body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
}

h1 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.key-display {
    font-family: monospace;
    font-size: 1.5rem;
    background: #eee;
    padding: 1rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    word-break: break-all;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.key-display:hover {
    background-color: #e0e0e0;
}

.key-display:active {
    background-color: #d0d0d0;
}


button {
    background: #0070f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #0051a2;
}

.status {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.settings-container {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.settings-container h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 4px;
}

.form-group input {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-secondary {
    background: #6c757d;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-secondary:hover {
    background: #5a6268;
}