* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
    color: #222;
}
.navbar {
    background: #1a3d5c;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar a { color: #fff; text-decoration: none; margin-left: 16px; }
.container { max-width: 1000px; margin: 24px auto; padding: 0 16px; }
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 20px;
}
.auth-box {
    max-width: 380px;
    margin: 80px auto;
}
h1, h2 { color: #1a3d5c; }
label { display: block; margin-top: 12px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=password], input[type=email], select {
    width: 100%;
    padding: 9px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
button, .btn {
    background: #1a3d5c;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 14px;
}
button.secondary, .btn.secondary { background: #6c757d; }
button.danger, .btn.danger { background: #b02a37; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { padding: 10px; text-align: left; border-bottom: 1px solid #eee; font-size: 14px; }
th { background: #f5f7fa; }
.badge { padding: 3px 8px; border-radius: 10px; font-size: 12px; color: #fff; }
.badge.active { background: #2e7d32; }
.badge.disabled { background: #b02a37; }
.badge.synced { background: #1a3d5c; }
.badge.not-synced { background: #d97706; }
.alert { padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; font-size: 14px; }
.alert.error { background: #fdecea; color: #b02a37; border: 1px solid #f5c6cb; }
.alert.success { background: #eaf6ea; color: #2e7d32; border: 1px solid #c3e6cb; }
.actions a { margin-right: 10px; font-size: 13px; }
