/**
 * Seen.asia Loading Overlay Component
 * Shared loading overlay for all pages (Registration & Login)
 * Based on pattern from new_job_detail.php
 */

/* Base Overlay */
.seen-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.seen-loading-overlay.active {
    display: flex;
}

/* Content Container */
.seen-loading-content {
    text-align: center;
    padding: 20px;
}

.seen-loading-content img {
    width: 200px;
    height: 200px;
    max-width: 90vw;
}

.seen-loading-content p {
    color: #ffffff;
    font-size: 24px;
    margin-top: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* 3D Rotation Animation */
.seen-loading-rotate-3d {
    animation: seenSpin3d 3s linear infinite;
    transform-style: preserve-3d;
}

@keyframes seenSpin3d {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .seen-loading-content img {
        width: 150px;
        height: 150px;
    }

    .seen-loading-content p {
        font-size: 18px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .seen-loading-content img {
        width: 120px;
        height: 120px;
    }

    .seen-loading-content p {
        font-size: 16px;
        margin-top: 15px;
        padding: 0 10px;
    }
}
