:root {
    --bitz-bg: #050b16;
    --bitz-accent: #00d4ff;
    --bitz-text: #e8f8ff;
    --bitz-blue: #4A90E2;
    --bitz-neon: #3light9FFB4;
    --bitz-dark: #1A1A1D;
    --bitz-light: #F2F7FF;
    --bitz-coral: #FF6F61;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bitz-light);
    color: var(--bitz-text);
}

header {
    background-color: var(--bitz-bg);
    color: var(--bitz-light);
    padding: 1rem;
    padding-bottom: 20px;
}

header img {
    display: block;
    width: 60%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
}

header h1 {
    margin: 0;
}

header a {
    color: var(--bitz-accent);
    text-decoration: none;
}

main {
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bitz-light);
    color: var(--bitz-dark);
}

.card {
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
    width: 100%;
    padding: 0.4rem;
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: none;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #555;
}

.btn-small {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
}

.alert {
    background: #ffecec;
    border: 1px solid #f5c2c2;
    color: #b94a48;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.table th {
    text-align: left;
    background: #f0f0f0;
}

.inline-form {
    display: inline-block;
    margin: 0;
}

p.error,
p.success {
    padding: 10px 14px;
    margin: 15px 0;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

p.error {
    background-color: #fdecea;      /* vermell suau de fons */
    border: 1px solid #f5c2c7;      /* vora vermell clar */
    color: #842029;                 /* text vermell fosc */
}

p.success {
    background-color: #e9f7ef;      /* verd suau de fons */
    border: 1px solid #badbcc;      /* vora verd clar */
    color: #0f5132;                 /* text verd fosc */
}
