.fxm-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100%);
  height: calc(100%);

  background-color: rgba(0, 0, 0, 0.3); /* sadece arka plan şeffaf */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  border-radius: 16px;
  overflow: hidden;
}

    .fxm-loading-spinner {
      width: 50px;
      height: 50px;
      border: 5px solid rgba(0,0,0,0.1);
      border-top: 5px solid #3498db; /* profesyonel mavi ton */
      border-radius: 50%;
      animation: fxm-spin 1s linear infinite;
    }

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

    /* Overlay'in parent elementini relative yapabilmek için */
    .fxm-loading-container {
      position: relative !important;
    }

    
@keyframes ultra-shimmer {
            0% {
                background-position: -200px 0;
                opacity: 0.8;
            }
            100% {
                background-position: calc(200px + 100%) 0;
                opacity: 1;
            }
        }

        /* Nabız efekti */
        @keyframes pulse-glow {
            0%, 100% {
                opacity: 0.6;
                transform: scale(1);
            }
            50% {
                opacity: 0.9;
                transform: scale(1.02);
            }
        }

        /* Dalga efekti */
        @keyframes wave-flow {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }

        .fxm-skeleton {
            pointer-events: none;
            user-select: none;
            position: relative;
            color: transparent !important;
        }

        .fxm-skeleton div{
          color: transparent !important;
        }

        .fxm-skeleton h1, .fxm-skeleton h2, .fxm-skeleton h3, .fxm-skeleton h4, .fxm-skeleton h5, .fxm-skeleton h6,
        .fxm-skeleton p, .fxm-skeleton li, .fxm-skeleton span, .fxm-skeleton a,
        .fxm-skeleton .btn, .fxm-skeleton button,
        .fxm-skeleton label,
        .fxm-skeleton iframe,
        .fxm-skeleton input, .fxm-skeleton .form-control,
        .fxm-skeleton .card, .fxm-skeleton .badge {
            color: transparent !important;
            background: linear-gradient(90deg, 
                #f0f0f0 25%, 
                #e0e0e0 37%, 
                #f0f0f0 63%
            ) !important;
            background-size: 400% 100%;
            border-radius: 8px;
            border-color: transparent !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            animation: ultra-shimmer 1.5s ease-in-out infinite,
                       pulse-glow 2s ease-in-out infinite;
            position: relative;
            overflow: hidden;
        }

        /* Dalga overlay efekti */
        .fxm-skeleton h1::before, .fxm-skeleton h2::before, .fxm-skeleton h3::before,
        .fxm-skeleton p::before, .fxm-skeleton span::before,
        .fxm-skeleton .btn::before, .fxm-skeleton button::before,
        .fxm-skeleton input::before, .fxm-skeleton .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255,255,255,0.4), 
                transparent
            );
            animation: wave-flow 2s ease-in-out infinite;
            z-index: 1;
        }

        /* Placeholder metinleri gizle */
        .fxm-skeleton *::placeholder {
            color: transparent !important;
        }

        /* Resim efektleri */
        .fxm-skeleton img {
            filter: grayscale(100%) contrast(0%) brightness(1.8);
            background: linear-gradient(45deg, #f0f0f0, #e8e8e8);
            animation: pulse-glow 2s ease-in-out infinite;
        }

        /* Avatar skeleton */
        .fxm-skeleton .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(45deg, #f0f0f0, #e8e8e8);
            animation: pulse-glow 2s ease-in-out infinite;
            position: relative;
            overflow: hidden;
        }

        .fxm-skeleton .avatar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255,255,255,0.6), 
                transparent
            );
            animation: wave-flow 1.8s ease-in-out infinite;
        }

        /* Çizgi skeleton'ları */
        .fxm-skeleton .skeleton-line {
            height: 20px;
            margin: 10px 0;
            background: linear-gradient(90deg, 
                #f0f0f0 25%, 
                #e0e0e0 37%, 
                #f0f0f0 63%
            );
            background-size: 400% 100%;
            border-radius: 10px;
            animation: ultra-shimmer 1.5s ease-in-out infinite;
            position: relative;
            overflow: hidden;
        }

        .fxm-skeleton .skeleton-line::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255,255,255,0.5), 
                transparent
            );
            animation: wave-flow 2.2s ease-in-out infinite;
        }

        /* Farklı genişliklerdeki çizgiler */
        .skeleton-line.short { width: 60%; }
        .skeleton-line.medium { width: 80%; }
        .skeleton-line.long { width: 100%; }