/* Modern Elegant Loader Background Overlay */
#loading-div-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 38, 58, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
}

/* Glassmorphic Loader Card matching project button theme */
#loading-div {
    background: rgba(255, 255, 255, 0.98);
    padding: 34px 50px;
    border-radius: 24px;
    border: 1px solid rgba(6, 38, 58, 0.16);
    box-shadow: 0 25px 50px -12px rgba(6, 38, 58, 0.4), 0 0 25px rgba(6, 38, 58, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: loaderPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Attractive Dual-Ring Spinner matching button color (#06263A) */
.process-loader {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(6, 38, 58, 0.2) 35%, #06263A 100%);
    animation: spin 0.85s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #fff calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #fff calc(100% - 4px));
}

.process-loader::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: #06263A;
    border-bottom-color: #031D2D;
    animation: spinReverse 1.3s ease-in-out infinite;
}

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

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

@keyframes loaderPopIn {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* Animated Text Styling in Project Button Navy */
.textspan {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.35px;
    color: #06263A;
    animation: pulseText 1.5s ease-in-out infinite alternate;
}

@keyframes pulseText {
    0% { opacity: 0.75; }
    100% { opacity: 1; }
}