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

body {
    background-color: #0d0d0d;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #e0e0e0;
    padding: 1rem;
}

#panel-register {
    background-color: #1e1e1e;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#panel-register::before {
    content: "✦";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #c9a84c;
    color: #c9a84c;
    font-size: 20px;
}

#panel-register h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.register-subtitle {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    margin-top: -1rem;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
}

.form-group input {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #e0e0e0;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input::placeholder {
    color: #555;
}

.form-group input:focus {
    border-color: #666;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background-color: #3a3a3a;
}

.login-link {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

.login-link a {
    color: #c9a84c;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.error-message {
    font-size: 0.78rem;
    color: #e05c5c;
    margin-top: 0.2rem;
}

.input-error {
    border-color: #e05c5c !important;
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 480px) {
    #panel-register {
        padding: 2rem 1.25rem;
        gap: 1.2rem;
    }

    #panel-register h2 {
        font-size: 1.3rem;
    }
}