* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
    margin: 0;
}
a { color: #1a4a8a; }
.topbar {
    background: #16213e;
    color: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.topbar a { color: #cfe0ff; text-decoration: none; margin-left: 16px; }
.topbar a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.license-banner { padding: 10px 18px; text-align: center; color: #fff; }
.license-banner a { color: #fff; text-decoration: underline; }
.license-banner-expired { background: #7a1f1f; }
.license-banner-warning { background: #7a6a1f; }
.card {
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}
h1 { font-size: 1.5em; margin: 0 0 16px; }
h2 { font-size: 1.15em; margin: 0 0 12px; }
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 0.9em; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=file], select, textarea {
    width: 100%; padding: 8px 10px; margin-bottom: 14px;
    border: 1px solid #c7ccd6; border-radius: 4px; font-size: 14px;
}
textarea { font-family: monospace; }
.btn {
    display: inline-block; padding: 8px 18px; border: none; border-radius: 4px;
    background: #1a4a8a; color: #fff; cursor: pointer; font-size: 14px; text-decoration: none;
}
.btn:hover { background: #123564; }
.btn-danger { background: #a33; }
.btn-danger:hover { background: #822; }
.btn-secondary { background: #6c7686; }
.btn-secondary:hover { background: #545c69; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid #e5e8ee; text-align: left; }
th { background: #eef1f6; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; color: #fff; }
.badge-draft { background: #888; }
.badge-queued { background: #b8860b; }
.badge-sending { background: #1a7fb8; }
.badge-sent { background: #2a8f4b; }
.badge-pending_deletion { background: #a33; }
.badge-deleted { background: #444; }
.alert { padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.alert-error { background: #fbe4e4; color: #822; border: 1px solid #e4b8b8; }
.alert-success { background: #e4fbe9; color: #1a5c2e; border: 1px solid #b8e4c4; }
.alert-info { background: #e4f0fb; color: #1a4a8a; border: 1px solid #b8d4e4; }
.progress-bar { background: #e5e8ee; border-radius: 4px; overflow: hidden; height: 22px; }
.progress-bar-fill { background: #2a8f4b; height: 100%; color: #fff; text-align: center; font-size: 12px; line-height: 22px; }
.muted { color: #777; font-size: 0.9em; }
.row-actions a { margin-right: 10px; }

.credit {
	width:75%;
	margin: auto;
	font-size: 1vw;
	text-align:center;
	color: gray;
	padding-bottom:10px;
}