@charset "UTF-8";
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, -10px) rotate(5deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.app-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  line-height: 1;
}

.user-avatar-small:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(102, 126, 234, 0.1);
  padding-left: 1.25rem;
}

.dropdown-item i {
  font-size: 1.1rem;
  color: #667eea;
}

.login-container {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.welcome-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  position: relative;
  overflow: hidden;
}
.welcome-section::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}
.welcome-section::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
}

.welcome-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.welcome-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.mascot-container {
  margin-top: 30px;
  animation: float 3s ease-in-out infinite;
}

.mascot-icon {
  font-size: 180px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.decorative-elements {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.decorative-elements i {
  position: absolute;
  opacity: 0.3;
  animation: drift 4s ease-in-out infinite;
}

.login-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #8b9fe8 0%, #9d8ac7 100%);
  padding: 40px;
}

.login-card {
  background: white;
  padding: 50px 45px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.98);
  max-width: 450px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-logo {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.login-tagline {
  color: #6c757d;
  font-size: 1rem;
}

.form-control-modern {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}
.form-control-modern:focus {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  outline: none;
}
.form-control-modern.is-invalid {
  border-color: #ef4444;
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  font-size: 1.2rem;
}
.password-toggle:hover {
  color: #667eea;
}

.btn-login {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-login:hover {
  background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
  transform: translateY(-2px);
}
.btn-login {
  border-radius: 15px;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}
.btn-login:hover {
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.btn-test-account {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 10px 15px;
  background: white;
  color: #495057;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 500;
  width: 100%;
}
.btn-test-account:hover {
  border-color: #667eea;
  background: #f8f9ff;
  color: #667eea;
  transform: translateX(5px);
}

.help-link {
  color: #667eea;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.help-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.signup-text {
  text-align: center;
  margin-top: 25px;
  color: #6c757d;
}

.signup-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}
.signup-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.test-accounts {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid #e9ecef;
}

.test-accounts-title {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.alert-modern {
  border-radius: 12px;
  border: none;
  padding: 12px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
  }
  .welcome-section {
    min-height: 40vh;
    padding: 40px 20px;
  }
  .welcome-title {
    font-size: 2.5rem;
  }
  .mascot-icon {
    font-size: 120px;
  }
  .login-section {
    min-height: 60vh;
  }
}
#questionsList {
  padding: 10px;
}
#questionsList .accordion-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
#questionsList .accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#questionsList .accordion-item:last-child {
  margin-bottom: 0;
}
#questionsList .accordion-header .accordion-button {
  background-color: #f8f9fa;
  font-weight: 500;
  padding: 1rem 1.25rem;
}
#questionsList .accordion-header .accordion-button:not(.collapsed) {
  border: 1px solid #e9ecef;
  color: #0d6efd;
  box-shadow: none;
}
#questionsList .accordion-header .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
#questionsList .accordion-body {
  padding: 1.5rem;
}

body {
  background-color: #f8f9fa;
}

.preview-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  animation: pulse 2s ease-in-out infinite;
}

.question-sidebar {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.question-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid transparent;
}
.question-nav-btn.btn-primary {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
}
.question-nav-btn.btn-success {
  background-color: #10b981;
  border-color: #10b981;
  color: white;
}
.question-nav-btn.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}

.question-card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.choice-correct {
  background-color: #d1fae5 !important;
  border-color: #28a745 !important;
  border-width: 2px !important;
}

.choices-container.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.choice-item {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: white;
}

.type-badge {
  font-size: 0.875rem;
}

.points-badge {
  font-size: 0.875rem;
}

.question-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
}

.question-text {
  width: inherit;
}

.question-badges {
  width: 30%;
  text-align: end;
}

.homepage-hero {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.homepage-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 165, 0, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}
.homepage-hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 50px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a202c;
}
.hero-title .highlight-purple {
  color: #667eea;
}
.hero-title .highlight-orange {
  color: #ffa500;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta .btn-get-started {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.hero-cta .btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.hero-cta .btn-get-started i {
  margin-left: 8px;
}

.hero-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  margin-top: 50px;
}
.hero-images .student-image {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.hero-images .student-image:hover {
  transform: translateY(-10px);
}
.hero-images .student-image.student-1 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
}
.hero-images .student-image.student-1::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(102, 126, 234, 0.9);
  border-radius: 50%;
  top: -40px;
  left: -40px;
}
.hero-images .student-image.student-1::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 165, 0, 0.9);
  border-radius: 50%;
  bottom: -20px;
  right: -20px;
}
.hero-images .student-image.student-2 {
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-images .student-image.student-2::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 165, 0, 0.9);
  border-radius: 50%;
  top: -30px;
  right: -30px;
}
.hero-images .student-image.student-2::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(102, 126, 234, 0.9);
  border-radius: 50%;
  bottom: -25px;
  left: -25px;
}
.hero-images .student-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.decorative-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}
.decorative-shapes .shape {
  position: absolute;
  animation: drift 4s ease-in-out infinite;
  opacity: 0.6;
}
.decorative-shapes .shape.star {
  font-size: 24px;
  color: #ffa500;
}
.decorative-shapes .shape.star.star-1 {
  top: 15%;
  left: 10%;
}
.decorative-shapes .shape.star.star-2 {
  top: 25%;
  right: 15%;
}
.decorative-shapes .shape.star.star-3 {
  bottom: 20%;
  left: 8%;
}
.decorative-shapes .shape.triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid rgba(102, 126, 234, 0.4);
}
.decorative-shapes .shape.triangle.triangle-1 {
  top: 40%;
  left: 5%;
}
.decorative-shapes .shape.triangle.triangle-2 {
  bottom: 30%;
  right: 10%;
}
.decorative-shapes .shape.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.decorative-shapes .shape.circle.circle-1 {
  background: rgba(255, 165, 0, 0.4);
  top: 60%;
  right: 5%;
}
.decorative-shapes .shape.circle.circle-2 {
  background: rgba(102, 126, 234, 0.4);
  top: 80%;
  left: 15%;
}
.decorative-shapes .shape.checkmark {
  font-size: 20px;
  color: #28a745;
}
.decorative-shapes .shape.checkmark.checkmark-1 {
  top: 70%;
  right: 20%;
}

.features-section {
  padding: 80px 0;
  background: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1a202c;
}
.section-title .highlight {
  color: #667eea;
}

.section-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(102, 126, 234, 0.2);
}
.feature-card .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}
.feature-card .feature-icon.icon-courses {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.2) 100%);
  color: #667eea;
}
.feature-card .feature-icon.icon-instructors {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.2) 100%);
  color: #ffa500;
}
.feature-card .feature-icon.icon-students {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.2) 100%);
  color: #10b981;
}
.feature-card .feature-icon.icon-certificates {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.2) 100%);
  color: #dc3545;
}
.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a202c;
}
.feature-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

.courses-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.course-card {
  background: white;
  padding: 0;
  border-radius: 20px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  border: 2px solid transparent;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(102, 126, 234, 0.2);
}
.course-card:hover .course-thumbnail img {
  transform: scale(1.05);
}
.course-card .course-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.course-card .course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card .course-thumbnail .course-level {
  position: absolute;
  top: 15px;
  left: 15px;
  background: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
}
.course-card .course-body {
  padding: 25px;
}
.course-card .course-body .course-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a202c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card .course-body .course-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card .course-body .course-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}
.course-card .course-body .course-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6c757d;
  font-size: 0.9rem;
}
.course-card .course-body .course-meta .meta-item i {
  color: #667eea;
}
.course-card .course-body .course-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.course-card .course-body .course-instructor .instructor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}
.course-card .course-body .course-instructor .instructor-name {
  font-size: 0.9rem;
  color: #495057;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -200px;
  right: -200px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
}
.cta-section .cta-content {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}
.cta-section .btn-cta {
  background: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.cta-section .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-images {
    flex-direction: column;
    align-items: center;
  }
  .hero-images .student-image.student-1 {
    width: 280px;
    height: 280px;
  }
  .hero-images .student-image.student-2 {
    width: 300px;
    height: 300px;
  }
  .section-title {
    font-size: 2rem;
  }
  .feature-card {
    margin-bottom: 30px;
  }
}
.dashboard-container {
  min-height: 100vh;
  padding: 30px 0;
}

.dashboard-header {
  margin-bottom: 30px;
}
.dashboard-header h1 {
  color: #495057;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.stat-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 0.05;
  transition: all 0.3s ease;
}
.stat-card.stat-blue {
  border-left: 4px solid #667eea;
}
.stat-card.stat-blue::before {
  background: #667eea;
}
.stat-card.stat-blue .stat-icon {
  background: linear-gradient(135deg, #667eea 0%, rgb(146.8448275862, 163.8103448276, 240.1551724138) 100%);
}
.stat-card.stat-blue .stat-link {
  color: #667eea;
}
.stat-card.stat-blue .stat-link:hover {
  color: rgb(57.1551724138, 88.1896551724, 227.8448275862);
}
.stat-card.stat-green {
  border-left: 4px solid #10b981;
}
.stat-card.stat-green::before {
  background: #10b981;
}
.stat-card.stat-green .stat-icon {
  background: linear-gradient(135deg, #10b981 0%, rgb(20.0597014925, 231.9402985075, 161.7313432836) 100%);
}
.stat-card.stat-green .stat-link {
  color: #10b981;
}
.stat-card.stat-green .stat-link:hover {
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.stat-card.stat-cyan {
  border-left: 4px solid #06b6d4;
}
.stat-card.stat-cyan::before {
  background: #06b6d4;
}
.stat-card.stat-cyan .stat-icon {
  background: linear-gradient(135deg, #06b6d4 0%, rgb(20.6330275229, 215.2018348624, 248.3669724771) 100%);
}
.stat-card.stat-cyan .stat-link {
  color: #06b6d4;
}
.stat-card.stat-cyan .stat-link:hover {
  color: rgb(4.5963302752, 139.4220183486, 162.4036697248);
}
.stat-card .stat-content {
  position: relative;
  z-index: 1;
}
.stat-card .stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}
.stat-card .stat-info {
  flex: 1;
}
.stat-card .stat-label {
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #495057;
  line-height: 1;
}
.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.stat-card .stat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}
.stat-card .stat-subtext {
  font-size: 0.875rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-card .stat-subtext i {
  font-size: 0.75rem;
}
.stat-card .stat-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}
.stat-card .stat-link i {
  transition: transform 0.3s ease;
}
.stat-card .stat-link:hover i {
  transform: translateX(3px);
}

.dashboard-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.dashboard-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}
.dashboard-section .section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #495057;
  margin: 0;
}
.dashboard-section .section-header .btn-create {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}
.dashboard-section .section-header .btn-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.courses-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.courses-table thead tr {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.courses-table thead tr th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 700;
  color: #495057;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}
.courses-table thead tr th:first-child {
  border-top-left-radius: 12px;
}
.courses-table thead tr th:last-child {
  border-top-right-radius: 12px;
}
.courses-table tbody tr {
  transition: all 0.3s ease;
}
.courses-table tbody tr:hover {
  background: rgb(233.8864864865, 242.6837837838, 254.4135135135);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.courses-table tbody tr td {
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}
.courses-table tbody tr td.course-name {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}
.courses-table tbody tr td.students-count {
  color: #6c757d;
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-badge.status-published {
  background: #d1fae5;
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.status-badge.status-published::before {
  background: #10b981;
}
.status-badge.status-draft {
  background: rgb(202.1566523605, 205.9613733906, 209.3433476395);
  color: #6c757d;
}
.status-badge.status-draft::before {
  background: #6c757d;
}

.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.action-buttons .btn {
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.action-buttons .btn i {
  font-size: 1rem;
}
.action-buttons .btn-view {
  border: 1px solid rgb(205.2829268293, 223.2926829268, 252.7170731707);
}
.action-buttons .btn-view:hover {
  background: rgb(205.2829268293, 223.2926829268, 252.7170731707);
  color: rgb(11.1512195122, 99.1219512195, 242.8487804878);
}
.action-buttons .btn-edit {
  border: 1px solid rgb(205.2829268293, 223.2926829268, 252.7170731707);
}
.action-buttons .btn-edit:hover {
  background: rgb(205.2829268293, 223.2926829268, 252.7170731707);
  color: rgb(11.1512195122, 99.1219512195, 242.8487804878);
}
.action-buttons .btn-quiz {
  background: rgb(158.3582089552, 246.6417910448, 217.3880597015);
  color: #10b981;
  position: relative;
}
.action-buttons .btn-quiz:hover {
  background: rgb(134.8880597015, 244.6119402985, 208.2537313433);
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.action-buttons .btn-quiz .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 5px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  z-index: 1000;
  display: none;
}
.action-buttons .btn-quiz .dropdown-menu.show {
  display: block;
}
.action-buttons .btn-quiz .dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
}
.action-buttons .btn-quiz .dropdown-menu a:hover {
  background: #f8f9fa;
}

.quiz-results-empty {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-size: 1rem;
}

.quiz-results-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.quiz-results-list .quiz-result-item {
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}
.quiz-results-list .quiz-result-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.quiz-results-list .quiz-result-item .result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.quiz-results-list .quiz-result-item .result-header .result-title {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}
.quiz-results-list .quiz-result-item .result-header .result-score {
  font-weight: 700;
  font-size: 1.125rem;
}
.quiz-results-list .quiz-result-item .result-header .result-score.score-pass {
  color: #10b981;
}
.quiz-results-list .quiz-result-item .result-header .result-score.score-fail {
  color: #ef4444;
}
.quiz-results-list .quiz-result-item .result-info {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: #6c757d;
}
.quiz-results-list .quiz-result-item .result-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .courses-table {
    font-size: 0.875rem;
  }
  .courses-table thead th,
  .courses-table tbody td {
    padding: 10px;
  }
  .action-buttons {
    flex-direction: column;
  }
  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
@keyframes avatarBounce {
  0%, 100% {
    transform: scale(1.1) translateY(0);
  }
  50% {
    transform: scale(1.15) translateY(-5px);
  }
}
@keyframes avatarWiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}
.profile-container {
  min-height: 100vh;
  padding: 2rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.profile-container .container {
  max-width: 1200px;
}

.profile-back {
  margin-bottom: 1.5rem;
}
.profile-back .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 8px;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.profile-back .btn-back:hover {
  transform: translateX(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: rgb(57.1551724138, 88.1896551724, 227.8448275862);
}
.profile-back .btn-back i {
  font-size: 1.2rem;
}

.profile-tabs-wrapper {
  background: white;
  border-radius: 12px 12px 0 0;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.profile-tabs-wrapper .profile-tabs {
  border-bottom: none;
  display: flex;
  justify-content: space-around;
}
.profile-tabs-wrapper .profile-tabs .nav-item {
  flex: 1;
}
.profile-tabs-wrapper .profile-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  font-weight: 600;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  background: transparent;
  width: 100%;
}
.profile-tabs-wrapper .profile-tabs .nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}
.profile-tabs-wrapper .profile-tabs .nav-link.active {
  color: #667eea;
  border-bottom-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.profile-tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.avatar-section .category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}
.avatar-section .category-title:first-of-type {
  margin-top: 0;
}
.avatar-section .avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .avatar-section .avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }
}
.avatar-section .avatar-item {
  position: relative;
}
.avatar-section .avatar-item .avatar-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.avatar-section .avatar-item .avatar-input:checked + .avatar-label .avatar-box {
  animation: avatarBounce 0.6s ease-in-out;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px #667eea, 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
}
.avatar-section .avatar-item .avatar-input:checked + .avatar-label .avatar-box .avatar-icon {
  animation: avatarWiggle 0.5s ease-in-out;
}
.avatar-section .avatar-item .avatar-input:checked + .avatar-label .avatar-box::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  background: #667eea;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: avatarBounce 0.6s ease-in-out;
}
.avatar-section .avatar-item .avatar-label {
  cursor: pointer;
  display: block;
}
.avatar-section .avatar-item .avatar-box {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .avatar-section .avatar-item .avatar-box {
    width: 60px;
    height: 60px;
  }
}
.avatar-section .avatar-item .avatar-box .avatar-icon {
  font-size: 2.5rem;
  line-height: 1;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .avatar-section .avatar-item .avatar-box .avatar-icon {
    font-size: 2rem;
  }
}
.avatar-section .avatar-item .avatar-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.avatar-section .avatar-item .avatar-box:hover .avatar-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}
.avatar-section .avatar-color-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}
.avatar-section .avatar-color-section .color-picker-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .avatar-section .avatar-color-section .color-picker-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.avatar-section .avatar-color-section .color-preview {
  text-align: center;
}
.avatar-section .avatar-color-section .color-preview .preview-avatar {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.avatar-section .avatar-color-section .color-preview .preview-avatar:hover {
  transform: scale(1.05) rotate(2deg);
}
.avatar-section .avatar-color-section .color-preview .preview-avatar .preview-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.avatar-section .avatar-color-section .color-preview .preview-label {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.95rem;
  margin: 0;
}
.avatar-section .avatar-color-section .color-picker-controls .color-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.avatar-section .avatar-color-section .color-picker-controls .color-label i {
  color: #667eea;
  font-size: 1.3rem;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input {
  width: 80px;
  height: 50px;
  border: 3px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input:hover {
  border-color: #667eea;
  transform: scale(1.05);
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input::-webkit-color-swatch-wrapper {
  padding: 4px;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-text-input {
  flex: 1;
  max-width: 150px;
  font-family: "Courier New", monospace;
  font-weight: 600;
  text-transform: uppercase;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-label {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
  gap: 0.75rem;
  max-width: 600px;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  border: 3px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border-color: #fff;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color.active {
  border-color: #667eea;
  border-width: 4px;
  transform: scale(1.15);
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.profile-section .profile-form .form-group {
  margin-bottom: 1.5rem;
}
.profile-section .profile-form .form-group label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.profile-section .profile-form .form-group .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.profile-section .profile-form .form-group .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}
.profile-section .profile-form .form-group .form-control::placeholder {
  color: #a0aec0;
}
.profile-section .profile-form .form-group textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.settings-section .settings-card {
  background: #f7fafc;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}
.settings-section .settings-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.settings-section .settings-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.settings-section .settings-card .card-title i {
  color: #667eea;
  font-size: 1.5rem;
}
.settings-section .settings-card .form-group {
  margin-bottom: 1.25rem;
}
.settings-section .settings-card .form-group label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.settings-section .settings-card .form-group .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}
.settings-section .settings-card .form-group .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.settings-section .settings-card .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}
.settings-section .settings-card .form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}
.settings-section .settings-card .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.settings-section .settings-card .form-check {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.settings-section .settings-card .form-check:last-child {
  border-bottom: none;
}
.settings-section .settings-card .form-check .form-check-label {
  font-weight: 500;
  color: #2d3748;
  margin-left: 1rem;
  cursor: pointer;
}
.settings-section .settings-card.danger-zone {
  border-color: #fed7d7;
  background: #fff5f5;
}
.settings-section .settings-card.danger-zone:hover {
  border-color: #fc8181;
}
.settings-section .settings-card.danger-zone .card-title {
  color: #c53030;
}
.settings-section .settings-card.danger-zone .card-title i {
  color: #c53030;
}
.settings-section .settings-card.danger-zone .text-muted {
  color: #742a2a !important;
  margin-bottom: 1.5rem;
}

.subscription-section .current-plan-card {
  background: linear-gradient(135deg, #667eea 0%, rgb(146.8448275862, 163.8103448276, 240.1551724138) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.subscription-section .current-plan-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.subscription-section .current-plan-card .plan-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.subscription-section .current-plan-card .plan-badge.premium {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.subscription-section .current-plan-card .plan-badge.pro {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}
.subscription-section .current-plan-card .plan-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.subscription-section .current-plan-card .plan-description {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}
.subscription-section .plans-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
}
.subscription-section .plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .subscription-section .plans-grid {
    grid-template-columns: 1fr;
  }
}
.subscription-section .plan-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}
.subscription-section .plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}
.subscription-section .plan-card.featured {
  border-color: #667eea;
  border-width: 3px;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .subscription-section .plan-card.featured {
    transform: scale(1);
  }
}
.subscription-section .plan-card.featured:hover {
  transform: translateY(-8px) scale(1.05);
}
@media (max-width: 768px) {
  .subscription-section .plan-card.featured:hover {
    transform: translateY(-8px) scale(1);
  }
}
.subscription-section .plan-card.featured .featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, rgb(57.1551724138, 88.1896551724, 227.8448275862) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.subscription-section .plan-card.active {
  border-color: #10b981;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05) 0%, white 100%);
}
.subscription-section .plan-card.active .plan-header .plan-name {
  color: #10b981;
}
.subscription-section .plan-card .plan-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}
.subscription-section .plan-card .plan-header .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}
.subscription-section .plan-card .plan-header .plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}
.subscription-section .plan-card .plan-header .plan-price .price {
  font-size: 3rem;
  font-weight: 800;
  color: #667eea;
  line-height: 1;
}
.subscription-section .plan-card .plan-header .plan-price .period {
  font-size: 1.1rem;
  color: #718096;
  font-weight: 500;
}
.subscription-section .plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.subscription-section .plan-card .plan-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #4a5568;
}
.subscription-section .plan-card .plan-features li i {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.subscription-section .plan-card .plan-features li i.bi-check-circle-fill {
  color: #10b981;
}
.subscription-section .plan-card .plan-features li i.bi-x-circle {
  color: #cbd5e0;
}
.subscription-section .plan-card .btn {
  width: 100%;
  padding: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.subscription-section .plan-card .btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.subscription-section .plan-card .btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.form-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.form-actions .btn-save {
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-actions .btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.form-actions .btn-save i {
  font-size: 1.2rem;
}

.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}
.modal-content .modal-header {
  background: linear-gradient(135deg, #667eea 0%, rgb(57.1551724138, 88.1896551724, 227.8448275862) 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem;
}
.modal-content .modal-header .modal-title {
  font-weight: 700;
}
.modal-content .modal-header .btn-close {
  filter: brightness(0) invert(1);
}
.modal-content .modal-body {
  padding: 2rem;
}
.modal-content .modal-body p {
  font-size: 1.05rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
}
.modal-content .modal-body .form-group {
  margin-bottom: 1rem;
}
.modal-content .modal-body .form-group label {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
  display: block;
}
.modal-content .modal-body .form-group .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem;
  transition: all 0.3s ease;
}
.modal-content .modal-body .form-group .form-control:focus {
  border-color: #fc8181;
  box-shadow: 0 0 0 3px rgba(252, 129, 129, 0.1);
}
.modal-content .modal-footer {
  padding: 1.5rem;
  border-top: 2px solid #e2e8f0;
}
.modal-content .modal-footer .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .profile-container {
    padding: 1rem 0;
  }
  .profile-tab-content {
    padding: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .profile-tabs-wrapper .profile-tabs .nav-link {
    font-size: 0.85rem;
    padding: 1rem 0.5rem;
  }
  .avatar-section .avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
  }
  .settings-section .settings-card {
    padding: 1.5rem;
  }
  .subscription-section .current-plan-card {
    padding: 2rem;
  }
}
.course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  max-height: 400px;
}

.card .row .col-md-4 img.img-fluid.rounded-start {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

#courseTabs .nav-link.active {
  border-bottom: 1px solid white;
  position: relative;
  top: 1px;
  z-index: 2;
}

#courseTabsContent .tab-pane .card-header {
  background-color: white;
  border-radius: 0 var(--bs-card-inner-border-radius) 0 0;
  padding-top: 20px;
}

.latest-score .score-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.latest-score .score-circle.passed {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}
.latest-score .score-circle.failed {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  color: white;
}
.latest-score .score-circle:hover {
  transform: scale(1.05);
}

.quiz-results-container {
  min-height: 100vh;
  padding-bottom: 50px;
}

.results-header {
  background: white;
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.quiz-title {
  color: #2d3748;
  font-weight: 600;
}

/* Score Card */
.score-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.score-circle {
  position: relative;
  display: inline-block;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 1.5s ease;
  animation: drawCircle 1.5s ease forwards;
}

@keyframes drawCircle {
  from {
    stroke-dashoffset: 534.07;
  }
}
.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.percentage {
  font-size: 2em;
  font-weight: 700;
  color: #2d3748;
}

.points {
  font-size: 1.2em;
  color: #718096;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.result-badge.passed {
  background: #c6f6d5;
  color: #22543d;
}

.result-badge.failed {
  background: #fed7d7;
  color: #742a2a;
}

.result-badge i {
  font-size: 1.5em;
}

.quick-stats {
  border-top: 2px solid #e2e8f0;
  padding-top: 20px;
}

.stat-box {
  text-align: center;
}

.stat-value {
  font-size: 2em;
  font-weight: 700;
  color: #2d3748;
}

.stat-label {
  color: #718096;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Answer Review */
.answer-review-item {
  padding: 25px;
  background: #f7fafc;
  border-radius: 15px;
  border-left: 5px solid #e2e8f0;
  transition: all 0.3s ease;
}

.answer-review-item.correct {
  border-left-color: #48bb78;
  background: #f0fff4;
}

.answer-review-item.incorrect {
  border-left-color: #f56565;
  background: #fff5f5;
}

.question-header-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.question-text-review {
  color: #2d3748;
  font-weight: 500;
  line-height: 1.6;
}

.choices-review {
  display: grid;
  gap: 12px;
}

.choice-review-item {
  padding: 15px 20px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.choice-review-item.correct-answer {
  border-color: #48bb78;
  background: #f0fff4;
}

.choice-review-item.student-answer.correct-answer {
  border-color: #48bb78;
  background: #c6f6d5;
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.2);
}

.choice-review-item.student-answer:not(.correct-answer) {
  border-color: #f56565;
  background: #fed7d7;
  box-shadow: 0 4px 12px rgba(245, 101, 101, 0.2);
}

.choice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.choice-text {
  flex: 1;
  font-size: 1.05em;
}

.choice-indicators {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Fill in blank */
.fill-blank-review {
  margin-top: 15px;
}

.answer-comparison {
  display: grid;
  gap: 15px;
}

.student-fill-answer,
.correct-fill-answer {
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

.student-fill-answer.correct {
  border-color: #48bb78;
  background: #f0fff4;
}

.student-fill-answer.incorrect {
  border-color: #f56565;
  background: #fff5f5;
}

.correct-fill-answer {
  border-color: #48bb78;
  background: #f0fff4;
}

.answer-comparison label {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  display: block;
}

.answer-text {
  font-size: 1.1em;
  color: #2d3748;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
}

/* Explanation Box */
.explanation-box {
  background: #edf2f7;
  border-left: 4px solid #4299e1;
  padding: 15px 20px;
  border-radius: 8px;
}

.explanation-box strong {
  color: #2d3748;
}

.explanation-box p {
  color: #4a5568;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .score-card {
    padding: 20px;
  }
  .score-circle svg {
    width: 150px;
    height: 150px;
  }
  .percentage {
    font-size: 2em;
  }
  .quick-stats .row {
    text-align: center;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/*# sourceMappingURL=style.css.map */
