/* Line Schemas Page Styling */
.line-schemas-page {
  background: #1a202c;
  min-height: 100vh;
}

.line-schemas-page .dark-card {
  background-color: #232936;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.line-schemas-page .schema-card {
  background: rgba(35, 36, 43, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.line-schemas-page .schema-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 179, 71, 0.3);
}

.line-schemas-page .schema-card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 179, 71, 0.1) 0%,
    rgba(255, 179, 71, 0.05) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.line-schemas-page .schema-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem 0.375rem 0 0;
}

.line-schemas-page .schema-image {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.line-schemas-page .schema-card:hover .schema-image {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.line-schemas-page .card-body {
  position: relative;
  z-index: 2;
  background: rgba(35, 36, 43, 0.9);
  backdrop-filter: blur(5px);
}

.line-schemas-page .btn-group-sm .btn {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.line-schemas-page .btn-group-sm .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.line-schemas-page .card-header {
  background: linear-gradient(135deg, #232936 0%, #1a202c 100%);
  border-bottom: 2px solid rgba(255, 179, 71, 0.3);
}

.line-schemas-page .badge {
  background: linear-gradient(135deg, var(--main-accent), #e6a653) !important;
  color: #1a202c !important;
  font-weight: 600;
}

/* Modal styling to match the theme */
.line-schemas-page .modal-content {
  background: linear-gradient(135deg, #232936 0%, #1a202c 100%);
  border: 1px solid rgba(255, 179, 71, 0.3);
  backdrop-filter: blur(20px);
}

.line-schemas-page .modal-header {
  border-bottom: 1px solid rgba(255, 179, 71, 0.3);
}

.line-schemas-page .modal-footer {
  border-top: 1px solid rgba(255, 179, 71, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .line-schemas-page .col-xl-3,
  .line-schemas-page .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .line-schemas-page .schema-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .line-schemas-page .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .line-schemas-page .btn-group {
    flex-direction: column;
    gap: 0.25rem;
  }

  .line-schemas-page .btn-group .btn {
    width: 100%;
  }
}

/* Animation for loading */
.line-schemas-page .schema-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation delays */
.line-schemas-page .schema-card:nth-child(1) {
  animation-delay: 0.1s;
}
.line-schemas-page .schema-card:nth-child(2) {
  animation-delay: 0.2s;
}
.line-schemas-page .schema-card:nth-child(3) {
  animation-delay: 0.3s;
}
.line-schemas-page .schema-card:nth-child(4) {
  animation-delay: 0.4s;
}
.line-schemas-page .schema-card:nth-child(5) {
  animation-delay: 0.5s;
}
.line-schemas-page .schema-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Hover effects for buttons */
.line-schemas-page .btn-outline-info:hover {
  background: linear-gradient(135deg, #17a2b8, #138496);
  border-color: #17a2b8;
  color: white;
}

.line-schemas-page .btn-outline-success:hover {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  border-color: #28a745;
  color: white;
}

.line-schemas-page .btn-outline-danger:hover {
  background: linear-gradient(135deg, #dc3545, #bd2130);
  border-color: #dc3545;
  color: white;
}
