body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
}

.box {
    max-width: 500px;
    margin: 60px auto;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

h1 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 12px 0 6px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

input:disabled {
    background: #f5f5f5;
    color: #666;
}

.actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: #2f2f2f;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background: #1f1f1f;
}

button.secondary {
    background: #e0e0e0;
    color: #333;
}

button.secondary:hover {
    background: #d0d0d0;
}

.msg {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
}

.msg.success {
    background: #eaf7ea;
    border: 1px solid #bfe6bf;
}

.msg.error {
    background: #fdecea;
    border: 1px solid #f5c2c2;
}

.form-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #ffecec;
    border: 1px solid #f5c2c2;
    color: #a94442;
    font-size: 14px;
}

.form-error.hidden {
    display: none;
}

.form-error::before {
    content: "⚠ ";
}