/* MediCore — ön yüz stilleri.
   Tipografi bilinçli olarak temadan miras alınır; yalnızca yapı ve renk tanımlanır. */

.mc-panel,
.mc-form {
	--mc-ink: #1a2430;
	--mc-muted: #64748b;
	--mc-line: #e3e8ee;
	--mc-accent: #0e7c6b;
	--mc-accent-soft: #e6f2f0;
	--mc-warn: #b45309;
	--mc-warn-soft: #fdf3e3;
	color: var(--mc-ink);
}

/* Formlar */

.mc-form {
	max-width: 34rem;
}

.mc-field {
	margin-bottom: 1.15rem;
}

.mc-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.95em;
}

.mc-field input,
.mc-field select,
.mc-field textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--mc-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: inherit;
}

.mc-field input:focus,
.mc-field select:focus,
.mc-field textarea:focus {
	outline: 2px solid var(--mc-accent);
	outline-offset: 1px;
	border-color: var(--mc-accent);
}

.mc-button {
	display: inline-block;
	padding: 0.75rem 1.6rem;
	border: 0;
	border-radius: 8px;
	background: var(--mc-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.mc-button:hover {
	background: #0b6558;
}

.mc-fineprint {
	margin-top: 0.6rem;
	color: var(--mc-muted);
	font-size: 0.85em;
	line-height: 1.5;
}

/* Bildirimler */

.mc-notice {
	margin-bottom: 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	border-left: 3px solid var(--mc-accent);
	background: var(--mc-accent-soft);
	font-size: 0.95em;
}

.mc-notice-warn {
	border-left-color: var(--mc-warn);
	background: var(--mc-warn-soft);
}

.mc-notice-info {
	border-left-color: var(--mc-muted);
	background: #f1f5f9;
}

/* Panel */

.mc-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: 1px;
	margin-bottom: 2.5rem;
	border: 1px solid var(--mc-line);
	border-radius: 10px;
	background: var(--mc-line);
	overflow: hidden;
}

.mc-stat {
	padding: 1.1rem 1.2rem;
	background: #fff;
}

.mc-stat-value {
	display: block;
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.2;
}

.mc-stat-label {
	display: block;
	margin-top: 0.25rem;
	color: var(--mc-muted);
	font-size: 0.82em;
}

.mc-block {
	margin-bottom: 2.5rem;
}

.mc-block h3 {
	margin: 0 0 0.9rem;
	font-size: 1.05em;
}

.mc-link {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px dashed var(--mc-accent);
	border-radius: 8px;
	background: var(--mc-accent-soft);
	font: inherit;
	color: inherit;
	cursor: pointer;
}

/* Tablolar */

.mc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.93em;
}

.mc-table th {
	padding: 0.6rem 0.7rem;
	border-bottom: 2px solid var(--mc-line);
	text-align: right;
	font-weight: 600;
	color: var(--mc-muted);
}

.mc-table td {
	padding: 0.75rem 0.7rem;
	border-bottom: 1px solid var(--mc-line);
	text-align: right;
}

.mc-table th:first-child,
.mc-table td:first-child {
	text-align: left;
}

.mc-empty {
	padding: 1.5rem;
	border: 1px dashed var(--mc-line);
	border-radius: 10px;
	color: var(--mc-muted);
	text-align: center;
}

/* Durum rozetleri */

.mc-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 20px;
	background: #f1f5f9;
	font-size: 0.85em;
	white-space: nowrap;
}

.mc-badge-treated,
.mc-badge-paid {
	background: var(--mc-accent-soft);
	color: #0b5a4e;
}

.mc-badge-approved,
.mc-badge-appointment {
	background: #e8eefb;
	color: #1e40af;
}

.mc-badge-lost,
.mc-badge-rejected {
	background: #fbeaea;
	color: #9b1c1c;
}

@media (max-width: 640px) {
	.mc-table thead {
		display: none;
	}

	.mc-table tr {
		display: block;
		margin-bottom: 0.9rem;
		padding-bottom: 0.5rem;
		border-bottom: 1px solid var(--mc-line);
	}

	.mc-table td {
		display: flex;
		justify-content: space-between;
		border: 0;
		padding: 0.3rem 0;
		text-align: right;
	}

	.mc-table td:first-child {
		font-weight: 600;
	}
}
