/* Bildirim stilleri — hosting uyumlu (site.css'ten bağımsız yüklenebilir) */

body .global-alert-box {
    position: fixed !important;
    top: 7.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100050 !important;
    max-width: min(560px, calc(100vw - 32px)) !important;
    width: max-content !important;
    padding: 14px 44px 14px 18px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25) !important;
    opacity: 1 !important;
    color: #fff !important;
    transition: opacity 0.4s ease;
    pointer-events: auto !important;
    margin: 0 !important;
    display: block !important;
}

body .global-alert-box.alert-success {
    background-color: #198754 !important;
    border: 2px solid #fff !important;
}

body .global-alert-box.alert-danger {
    background-color: #dc3545 !important;
    border: 2px solid #fff !important;
}

body .global-alert-box .global-alert-close {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    opacity: 0.9 !important;
    padding: 0 4px !important;
}

body .flash-message {
    display: block !important;
    padding: 14px 18px !important;
    margin-bottom: 1.25rem !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

body .flash-message-success {
    background-color: #d1e7dd !important;
    color: #0a3622 !important;
    border: 1px solid #a3cfbb !important;
}

body .flash-message-error {
    background-color: #f8d7da !important;
    color: #58151c !important;
    border: 1px solid #f1aeb5 !important;
}

body #travelCostInfo.travel-cost-warning {
    color: #b45309 !important;
    background-color: #fffbeb !important;
    border: 1px solid #fcd34d !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    display: block !important;
}

@media (max-width: 768px) {
    body .global-alert-box {
        top: 5.5rem !important;
        left: 16px !important;
        right: 16px !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
    }
}
