.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Text Loader */
.text-loader {
    font-size: 2rem;
    font-weight: 700;
    color: #2f6b3c; /* CivicIssue green */
    display: flex;
    gap: 4px;
    letter-spacing: 2px;
}

.text-loader span {
    opacity: 0.3;
    animation: wave 1.5s infinite;
}

.text-loader span:nth-child(1) { animation-delay: 0s; }
.text-loader span:nth-child(2) { animation-delay: 0.1s; }
.text-loader span:nth-child(3) { animation-delay: 0.2s; }
.text-loader span:nth-child(4) { animation-delay: 0.3s; }
.text-loader span:nth-child(5) { animation-delay: 0.4s; }
.text-loader span:nth-child(6) { animation-delay: 0.5s; }
.text-loader span:nth-child(7) { animation-delay: 0.6s; }
.text-loader span:nth-child(8) { animation-delay: 0.7s; }
.text-loader span:nth-child(9) { animation-delay: 0.8s; }
.text-loader span:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
    0%   { opacity: 0.3; transform: translateY(0); }
    50%  { opacity: 1; transform: translateY(-8px); }
    100% { opacity: 0.3; transform: translateY(0); }
}
