﻿/* Nexus Travel - shared status modal v1.0 */
.nexus-status-modal {
    z-index: 1100;
    font-family: "Segoe UI", Arial, sans-serif;
}

.nexus-status-modal + .modal-backdrop,
.modal-backdrop.show {
    background: #071b3c;
}

.nexus-status-modal .modal-dialog {
    width: min(92vw, 460px);
    max-width: 460px;
    margin: 1.5rem auto;
    position: relative;
    z-index: 1101;
}

.nexus-status-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(213, 161, 58, .22);
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 28px 80px rgba(7, 27, 60, .28);
    opacity: 1 !important;
    filter: none !important;
}

.nexus-status-modal__accent {
    height: 5px;
    background: linear-gradient(90deg, #071b3c 0%, #d5a13a 58%, #f7d98f 100%);
}

.nexus-status-modal__body {
    padding: 34px 36px 30px !important;
    text-align: center;
}

.nexus-status-modal__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 0 12px 28px rgba(7, 27, 60, .13);
    animation: nexusStatusIconIn .42s cubic-bezier(.2,.9,.3,1.25) both;
}

.nexus-status-modal--success .nexus-status-modal__icon {
    color: #148753;
    border: 1px solid rgba(20, 135, 83, .28);
    background: linear-gradient(145deg, #f2fff8, #dff7ea);
}

.nexus-status-modal--error .nexus-status-modal__icon {
    color: #d83b4a;
    border: 1px solid rgba(216, 59, 74, .25);
    background: linear-gradient(145deg, #fff7f8, #ffe8eb);
}

.nexus-status-modal__eyebrow {
    margin-bottom: 8px;
    color: #b47b10;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .14em;
}

.nexus-status-modal__title {
    margin: 0;
    color: #071b3c !important;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
}

.nexus-status-modal__message {
    max-width: 340px;
    margin: 13px auto 0;
    color: #58667d;
    font-size: 15px;
    line-height: 1.7;
    word-break: break-word;
}

.nexus-status-modal__actions {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.nexus-status-modal__button {
    min-width: 148px;
    min-height: 44px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d5a13a;
    border-radius: 13px;
    background: linear-gradient(135deg, #e6b94f 0%, #fcdb99 52%, #ffcc73 100%);
    color: #071b3c !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(213, 161, 58, .24);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.nexus-status-modal__button:hover {
    color: #071b3c !important;
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 14px 30px rgba(213, 161, 58, .32);
}

.nexus-status-modal__button:focus-visible {
    outline: 3px solid rgba(213, 161, 58, .3);
    outline-offset: 3px;
}

.nexus-status-modal.show .modal-dialog {
    animation: nexusStatusModalIn .32s ease-out both;
}

@keyframes nexusStatusModalIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nexusStatusIconIn {
    from { opacity: 0; transform: scale(.62) rotate(-8deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 575.98px) {
    .nexus-status-modal__body { padding: 28px 22px 24px !important; }
    .nexus-status-modal__icon { width: 64px; height: 64px; font-size: 28px; }
    .nexus-status-modal__title { font-size: 22px; }
    .nexus-status-modal__message { font-size: 14px; }
    .nexus-status-modal__button { width: 100%; }
}
