body {
    background: #f0f2f5;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.box {
    width: 350px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

h2 {
    margin-bottom: 25px;
    color: #1c1e21;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #dddfe2;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 2px #e7f3ff;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    margin: 10px 0 5px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s, transform 0.1s;
}

button:active {
    transform: scale(0.98);
}

button { background: #1877f2; color: white; }
button:hover { background: #166fe5; }

.danger { background: #dc3545; color: white; }
.danger:hover { background: #c82333; }

.secondary { background: #42b72a; color: white; }
.secondary:hover { background: #36a420; }

#msg {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.5s ease;
    min-height: 20px;
}

.success { color: #155724; background: #d4edda; border: 1px solid #c3e6cb; }
.error { color: #721c24; background: #f8d7da; border: 1px solid #f5c6cb; }
.hidden { display: none; opacity: 0; }
b#name { color: #1877f2; }