/* 关键加载动画 */
      .app-loading {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: opacity 0.3s ease;
      }

      .loading-container-bg {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 1);
        border-radius: 20px;
        padding: 30px;
        width: 80vw;
        height: 58vw;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      }

      /* .loading-animation {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
      } */

      .loading-text {
        color: #333;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        animation: pulse 2s ease-in-out infinite;
      }

      @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.7; }
      }


/* 骨架屏样式 */
.skeleton-layout {
  display: flex;
  flex-direction: column;
  background-color: #f5f7fa;
}

.skeleton-layout .app-header {
  flex-shrink: 0;
}

.skeleton-layout .app-content {
  padding: 20px;
}

.skeleton-layout .app-footer {
  flex-shrink: 0;
}

.skeleton-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skeleton-header {
  height: 60px;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 20px;
}

.skeleton-card {
  height: 180px;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 12px;
  margin-bottom: 16px;
  width: 48%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-footer {
  height: 50px;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
  margin-top: 20px;
}



.powered-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.lockly-logo {
  font-size: 16px;
  color: #333;
  letter-spacing: 2px;
}

/* Vue Loading 样式 */
.vue-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  user-select: none;
}

.vue-loading .loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 5.33vw;
  padding: 10.67vw 2.67vw;
  width: calc(100% - 12.8vw);
  /* height: 62.93vw; */
}

.vue-loading .loader-container {
  position: relative;
  width: 80px;
  height: 80px;
  animation: spin 4s linear infinite;
  transform-origin: center center;
}

.vue-loading .loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.33vw solid #5cb3e6;
  animation: l20-1 2s infinite linear alternate;
  transform-origin: center center;
}

.vue-loading .loader.l2 {
  transform: rotate(120deg);
}

.vue-loading .loader.l3 {
  transform: rotate(240deg);
}

@keyframes l20-1 {
  0% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      20% 0%
    );
  }
  12.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      60% 0%
    );
  }
  25% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      100% 0%
    );
  }
  37.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      150% 0%,
      140% 0%
    );
  }
  50% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      180% 0%
    );
  }
  62.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      150% 0%,
      140% 0%
    );
  }
  75% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      100% 0%
    );
  }
  87.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      60% 0%
    );
  }
  100% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      20% 0%
    );
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  12.5% {
    transform: rotate(90deg);
  }
  25% {
    transform: rotate(180deg);
  }
  37.5% {
    transform: rotate(270deg);
  }
  50% {
    transform: rotate(360deg);
  }
  62.5% {
    transform: rotate(270deg);
  }
  75% {
    transform: rotate(180deg);
  }
  87.5% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.vue-loading .loading-text {
  margin-top: 0px;
  padding-top: 20px;
  font-size: 16px;
  line-height: 22px;
  color: #333;
  font-weight: 500;
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

.logo-container svg {
  height: 18.66667vw;
  width: auto;
}

/* 隐藏状态 */
.hidden {
  display: none !important;
}