/* sidebar-explanations.css */
/* Styles for the explanation sidebars */

.side-panel {
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.panel-header {
  background-color: #2D3142;
  color: white;
  padding: 12px 16px;
}

.panel-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.panel-content {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

/* Rendering Intent Explanation Styles */
.intent-explanation {
  margin-bottom: 24px;
}

.intent-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
  color: #FF3E8A;
}

.intent-description {
  margin-bottom: 16px;
  line-height: 1.6;
}

.key-points-list {
  padding-left: 20px;
  margin-bottom: 8px;
}

.key-points-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* White Point Explanation Styles */
.white-point-explanation {
  line-height: 1.6;
}

.white-point-explanation p {
  margin-bottom: 16px;
}

.white-point-explanation strong {
  color: #00A9E0;
}

.explanation-paragraph {
  margin-bottom: 16px;
}

/* Mobile-specific styles */
@media (max-width: 767px) {
  .side-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: 85%;
    height: 100%;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  
  .side-panel.mobile-active {
    transform: translateX(0);
  }
  
  .mobile-panel-controls {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  
  .btn-mobile-toggle {
    margin: 0 8px;
    padding: 8px 12px;
    background-color: #2D3142;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .mobile-panel-controls {
    display: none;
  }
}