﻿
.loader-container {
    text-align: center;
}

.logo-container {
    position: relative;
    margin-bottom: 40px;
}

.logo-text {
    font-size: 64px;
    font-weight: bold;
    color: #4DBDE8;
    text-shadow: 3px 3px 0 #2C8FB5, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    letter-spacing: -2px;
    animation: logoPulse 2s ease-in-out infinite;
}

.stars-container {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.star {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #F5A623;
    position: relative;
    animation: starTwinkle 1.5s ease-in-out infinite;
}

    .star:before {
        content: '';
        position: absolute;
        top: 8px;
        left: -15px;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 25px solid #F5A623;
    }

    .star:nth-child(1) {
        animation-delay: 0s;
        transform: scale(1.2);
    }

    .star:nth-child(2) {
        animation-delay: 0.2s;
        transform: scale(0.9);
    }

    .star:nth-child(3) {
        animation-delay: 0.4s;
        transform: scale(0.7);
    }

    .star:after {
        content: '';
        position: absolute;
        top: -5px;
        left: 10px;
        width: 8px;
        height: 8px;
        background: #2C3E50;
        border-radius: 50%;
    }


.big-container {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.loader-container {
    position: fixed;
    z-index: 10000000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    width: 100%;
    height: 100%;
    display:none
  
}

.logo-container {
    position: relative;
    margin-bottom: 40px;

}

.logo-text {
    font-size: 64px;
    font-weight: bold;
    color: #4DBDE8;
    text-shadow: 3px 3px 0 #2C8FB5, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    letter-spacing: -2px;
    animation: logoPulse 2s ease-in-out infinite;
}

.stars-container {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.star {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #F5A623;
    position: relative;
    animation: starTwinkle 1.5s ease-in-out infinite;
}

    .star:before {
        content: '';
        position: absolute;
        top: 8px;
        left: -15px;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 25px solid #F5A623;
    }

    .star:nth-child(1) {
        animation-delay: 0s;
        transform: scale(1.2);
    }

    .star:nth-child(2) {
        animation-delay: 0.2s;
        transform: scale(0.9);
    }

    .star:nth-child(3) {
        animation-delay: 0.4s;
        transform: scale(0.7);
    }

    .star:after {
        content: '';
        position: absolute;
        top: -5px;
        left: 10px;
        width: 8px;
        height: 8px;
        background: #2C3E50;
        border-radius: 50%;
    }

/* Spinner */
.spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 6px solid transparent;
    border-top-color: #4DBDE8;
    border-right-color: #4DBDE8;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

    .spinner-ring:nth-child(2) {
        width: 70%;
        height: 70%;
        top: 15%;
        left: 15%;
        border-top-color: #F5A623;
        border-right-color: #F5A623;
        animation: spin 1.5s linear infinite reverse;
    }

    .spinner-ring:nth-child(3) {
        width: 40%;
        height: 40%;
        top: 30%;
        left: 30%;
        border-top-color: #2C8FB5;
        border-right-color: #2C8FB5;
        animation: spin 1s linear infinite;
    }

.loading-text {
    color: #4DBDE8;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.dots {
    display: inline-block;
    width: 40px;
    text-align: left;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9) rotate(180deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

#excelPreview table {
    border-collapse: collapse;
    width: 100%;
    table-layout: auto; /* allow column width to fit content */
}

#excelPreview th, #excelPreview td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: left;
    white-space: nowrap; /* prevent wrapping, columns expand to fit content */
}

#excelPreview th {
    background-color: #EDFBFF;
    color: white;
}

#excelPreview tr:nth-child(even) {
    background-color: #EDFBFF;
}