﻿/* === SERVISCELL PRELOADER === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

/* İçerik */
.preloader-content {
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
}

/* Logo + döngü efekti */
.logo-wrapper {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
}

/* Görselin kendisi */
.preloader-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Dışındaki döngü efekti */
.logo-ring {
    width: 90px;
    height: 90px;
    border: 5px solid rgba(0, 123, 255, 0.2);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Yazı */
.loading-text {
    font-family: "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #007bff;
    letter-spacing: 1px;
    animation: pulse 1.6s ease-in-out infinite;
}

/* === Animasyonlar === */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* d-none kontrolü */
.preloader.d-none {
    display: none !important;
}
