.global-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.global-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}

.global-modal-box {
    position: relative;
    width: min(420px, 100%);
    background: #0b1117;
    color: white;
    border-radius: 18px;
    padding: 24px;
    border-top: 4px solid #ff6400;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    animation: modalIn 0.22s ease-out;
}

.global-modal-title {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.global-modal-message {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

.global-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
}

.modal-btn {
    background: #ff6400;
    color: #06161c;
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.modal-btn-secondary {
    background: #1f2937;
    color: #e5e7eb;
}

.global-modal-input {
    width: 100%;
    margin-top: 16px;
    background: #06161c;
    color: white;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 12px;
    outline: none;
}

.global-modal-input:focus {
    border-color: #ff6400;
}

.input-error {
    border-color: #ef4444 !important;
}

.global-modal.success .global-modal-box {
    border-top-color: #22c55e;
}

.global-modal.info .global-modal-box {
    border-top-color: #3b82f6;
}

.global-modal.warning .global-modal-box {
    border-top-color: #ff6400;
}

.global-modal.error .global-modal-box {
    border-top-color: #ef4444;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}