.lp-migration-wrapper {
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  font-size: 16px;
}
.lp-migration-wrapper .loader {
  border: 2px solid #e0e0e0;
  border-top: 2px solid #2271B1;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: spin 1s linear infinite;
}
.lp-migration-wrapper header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 2px;
  background: #FFFFFF;
}
.lp-migration-wrapper header h2 {
  margin-top: 0;
  margin-bottom: 15px;
}
.lp-migration-wrapper header .logo-section img {
  width: 64px;
  height: auto;
}
.lp-migration-wrapper .content {
  padding: 20px;
  background: #FFFFFF;
}
.lp-migration-wrapper .content .migrate-item {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.lp-migration-wrapper .content .migrate-item .migrate-item-desc {
  width: 100%;
}
.lp-migration-wrapper .content .migrate-item .migrate-item-desc label {
  font-size: 1.1rem;
  color: #1D2327;
  font-weight: 600;
}
.lp-migration-wrapper .content .migrate-item .migrate-item-desc .progress .progress-bar-container {
  background-color: #E3E6EB;
  height: 6px;
  border-radius: 9999px;
}
.lp-migration-wrapper .content .migrate-item .migrate-item-desc .progress .progress-bar-container .progress-bar {
  border-radius: inherit;
  height: 100%;
  background-color: #2271B1;
  text-align: center;
  color: white;
  transition: width 0.5s ease;
  width: 0%;
}
.lp-migration-wrapper .content .migrate-item .migrate-item-desc .progress .ratio-num {
  margin-top: 5px;
  color: #8A8888;
}
.lp-migration-wrapper .content .migrate-item .migrate-item-checkbox {
  margin-top: 3px;
}
.lp-migration-wrapper .content p {
  color: #8A8888;
}
.lp-migration-wrapper .content .status {
  margin-bottom: 10px;
}
.lp-migration-wrapper .content .status.lp-migration-success {
  color: green;
}
.lp-migration-wrapper .content .status.lp-migration-error {
  color: red;
}
.lp-migration-wrapper .content .content-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-top: 2px solid;
  margin: 0 -20px -20px;
  border-top: 2px solid #f0f0f1;
  gap: 8px;
}
@media (max-width: 767px) {
  .lp-migration-wrapper .content .content-footer {
    flex-wrap: wrap;
  }
}
.lp-migration-wrapper .content .content-footer .action #lp-tutor-auto-migrate-btn {
  margin-top: 10px;
}
.lp-migration-wrapper .content .content-footer .desc {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  flex-basis: 50%;
}
@media (max-width: 767px) {
  .lp-migration-wrapper .content .content-footer .desc {
    flex-basis: 100%;
  }
}
.lp-migration-wrapper .content .content-footer .desc span {
  flex: 1;
}
.lp-migration-wrapper .content .content-footer button {
  background-color: #2271B1;
  color: #fff;
  padding: 4px 12px;
  border-radius: 5px;
  margin: 0;
}
.lp-migration-wrapper .content .content-footer button:hover {
  background-color: #1E1F21;
  border-color: #1E1F21;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
#migration-report {
  margin: 30px auto;
  max-width: 600px;
  width: 100%;
}
#migration-report .header {
  padding: 20px;
  margin-bottom: 2px;
  background: #FFFFFF;
}
#migration-report .header h2 {
  margin-top: 0;
  margin-bottom: 15px;
}
#migration-report .migrate-report-content {
  padding: 8px 20px;
  background: #FFFFFF;
}
#migration-report .course-item-list .course-item {
  border-bottom: 1px solid #EEEEEE;
}
#migration-report .course-item-list .course-item:last-child {
  border: none;
}
#migration-report .course-item-list .course-item .course-item-header {
  cursor: pointer;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#migration-report .course-item-list .course-item .course-item-header .course-title {
  display: inline-flex;
  gap: 8px;
  font-size: 1rem;
  color: #1D2327;
  font-weight: 500;
}
#migration-report .course-item-list .course-item .course-item-header .course-title:hover {
  color: #2271B1;
}
#migration-report .course-item-list .course-item .course-item-content {
  padding: 0 24px 0 0;
  overflow: auto;
  max-height: 0;
  transition: max-height 0.3s ease;
}
#migration-report .course-item-list .course-item .course-item-content .lesson-item, #migration-report .course-item-list .course-item .course-item-content .quiz-item, #migration-report .course-item-list .course-item .course-item-content .assignment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
#migration-report .course-item-list .course-item .course-item-content .lesson-item:last-child, #migration-report .course-item-list .course-item .course-item-content .quiz-item:last-child, #migration-report .course-item-list .course-item .course-item-content .assignment-item:last-child {
  margin-bottom: 20px;
}
#migration-report .course-item-list .course-item.active .course-item-content {
  max-height: 400px;
}
#migration-report .course-item-list a {
  text-decoration: none;
}

#migration-report h2, #lp-migration-wrapper h2 {
  font-size: 1.3rem;
  line-height: 1.4rem;
}

#lp-before-migrate-popup, #lp-clear-migrated-data-popup {
  display: none;
}
#lp-before-migrate-popup.active, #lp-clear-migrated-data-popup.active {
  display: block;
}
#lp-before-migrate-popup .bg-overlay, #lp-clear-migrated-data-popup .bg-overlay {
  background: rgba(17, 17, 17, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
}
#lp-before-migrate-popup .content, #lp-clear-migrated-data-popup .content {
  position: fixed;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  bottom: 50%;
  height: 200px;
  max-height: 100%;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  z-index: 9999;
  background: white;
  border-radius: 10px;
  overflow: auto;
  padding: 50px;
}
#lp-before-migrate-popup .content .logo, #lp-clear-migrated-data-popup .content .logo {
  display: flex;
  justify-content: center;
}
#lp-before-migrate-popup .content p, #lp-clear-migrated-data-popup .content p {
  font-size: 18px;
  text-align: center;
  margin: 20px 0;
}
#lp-before-migrate-popup .content .action, #lp-clear-migrated-data-popup .content .action {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#lp-before-migrate-popup .content .action .migrate-now, #lp-before-migrate-popup .content .action .clear-migrated, #lp-clear-migrated-data-popup .content .action .migrate-now, #lp-clear-migrated-data-popup .content .action .clear-migrated {
  background-color: #2271B1;
  color: #fff;
}
#lp-before-migrate-popup .content .action .migrate-now:hover, #lp-before-migrate-popup .content .action .clear-migrated:hover, #lp-clear-migrated-data-popup .content .action .migrate-now:hover, #lp-clear-migrated-data-popup .content .action .clear-migrated:hover {
  background-color: #1E1F21;
  border-color: #1E1F21;
}
#lp-before-migrate-popup .content .action button, #lp-clear-migrated-data-popup .content .action button {
  padding: 4px 12px;
  border-radius: 5px;
}
#lp-before-migrate-popup .content .remove-popup, #lp-clear-migrated-data-popup .content .remove-popup {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
}
#lp-before-migrate-popup .content .remove-popup .dashicons-no-alt, #lp-clear-migrated-data-popup .content .remove-popup .dashicons-no-alt {
  font-size: 24px;
  color: #8A8888;
}

body.lp-no-scroll {
  overflow: hidden;
}

#lp-migrate-success-popup {
  display: none;
}
#lp-migrate-success-popup.active {
  display: block;
}
#lp-migrate-success-popup .bg-overlay {
  background: rgba(17, 17, 17, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
}
#lp-migrate-success-popup .content {
  position: fixed;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  max-height: 100%;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  z-index: 9999;
  background: white;
  border-radius: 10px;
  overflow: auto;
  padding: 30px;
}
#lp-migrate-success-popup .content div.title {
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
}
#lp-migrate-success-popup .content div.title span {
  color: #3AB500;
  font-size: 1.2rem;
  font-weight: 600;
}
#lp-migrate-success-popup .content div.title p {
  color: #8A8888;
  margin: 10px 0 0 0;
}
#lp-migrate-success-popup .content p, #lp-migrate-success-popup .content ul > li {
  font-size: 1rem;
}
#lp-migrate-success-popup .content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 20px 0;
  color: #3C434A;
}
#lp-migrate-success-popup .content .action {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}
#lp-migrate-success-popup .content .action .button {
  font-size: 1rem;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 5px;
}
#lp-migrate-success-popup .content .action .go-to-dashboard {
  background-color: #2271B1;
  color: #fff;
}
#lp-migrate-success-popup .content .action .go-to-dashboard:hover {
  background-color: #1E1F21;
  border-color: #1E1F21;
}
#lp-migrate-success-popup .content .remove-popup {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
}
#lp-migrate-success-popup .content .remove-popup .dashicons-no-alt {
  font-size: 24px;
  color: #8A8888;
}