/* Dark Sidebar Container */
.dark-sidebar {
  width: 320px;
  height: 100vh;
  background: #1a1d29;
  border-right: 1px solid #2a2d3a;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
}

/* Scrollbar Styling */
.dark-sidebar::-webkit-scrollbar {
  width: 8px;
}

.dark-sidebar::-webkit-scrollbar-track {
  background: #1a1d29;
}

.dark-sidebar::-webkit-scrollbar-thumb {
  background: #2a2d3a;
  border-radius: 4px;
}

.dark-sidebar::-webkit-scrollbar-thumb:hover {
  background: #34384a;
}

/* Sidebar Header */
.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid #2a2d3a;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.brand h2 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Drawing Controls Section */
.drawing-controls {
  padding: 20px;
  border-bottom: 1px solid #2a2d3a;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
}

.btn-draw-point,
.btn-draw-zone,
.btn-finish-zone {
  width: 100%;
  padding: 12px 16px;
  background: #242837;
  color: #ffffff;
  border: 1px solid #2a2d3a;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.btn-draw-point:hover:not(:disabled) {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-draw-zone:hover:not(:disabled) {
  background: #8b5cf6;
  border-color: #8b5cf6;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-finish-zone {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-finish-zone:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #059669;
  transform: translateX(2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-draw-point:disabled,
.btn-draw-zone:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-draw-point svg,
.btn-draw-zone svg,
.btn-finish-zone svg {
  flex-shrink: 0;
}

/* Info Section */
.info-section {
  padding: 20px;
}

.info-card {
  background: #242837;
  border: 1px solid #2a2d3a;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.info-card:hover {
  background: #2a2d3a;
  border-color: #10b981;
}

.info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.info-label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1400px) {
  .dark-sidebar {
    width: 280px;
  }
}

@media (max-width: 1024px) {
  .dark-sidebar {
    width: 260px;
  }
}
