:root {
    --orange: #e69500;
    --dark: #1a1a1a;
    --gray: #333;
    --red: #ff4d4d;
    --green: #2ecc71;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background: var(--dark);
    color: white;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    border-bottom: 5px solid var(--orange);
}

.container {
    max-width: 800px;
    width: 90%;
    margin: 20px auto;
}

/* Styl klávesnice */
.simulator {
    background: var(--dark);
    padding: 30px;
    border-radius: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#safe-display {
    background: #222;
    color: var(--orange);
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    padding: 15px;
    border: 2px solid var(--gray);
    margin-bottom: 20px;
    border-radius: 5px;
    min-height: 35px;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 250px;
    margin: 0 auto;
}

button {
    padding: 20px;
    font-size: 1.2rem;
    border: none;
    background: var(--gray);
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s;
}

button:hover {
    background: var(--orange);
}

.enter { background: var(--green); }
.clear { background: var(--red); }

#status-light {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #444;
    margin: 20px auto 0;
    transition: 0.3s;
}

.component-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    background: var(--orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

footer {
    margin-top: auto;
    padding: 20px;
    color: #888;
}