* { box-sizing: border-box; }

.gate-body {
    margin: 0;
    min-height: 100vh;
    background: #7d7d78;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    padding: 24px;
}

.gate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 520px;
}

.gate-logo {
    width: 220px;
    max-width: 60%;
    height: auto;
}

.gate-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.gate-btn {
    flex: 1;
    max-width: 220px;
    padding: 22px 16px;
    font-size: 20px;
    font-weight: 600;
    color: #7d7d78;
    background: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gate-btn:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22); }
.gate-btn:active { transform: scale(0.98); }

.gate-btn.selected {
    background: #f4f1ea;
    outline: 3px solid #fff;
}

.pin-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 260px;
}

.pin-prompt {
    color: #fff;
    font-size: 15px;
    margin: 0;
    text-align: center;
}

#pinInput {
    width: 100%;
    padding: 12px 14px;
    font-size: 20px;
    letter-spacing: 4px;
    text-align: center;
    border: none;
    border-radius: 8px;
}

#pinSubmit {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    background: #1f2d3d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#pinSubmit:hover { background: #0c1620; }

.pin-error {
    color: #ffd6d6;
    font-size: 13px;
    margin: 0;
    text-align: center;
}
