/* Laravel home.blade.php modal stilleri (5048–5771) — özet */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); z-index: 9999;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
    animation: ahmetliFadeIn 0.3s ease forwards;
}
.modal-overlay.closing { animation: ahmetliFadeOut 0.3s ease forwards; }
@keyframes ahmetliFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ahmetliFadeOut { from { opacity: 1; } to { opacity: 0; } }
.modal-container {
    position: relative; width: 95%; max-width: 1100px; height: 85vh; max-height: 85vh; background: #fff;
    border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); overflow: hidden;
    animation: ahmetliSlideUp 0.3s ease forwards; transform: translateY(20px);
}
.modal-overlay.closing .modal-container { animation: ahmetliSlideDown 0.3s ease forwards; }
@keyframes ahmetliSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ahmetliSlideDown { from { transform: translateY(0); opacity: 1; } to { transform: translateY(20px); opacity: 0; } }
.modal-close {
    position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.95);
    border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 10000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); color: #1d2327;
}
.modal-close:hover { background: #fff; transform: scale(1.05); }
.modal-content { width: 100%; height: 100%; overflow: hidden; border-radius: 16px; position: relative; }
.modal-content iframe { width: 100%; height: 100%; border: none; display: block; }
.ebeldiye-modal, .ebeldiye-modal .modal-container, .ebeldiye-modal .modal-content { overflow: hidden !important; }
body.modal-open { overflow: hidden; }

.white-desk-modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); z-index: 9999;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
    padding: 20px; overflow-y: auto;
}
.white-desk-modal-overlay.closing { animation: ahmetliFadeOut 0.3s ease forwards; }
.white-desk-modal-overlay[style*="display: flex"] { opacity: 1; animation: ahmetliFadeIn 0.3s ease forwards; }
.white-desk-modal-container {
    position: relative; width: 100%; max-width: 1000px; max-height: 95vh; background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); overflow: hidden; animation: ahmetliSlideUp 0.3s ease forwards;
    margin: auto; display: flex; flex-direction: column;
}
.white-desk-modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(255,255,255,0.95);
    border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: #1d2327; }
.white-desk-modal-content { padding: 14px; display: flex; flex-direction: column; }
.white-desk-header { margin-bottom: 12px; position: relative; padding-right: 200px; }
.white-desk-header h2 { font-size: 18px; font-weight: 700; color: #1d2327; margin: 0 0 4px; }
.white-desk-header p { font-size: 12px; color: #646970; margin: 0; }
.white-desk-query-link {
    position: absolute; right: 72px; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
    border-radius: 999px; border: 1px solid rgba(14,165,233,0.3);
    background: linear-gradient(135deg, rgba(14,165,233,0.16), rgba(59,130,246,0.12)), rgba(255,255,255,0.92);
    text-decoration: none; font-size: 12px; font-weight: 700; color: #0b1220;
}
.white-desk-form { display: flex; flex-direction: column; }
.white-desk-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.white-desk-form-column { display: flex; flex-direction: column; gap: 8px; }
.white-desk-form-section-title { font-size: 13px; font-weight: 600; color: #1d2327; margin: 0 0 6px; padding-bottom: 3px; border-bottom: 2px solid #f0f0f1; }
.white-desk-form-group { display: flex; flex-direction: column; gap: 3px; }
.white-desk-form-group label { font-size: 13px; font-weight: 500; color: #1d2327; }
.white-desk-form-group .required { color: #d63638; }
.white-desk-form-group input, .white-desk-form-group textarea, .white-desk-form-group select {
    width: 100%; padding: 7px 9px; border: 2px solid #dcdcde; border-radius: 6px; font-size: 13px; font-family: inherit; background: #fff; color: #1d2327;
}
.white-desk-form-group textarea { resize: vertical; min-height: 36px; }
.white-desk-form-group textarea#complaint_text { min-height: 55px; }
.form-hint { font-size: 11px; color: #646970; }
.form-error { font-size: 13px; color: #d63638; display: none; }
.form-error.show { display: block; }
.white-desk-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.white-desk-checkbox-label input { width: 18px; height: 18px; margin-top: 2px; }
.white-desk-form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 8px; margin-top: 8px; border-top: 2px solid #f0f0f1; }
.white-desk-btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.white-desk-btn-primary { background: #2271b1; color: #fff; }
.white-desk-btn-primary:disabled { background: #c3c4c7; cursor: not-allowed; }
.white-desk-btn-secondary { background: #f0f0f1; color: #1d2327; }
.white-desk-success-container { padding: 40px 24px; text-align: center; }
.white-desk-success-icon { width: 80px; height: 80px; margin: 0 auto 24px; background: #00a32a; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.white-desk-success-container h2 { font-size: 22px; font-weight: 700; color: #1d2327; margin: 0 0 12px; }
.white-desk-ticket-no { font-size: 28px; font-weight: 700; color: #2271b1; margin: 0 0 16px; padding: 12px; background: #f0f6fc; border-radius: 8px; border: 2px dashed #2271b1; }
@media (max-width: 768px) {
    .modal-container { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
    .white-desk-modal-overlay { padding: 0; align-items: flex-end; }
    .white-desk-modal-container { max-width: 100%; border-radius: 20px 20px 0 0; }
    .white-desk-form-grid { grid-template-columns: 1fr; }
    .white-desk-header { padding-right: 0; }
    .white-desk-query-link { position: static; margin-top: 10px; }
}
