/* Yazılımpro Teknik Destek — ön yüz (panelde de yazışma/ek alanı için kullanılır) */

.ypd { max-width: 760px; font-size: 15px; line-height: 1.6; color: #1f2328; }
.ypd *, .ypd *::before, .ypd *::after { box-sizing: border-box; }

.ypd-giris p { margin: 0 0 12px; }

.ypd-form label,
.ypd-etiket { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 15px; }
.ypd-ipucu { font-weight: 400; color: #6b7280; font-size: 13px; }

.ypd-form input[type=text],
.ypd-form input[type=email],
.ypd-form input[type=tel],
.ypd-form select,
.ypd-form textarea,
.ypd-puan textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 13px;
	border: 1px solid #c9ccd1;
	border-radius: 6px;
	font: inherit;
	font-weight: 400;
	background: #fff;
	color: inherit;
}
.ypd-form textarea { min-height: 140px; line-height: 1.6; }
/* Tema select'e sabit yükseklik veriyor; iç boşlukla birleşince metin kesiliyordu. */
.ypd-form select {
	height: auto;
	min-height: 46px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 36px;
	line-height: 1.4;
}

/* Hesabım menüsü ikonu: tema her öğeye sınıfına göre SVG maske verir; bizimkine yoksa dolu kare çıkar. */
.woocommerce-MyAccount-navigation-link--destek-taleplerim a::before {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 10H16M8 14H13M21 12C21 16.4183 16.9706 20 12 20C10.4607 20 9.01172 19.6565 7.74467 19.0511L3 20L4.39499 16.28C3.51156 15.0423 3 13.5743 3 12C3 7.58172 7.02944 4 12 4C16.9706 4 21 7.58172 21 12Z' stroke='%234A5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 10H16M8 14H13M21 12C21 16.4183 16.9706 20 12 20C10.4607 20 9.01172 19.6565 7.74467 19.0511L3 20L4.39499 16.28C3.51156 15.0423 3 13.5743 3 12C3 7.58172 7.02944 4 12 4C16.9706 4 21 7.58172 21 12Z' stroke='%234A5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}
.ypd-form input:focus,
.ypd-form select:focus,
.ypd-form textarea:focus { outline: 2px solid #1d4ed8; outline-offset: 0; border-color: #1d4ed8; }

.ypd-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 620px) { .ypd-izgara { grid-template-columns: 1fr; } }

.ypd-onay { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 14px; }
.ypd-onay input { margin-top: 4px; flex: 0 0 auto; }
.ypd-onay label { margin: 0; font-weight: 400; font-size: 14px; }

.ypd-btn {
	display: inline-block;
	background: #1d4ed8;
	color: #fff;
	border: 1px solid #1d4ed8;
	border-radius: 6px;
	padding: 12px 24px;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.ypd-btn:hover, .ypd-btn:focus { background: #1e40af; border-color: #1e40af; color: #fff; }
.ypd-btn--ikincil { background: transparent; color: #1d4ed8; padding: 8px 16px; }
.ypd-btn--ikincil:hover, .ypd-btn--ikincil:focus { background: #eef2ff; color: #1e40af; }

.ypd-kutu { border: 1px solid; border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; }
.ypd-kutu ul { margin: 8px 0 0 18px; }
.ypd-kutu--hata { background: #fdf2f2; border-color: #f0c5c5; color: #7a1c1e; }
.ypd-kutu--tamam { background: #eef8f1; border-color: #bfe3c8; }
.ypd-kutu--tamam h3 { margin: 0 0 8px; }
.ypd-no { font-size: 32px; font-weight: 700; letter-spacing: 1px; margin: 0 0 10px; }

.ypd-bal { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ypd-gizli-etiket { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- Dosya ekleri --- */
.ypd-ekler { position: relative; margin: 18px 0; }
.ypd-gizli { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ypd-alan { display: none; }
.ypd-ekler.ypd-js .ypd-gercek { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ypd-ekler.ypd-js .ypd-alan {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 6px;
	padding: 14px 16px;
	border: 2px dashed #c9ccd1;
	border-radius: 8px;
	background: #fafbfc;
	cursor: text;
}
.ypd-alan:focus, .ypd-alan.ypd-surukle { outline: none; border-color: #1d4ed8; background: #f1f5ff; }
.ypd-alan-metin { font-size: 14px; color: #4b5563; }
.ypd-alan:focus .ypd-alan-metin::after { content: " · Şimdi Ctrl+V ile yapıştırabilirsiniz"; color: #1d4ed8; font-weight: 600; }
.ypd-dosyalar { list-style: none; margin: 8px 0 0; padding: 0; }
.ypd-dosyalar li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	padding: 6px 10px;
	border: 1px solid #e3e5e8;
	border-radius: 6px;
	font-size: 14px;
	word-break: break-all;
}
.ypd-sil { background: none; border: 0; color: #b42318; cursor: pointer; font: inherit; font-size: 13px; padding: 2px 4px; }
.ypd-uyari { color: #b42318; font-size: 14px; margin: 6px 0 0; }

/* --- Durum rozeti --- */
.ypd-rozet { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.6; vertical-align: middle; }
.ypd-rozet--yeni { background: #dbeafe; color: #1e40af; }
.ypd-rozet--islemde { background: #fef3c7; color: #92400e; }
.ypd-rozet--yanitlandi { background: #dcfce7; color: #166534; }
.ypd-rozet--kapandi { background: #e5e7eb; color: #374151; }

/* --- Takip sayfası --- */
.ypd-ust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.ypd-baslik { margin: 0; }
.ypd-konu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px 16px;
	margin: 16px 0 22px;
	padding: 14px 16px;
	background: #f6f7f9;
	border: 1px solid #e3e5e8;
	border-radius: 8px;
}
.ypd-konu dt { margin: 0; font-size: 12px; color: #6b7280; }
.ypd-konu dd { margin: 0; font-weight: 600; }

.ypd-msj { display: flex; margin: 0 0 14px; }
.ypd-msj--musteri { justify-content: flex-start; }
.ypd-msj--ekip { justify-content: flex-end; }
.ypd-balon { max-width: 85%; padding: 12px 15px; border-radius: 12px; background: #f0f1f3; }
.ypd-msj--musteri .ypd-balon { border-bottom-left-radius: 3px; }
.ypd-msj--ekip .ypd-balon { background: #e3edfd; border-bottom-right-radius: 3px; }
.ypd-kimzaman { margin-bottom: 4px; font-size: 12px; color: #6b7280; font-weight: 600; }
.ypd-metin { white-space: pre-wrap; overflow-wrap: anywhere; }
.ypd-ekler-goster { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ypd-ek { font-size: 14px; }
.ypd-ek img { display: block; max-width: 220px; max-height: 180px; border: 1px solid #d5d8dc; border-radius: 6px; }

.ypd-yanit h3 { margin: 28px 0 4px; }

.ypd-puan fieldset { margin: 0 0 22px; padding: 14px 16px; border: 1px solid #e3e5e8; border-radius: 8px; }
.ypd-puan legend { padding: 0 6px; font-weight: 600; }
.ypd-puan label { display: block; font-weight: 600; margin: 12px 0 6px; }
.ypd-yildizlar { display: flex; gap: 8px; flex-wrap: wrap; }
.ypd-yildizlar label { position: relative; margin: 0; }
.ypd-yildizlar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ypd-yildizlar span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #c9ccd1;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
}
.ypd-yildizlar input:checked + span { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.ypd-yildizlar input:focus-visible + span { outline: 2px solid #1d4ed8; outline-offset: 2px; }

.ypd-diger { margin-top: 28px; font-size: 14px; color: #4b5563; }
.ypd-diger h3 { margin: 0 0 6px; font-size: 16px; color: #1f2328; }

.ypd-hesap-tablo .ypd-rozet { white-space: nowrap; }
