/*
 * @Description: 启动页 loading 效果
 * @Author: 廖欢
 * @Date: 2025-02-13 11:25:46
 * @LastEditors: 廖欢
 * @LastEditTime: 2025-07-10 10:36:07
 * @FilePath: \mngr-platform\public\index.css
 */
@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.reps-admin-home {
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  user-select: none;
  color: #736477;
  background-color: snow;
}

.reps-admin-home .loading {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.reps-admin-home .loading .square {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
}

.reps-admin-home .loading .square::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 15%;
  border: 3px solid #8c858f;
  animation: square-to-dot-animation 2s linear infinite;
}

.reps-admin-home .loading .square:nth-child(1)::before {
  animation-delay: calc(150ms * 1);
}

.reps-admin-home .loading .square:nth-child(2)::before {
  animation-delay: calc(150ms * 2);
}

.reps-admin-home .loading .square:nth-child(3)::before {
  animation-delay: calc(150ms * 3);
}

.reps-admin-home .loading .square:nth-child(4)::before {
  animation-delay: calc(150ms * 4);
}

.reps-admin-home .text {
  position: relative;
  font-size: 24px;
  margin-top: 20px;
}

.reps-admin-home .text::after {
  content: '…';
  position: absolute;
  padding-left: 5px;
}

@keyframes square-to-dot-animation {
  15%,
  25% {
    border-radius: 100%;
    width: 0;
    height: 0;
    margin: 5px;
    border-width: 5px;
  }

  40% {
    border-radius: 15%;
    width: 10px;
    height: 10px;
    margin: initial;
    border-width: 3px;
  }
}
