/* Defconsis Soru-Cevap — Ön Yüz Stilleri */

/* ---------- Form ---------- */
.dsc-form-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.dsc-form-banner {
	display: flex;
	align-items: center;
	gap: 18px;
	background: linear-gradient(135deg, #0f1b2d 0%, #1c2f4a 100%);
	border-radius: 12px;
	padding: 18px 24px;
	margin-bottom: 20px;
	color: #fff;
}

.dsc-form-banner-illu {
	flex: 0 0 auto;
	line-height: 0;
}

.dsc-form-banner-illu svg {
	display: block;
}

.dsc-form-banner-text h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.dsc-form-banner-text p {
	margin: 0;
	font-size: 14px;
	color: #aeb9c9;
}

.dsc-form {
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 10px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(15, 27, 45, 0.05);
}

@media (max-width: 480px) {
	.dsc-form-banner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
}

.dsc-field {
	margin-bottom: 18px;
}

.dsc-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #1f2937;
}

.dsc-req {
	color: #dc2626;
}

.dsc-optional {
	color: #9ca3af;
	font-weight: 400;
	font-size: 13px;
}

.dsc-field input[type="text"],
.dsc-field input[type="email"],
.dsc-field select,
.dsc-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
	background: #fff;
}

.dsc-field input:focus,
.dsc-field select:focus,
.dsc-field textarea:focus {
	outline: none;
	border-color: #0f1b2d;
	box-shadow: 0 0 0 3px rgba(15, 27, 45, 0.12);
}

.dsc-btn {
	background: #0f1b2d;
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, opacity .15s;
}

.dsc-btn:hover {
	background: #1c2f4a;
}

.dsc-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.dsc-form-message {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.dsc-form-message.dsc-success {
	background: #d1e7dd;
	color: #0f5132;
	border: 1px solid #badbcc;
}

.dsc-form-message.dsc-error {
	background: #f8d7da;
	color: #842029;
	border: 1px solid #f5c2c7;
}

/* ---------- Tablo & Filtreler ---------- */
.dsc-table-wrap {
	width: 100%;
}

.dsc-table-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 18px;
	align-items: flex-end;
	justify-content: space-between;
}

.dsc-filters-left,
.dsc-filters-right {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

.dsc-filters-right {
	margin-left: auto;
}

.dsc-filter {
	display: flex;
	flex-direction: column;
}

.dsc-filter label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #374151;
}

.dsc-filter select,
.dsc-filter input[type="date"],
.dsc-filter input[type="text"] {
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	min-width: 170px;
	box-sizing: border-box;
}

.dsc-filters-right .dsc-filter-search input[type="text"] {
	min-width: 200px;
	max-width: 260px;
}

.dsc-filters-right .dsc-btn-sm {
	padding: 8px 14px;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
}

.dsc-btn-secondary {
	background: #fff;
	color: #0f1b2d;
	border: 1px solid #d1d5db;
}

.dsc-btn-secondary:hover {
	background: #f3f4f6;
}

table.dsc-table thead th {
	background: #0f1b2d;
	color: #fff;
	font-weight: 600;
}

.dsc-hidden-col {
	display: none;
}

table.dsc-table tbody tr:hover {
	background: #f6f8fb;
}

.dsc-konu-link {
	font-weight: 600;
	text-decoration: none;
	color: #0f1b2d;
}

.dsc-konu-link:hover {
	text-decoration: underline;
}

/* ---------- Tekil Soru Sayfası ---------- */
.dsc-single-wrap {
	max-width: 760px;
}

.dsc-single-gonderen {
	font-weight: 600;
	color: #374151;
	margin: 0 0 14px;
}

.dsc-single-soru-icerik {
	margin-bottom: 24px;
}

.dsc-single-cevap {
	background: #e8f6ee;
	border-left: 4px solid #2e7d4f;
	border-radius: 8px;
	padding: 18px 20px;
}

.dsc-single-cevaplayan {
	font-weight: 600;
	color: #0f5132;
	margin: 0 0 10px;
}

.dsc-single-body img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.dsc-youtube-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 16px 0;
	border-radius: 8px;
	background: #000;
}

.dsc-youtube-embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 900px) {
	.dsc-table-filters {
		flex-direction: column;
		align-items: stretch;
	}

	.dsc-filters-left,
	.dsc-filters-right {
		width: 100%;
		margin-left: 0;
	}

	.dsc-filters-right {
		justify-content: flex-end;
	}
}

@media (max-width: 600px) {
	.dsc-filters-left,
	.dsc-filters-right {
		flex-direction: column;
		align-items: stretch;
	}

	.dsc-filter select,
	.dsc-filter input[type="date"],
	.dsc-filters-right .dsc-filter-search input[type="text"] {
		min-width: 100%;
		max-width: none;
		width: 100%;
	}

	.dsc-filters-right .dsc-btn-sm {
		width: 100%;
	}
}
