:root {
	--navy: #1B2A4A;
	--gold: #C9A227;
	--light-gold: #FBF3DC;
	--gray-bg: #F4F5F7;
	--text: #2A2A2A;
	--muted: #6B7280;
	--green: #0a7a2f;
	--yellow: #b58900;
	--red: #c0392b;
	--gray: #888888;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--gray-bg);
	color: var(--text);
}

.iwt-header {
	background: var(--navy);
	border-bottom: 3px solid var(--gold);
}

.iwt-header-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.iwt-logo {
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	text-decoration: none;
}
.iwt-logo span { color: var(--gold); }

.iwt-nav a {
	color: #e6e9f0;
	text-decoration: none;
	margin-left: 20px;
	font-size: 14px;
	font-weight: 600;
}
.iwt-nav a:hover { color: var(--gold); }
.iwt-user { color: #9aa5c0; font-size: 13px; margin-left: 20px; }

.iwt-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 20px 60px;
}

h1 { color: var(--navy); font-size: 26px; margin-bottom: 6px; }
h2 { color: var(--navy); font-size: 19px; border-bottom: 2px solid var(--gold); padding-bottom: 6px; margin-top: 36px; }
.iwt-subtitle { color: var(--muted); margin-top: 0; margin-bottom: 24px; }

.iwt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.iwt-card {
	background: #fff;
	border-radius: 8px;
	padding: 18px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	border-left: 5px solid var(--gray);
	text-decoration: none;
	color: inherit;
	display: block;
}
.iwt-card.status-green { border-left-color: var(--green); }
.iwt-card.status-yellow { border-left-color: var(--yellow); }
.iwt-card.status-red { border-left-color: var(--red); }
.iwt-card.status-gray { border-left-color: var(--gray); }

.iwt-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.iwt-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
	color: #fff;
	margin-bottom: 8px;
}
.iwt-badge.status-green { background: var(--green); }
.iwt-badge.status-yellow { background: var(--yellow); }
.iwt-badge.status-red { background: var(--red); }
.iwt-badge.status-gray { background: var(--gray); }

.iwt-card .meta { font-size: 13px; color: var(--muted); margin: 2px 0; }

.iwt-form { max-width: 480px; }
.iwt-form label { display: block; font-weight: 600; margin-top: 14px; margin-bottom: 4px; font-size: 14px; }
.iwt-form input, .iwt-form select {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #cfd3dc;
	border-radius: 5px;
	font-size: 14px;
}
.iwt-btn {
	display: inline-block;
	background: var(--navy);
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 5px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	margin-top: 16px;
	text-decoration: none;
}
.iwt-btn:hover { background: #142038; }
.iwt-btn.secondary { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.iwt-btn.danger { background: var(--red); }

.iwt-alert {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 14px;
}
.iwt-alert.error { background: #fdeceb; color: var(--red); border: 1px solid #f3c9c4; }
.iwt-alert.success { background: #e8f5ea; color: var(--green); border: 1px solid #c3e6c9; }
.iwt-alert.info { background: var(--light-gold); color: #7a5c00; border: 1px solid #eddca0; }

table.iwt-table { width: 100%; border-collapse: collapse; margin-top: 12px; background: #fff; }
table.iwt-table th, table.iwt-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #eaeaea;
	font-size: 14px;
}
table.iwt-table th { background: var(--navy); color: #fff; font-size: 13px; }

.iwt-login-wrap {
	max-width: 360px;
	margin: 60px auto;
	background: #fff;
	padding: 32px;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

code.iwt-code { background: #f0f1f5; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
