body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; margin: 0; padding: 0; color: #222; }
.app-container { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: #f4f4f5; border-right: 1px solid #e5e7eb; }
.main { flex: 1; padding: 1rem; }
.topbar { background: #fff; padding: .5rem 1rem; border-bottom: 1px solid #e5e7eb; }
.content { padding: 1rem; }
.nav-menu { padding: 1rem; }
.nav-menu a { color: #0366d6; text-decoration: none; }

/* Login page tweaks */
.content form { max-width: 420px; margin: 2rem auto; padding: 1.25rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.validation-summary-message { color: #b91c1c; margin-bottom: .75rem; }
.form-group { margin-bottom: .75rem; }

/* Soru form styles */
.form {
		/* reduced from 2400px down to 1400px for a more comfortable width */
		max-width: min(1400px, 95vw);
		width: min(1400px, 95vw);
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 1rem;
	border-radius: .5rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.form h4 { margin: 0 0 .25rem 0; }
.form label { font-weight: 600; margin-bottom: .25rem; }
.form input[type="text"], .form input[type="number"], .form textarea, .form select {
	padding: .5rem .6rem;
	border: 1px solid #d1d5db;
	border-radius: .375rem;
	font-size: .95rem;
	width: 100%;
	box-sizing: border-box;
	background-color: #fff;
}

.form select {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right .5rem center;
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	padding-right: 2.5rem;
}

.form input:focus, .form textarea:focus, .form select:focus {
	outline: none;
	border-color: #0366d6;
	box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.1);
}

.form input:hover, .form textarea:hover, .form select:hover {
	border-color: #9ca3af;
}

.form textarea { resize: vertical; min-height: 3rem; }

.form-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.form .btn { padding: .45rem .75rem; }

/* Button system - clear, accessible, and consistent */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .45rem .75rem;
	border-radius: .375rem;
	border: 1px solid transparent;
	background: #f3f4f6; /* neutral light */
	color: #111827;
	font-weight: 600;
	cursor: pointer;
	transition: background .12s ease, transform .06s ease, box-shadow .08s ease;
	box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.btn:hover { background: #e5e7eb; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus { outline: 3px solid rgba(59,130,246,0.18); outline-offset: 2px; }

/* primary action (blue) */
.btn.primary, .actions .btn { /* keep existing .actions buttons prominent */
	background: #0366d6;
	color: #fff;
	border-color: #0356b6;
}
.btn.primary:hover { background: #0256b0; }

/* danger (red) */
.btn.danger, .btn.danger:focus {
	background: #dc2626;
	color: #fff;
	border-color: #b91c1c;
}
.btn.danger:hover { background: #b91c1c; }

/* secondary/neutral */
.btn.secondary {
	background: #6b7280;
	color: #fff;
	border-color: #4b5563;
}

/* outlined button (simple border, transparent background) */
.btn.outline {
	background: transparent;
	color: #0366d6;
	border-color: #cbd5e1;
}
.btn.outline:hover {
	background: rgba(3,102,214,0.06);
}

/* smaller compact button used in forms */
.btn.small { padding: .3rem .5rem; font-size: .9rem; }

/* ensure table action buttons are compact and readable */
table .btn { padding: .25rem .5rem; font-size: .9rem; }

