/* NLC Transparent Blue Loading Overlay Styles */
.nlc-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 31, 51, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nlc-loading-overlay.active {
    display: flex;
    opacity: 1;
}

.nlc-loading-box {
    background: rgba(255, 255, 255, 0.96);
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
    max-width: 380px;
    width: 90%;
    animation: nlcScaleIn 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

@keyframes nlcScaleIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.nlc-spinner-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.nlc-spinner-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(18, 51, 112, 0.15);
    border-top: 4px solid #ff914d;
    border-right: 4px solid #123370;
    border-radius: 50%;
    animation: nlcSpin 1s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}

@keyframes nlcSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nlc-spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: auto;
    animation: nlcPulse 1.8s ease-in-out infinite;
}

@keyframes nlcPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.nlc-loading-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f2b48;
    margin-bottom: 8px;
}

.nlc-loading-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.nlc-pulse-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-top: 18px;
    overflow: hidden;
    position: relative;
}

.nlc-pulse-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #123370, #ff914d);
    border-radius: 4px;
    animation: nlcBarMove 1.5s infinite ease-in-out;
}

@keyframes nlcBarMove {
    0% { left: -40%; width: 30%; }
    50% { width: 60%; }
    100% { left: 100%; width: 30%; }
}

/* Status Badges */
.mail-status-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-left: 6px;
}
.mail-status-sent {
    background: #dcfce7;
    color: #15803d;
}
.mail-status-error {
    background: #fee2e2;
    color: #b91c1c;
}
