*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.gate-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
}

.gate-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 48px 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.gate-logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    margin-bottom: 16px;
    object-fit: contain;
}

.gate-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gate-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.gate-error {
    background: #fff0f0;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: left;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.gate-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.gate-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color .15s;
}

.gate-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.gate-btn {
    margin-top: 4px;
    padding: 11px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.gate-btn:hover { background: #4f46e5; }
.gate-btn:active { background: #4338ca; }
