/* ==== GLOBAL RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #0f0f10;
  color: #e6e6e6;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ==== HEADER ==== */
.header {
  background: #0f0f10;
  border-bottom: 1px solid #1f1f22;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-content {
  max-width: 1400px;
  width: 100%;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
}

.search-container {
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  min-width: 280px;
  height: 42px;
}

.search-icon {
  color: #888;
  margin-right: 0.6rem;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #eee;
  font-size: 0.95rem;
}

.search-box input::placeholder {
  color: #888;
}

.shortcut {
  font-size: 0.75rem;
  color: #888;
  margin-left: 0.8rem;
  border: 1px solid #333;
  padding: 3px 8px;
  border-radius: 4px;
  background: #1a1a1c;
}

/* ==== CONTAINER ==== */
.docs-container {
  display: flex;
  flex: 1;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 3rem;
}

/* ==== SIDEBAR ==== */
.sidebar {
  width: 240px;
  background: #0f0f10;
  color: #ccc;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  border-right: none; /* Remove a barra lateral */
  overflow-y: auto;
}

.sidebar h2 {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
}

.sidebar nav ul li {
  margin: 1rem 0;
}

.sidebar nav ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: block;
  padding: 0.4rem 0;
  border-radius: 8px;
}

/* Remove sublinhado e deixa laranja */
.sidebar nav ul li a {
  text-decoration: none;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
  background: none;
  color: #ff9800;
}

/* Powered Box */
.powered {
  margin-top: auto;
  padding: 1rem;
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

/* ==== CONTENT ==== */
.content {
  flex: 1;
  padding: 4rem 4rem;
  overflow-y: auto;
  background: #0f0f10;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
}

.copy-button-wrapper {
  position: relative;
}

.copy-button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #18181a;
  border: 1px solid #232326;
  color: #aaa;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-button:hover {
  background: #232326;
  color: #fff;
}

.copy-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-width: 280px;
  padding: 4px;
  display: none;
  z-index: 1000;
  overflow: hidden;
}

.copy-button-wrapper.active .copy-dropdown {
  display: block;
}

.copy-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;
  color: #fff;
}

.copy-dropdown-item:hover {
  background: #232326;
}

.copy-dropdown-item svg:first-child {
  flex-shrink: 0;
  color: #aaa;
}

.copy-dropdown-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.copy-dropdown-item-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
}

.copy-dropdown-item-desc {
  font-size: 0.85rem;
  color: #aaa;
}

.copy-dropdown-external {
  flex-shrink: 0;
  color: #666;
  margin-left: auto;
}

.copy-dropdown-item:hover .copy-dropdown-external {
  color: #aaa;
}

.content h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
  color: #ff9800;
  font-weight: 600;
}

.content h3 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  color: #fff;
  font-weight: 600;
}

.content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #ccc;
}

/* Next Card */
.next-card {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.next-card:hover {
  background: #232326;
}

.next-content {
  display: flex;
  flex-direction: column;
}

.next-label {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 0.4rem;
}

.next-link {
  text-decoration: none;
  color: #ff9800;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.next-link:hover {
  color: #ffa726;
}

.next-arrow {
  color: #aaa;
  transition: color 0.2s ease;
}

.next-card:hover .next-arrow {
  color: #ff9800;
}

/* Footer */
footer {
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: #888;
  text-align: right;
}

/* ==== RIGHT PANEL ==== */
.right-panel {
  width: 240px;
  background: #0f0f10;
  color: #ccc;
  padding: 2.5rem 2rem;
  border-left: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow-y: auto;
}

/* On this page */
.on-this-page h4 {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.on-this-page ul {
  list-style: none;
  padding: 0;
}

.on-this-page ul li {
  margin: 0.6rem 0;
}

.on-this-page ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: block;
  padding: 0.3rem 0;
}

.on-this-page ul li a:hover,
.on-this-page ul li a.active {
  color: #ff9800;
}

/* Feedback */
.feedback h4 {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.emoji-buttons {
  display: flex;
  gap: 1rem;
  border: 1px solid #2a2a2e;
  border-radius: 24px;
  padding: 0.4rem 0.8rem;
  background: #18181b;
  width: fit-content;
  justify-content: center;
  height: 45px;
}

.emoji-btn {
  background: transparent;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

.emoji-btn:hover {
  background: #232326;
}

.emoji-btn.active {
  background: #18181b;
  border: 1px solid #ff9800;
}

.emoji-btn span {
  font-size: 1.2rem;
}

/* Thank you message */
.thank-you-message {
  margin-top: 1.2rem;
  padding: 0.6rem 0;
}

.thank-you-message p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

/* Comment section */
.comment-section {
  margin-top: 1.2rem;
  animation: fadeIn 0.3s ease-in-out;
}

.comment-section p {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.comment-section textarea {
  width: 100%;
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 0.6rem;
  color: #fff;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
}

.comment-section textarea::placeholder {
  color: #888;
}

.comment-section textarea:focus {
  outline: none;
  border-color: #ff9800;
}

.submit-feedback {
  margin-top: 0.6rem;
  background: #ff9800;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-feedback:hover {
  background: #ffa726;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==== CODE BLOCKS ==== */
code {
  background: #18181a;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #ff9800;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

pre {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* ==== LISTS ==== */
ul, ol {
  color: #ccc;
  line-height: 1.6;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin: 0.5rem 0;
}

/* ==== TABLES ==== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #18181a;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid #232326;
}

th {
  background: #232326;
  color: #fff;
  font-weight: 600;
}

td {
  color: #ccc;
}

tr:hover {
  background: #1a1a1c;
}

/* ==== ALERTS ==== */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #93c5fd;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  color: #fcd34d;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #fca5a5;
}

/* ==== BADGES ==== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-get {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-post {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-put {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-delete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==== FAQ STYLES ==== */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  transition: all 0.2s ease;
}

.faq-item:hover {
  background: #1a1a1c;
  border-color: #2a2a2e;
}

.faq-item h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.faq-item p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* ==== CONTACT STYLES ==== */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.contact-card:hover {
  background: #1a1a1c;
  border-color: #ff9800;
  transform: translateY(-2px);
}

.contact-card h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: #ff9800;
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  color: #ffa726;
  text-decoration: underline;
}

.contact-card small {
  color: #888;
  font-size: 0.85rem;
}

/* ==== RESOURCE LINKS ==== */
.resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.resource-link {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: block;
}

.resource-link:hover {
  background: #1a1a1c;
  border-color: #ff9800;
  transform: translateY(-2px);
}

.resource-link h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.resource-link p {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0;
}

/* ==== STATUS PAGE STYLES ==== */
.status-overview {
  margin: 2rem 0;
}

.status-card {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-card.operational {
  border-left: 4px solid #22c55e;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.status-content h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.status-content p {
  color: #ccc;
  margin: 0;
}

/* ==== SERVICE COMPONENTS ==== */
.service-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.component-card {
  background: #18181a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.component-card:hover {
  background: #1a1a1c;
  border-color: #333;
}

.component-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.component-header h4 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.operational {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.degraded {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.outage {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.component-details p {
  color: #ccc;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

/* ==== INCIDENTS TIMELINE ==== */
.incidents-timeline {
  margin: 2rem 0;
}

.incident-item {
  background: #18181a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Bolinha de estado à direita (resolvido / em andamento / indisponível) */
.card-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: auto;
}

.card-status-dot.resolved {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.card-status-dot.investigating {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.card-status-dot.outage {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.incident-date {
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 100px;
}

.incident-content h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.incident-content p {
  color: #ccc;
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

/* ==== METRICS GRID ==== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric-card {
  background: #18181a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.metric-card:hover {
  background: #1a1a1c;
  border-color: #333;
}

.metric-card h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.metric-value {
  color: #ff9800;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metric-trend {
  font-size: 0.8rem;
  font-weight: 600;
}

.metric-trend.positive {
  color: #22c55e;
}

.metric-trend.negative {
  color: #ef4444;
}

/* ==== REALTIME STATS ==== */
.realtime-stats {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #232326;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  color: #ccc;
  font-size: 0.9rem;
}

.stat-value {
  color: #ff9800;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==== NOTIFICATION OPTIONS ==== */
.notification-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.notification-card {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.notification-card:hover {
  background: #1a1a1c;
  border-color: #ff9800;
}

.notification-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.notification-card p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.subscribe-btn {
  background: #ff9800;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.subscribe-btn:hover {
  background: #ffa726;
}

/* ==== USEFUL LINKS ==== */
.useful-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.useful-link {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: block;
}

.useful-link:hover {
  background: #1a1a1c;
  border-color: #ff9800;
  transform: translateY(-2px);
}

.useful-link h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.useful-link p {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0;
}

/* ==== TERMS PAGE STYLES ==== */
.contact-info {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.contact-info p {
  color: #ccc;
  margin: 0.8rem 0;
}

.contact-info a {
  color: #ff9800;
  text-decoration: none;
}

.contact-info a:hover {
  color: #ffa726;
  text-decoration: underline;
}

/* ==== SIDEBAR NAVIGATION STYLES ==== */
.sidebar-nav-about {
  margin-bottom: 2.2rem;
}

.sidebar-nav-about a {
  color: #b3b3b3;
  font-weight: 400;
  font-size: 1.05rem;
  background: none;
  border-radius: 0;
  padding: 0;
  display: block;
  text-decoration: none;
}

.sidebar-nav-about a.active {
  color: #e6af1b;
  font-weight: 500;
}

.sidebar-nav-section {
  margin-bottom: 0.7rem;
}

.sidebar-nav-section span {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: block;
  text-align: left;
}

.sidebar-nav-item {
  margin: 1.2rem 0 0.3rem 0;
}

.sidebar-nav-link {
  color: #fff;
  font-size: 1.01rem;
  font-weight: 400;
  display: block;
  padding: 0.2rem 0 0.2rem 0;
  border-radius: 0;
  text-decoration: none;
}

.sidebar-nav-link.active {
  color: #e6af1b;
  font-weight: 500;
}

.sidebar-nav-link.inactive {
  color: #b3b3b3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-nav-link svg {
  margin-left: auto;
}

/* ==== CODE BLOCK STYLES ==== */
.code-block {
  background: #18181a;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
  color: #fff;
}

.code-block-small {
  font-size: 0.9rem;
}

.code-inline {
  background: #18181a;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #ff9800;
}

/* ==== LIST STYLES ==== */
.list-styled {
  color: #ccc;
  line-height: 1.6;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .header {
    padding: 1rem;
  }
  .search-box {
    min-width: 180px;
  }
  .sidebar {
    width: 180px;
    padding: 1rem;
    border-right: none;
  }
  .content {
    padding: 1.5rem;
  }
  .right-panel {
    width: 180px;
    padding: 1rem;
    border-left: none;
  }
}

@media (max-width: 600px) {
  .docs-container {
    flex-direction: column;
  }
  .sidebar,
  .right-panel {
    width: 100%;
    height: auto;
    padding: 0.7rem;
    border-right: none;
    border-left: none;
  }
  .content {
    padding: 0.7rem;
  }
}

/* ================== ESTILOS PARA PÁGINA DE INCIDENTES ================== */

/* Incident Summary */
.incident-summary {
  margin: 1.5rem 0;
}

.incident-summary h3 {
  margin-bottom: 0.5rem;
}

/* Status overview compacto (Estado Atual / Status Geral) */
.status-overview-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #18181a;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.status-overview-compact .status-overview-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  color: #e4e4e7;
}

.status-overview-compact .status-overview-text strong {
  color: #fff;
  font-weight: 600;
}

.status-overview-compact .status-overview-meta {
  color: #71717a;
  font-size: 0.8125rem;
  font-weight: 400;
}

.status-overview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-item.operational {
  color: #4ade80;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}

/* Incident Cards */
.incident-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.incident-date {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 80px;
  flex-shrink: 0;
}

.incident-content {
  flex: 1;
}

.incident-content h4 {
  color: #fff;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.incident-details {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.incident-details p {
  margin: 0.25rem 0;
}

/* Status Badges */
.status-resolved {
  color: #4ade80;
  font-weight: 500;
}

.status-investigating {
  color: #fbbf24;
  font-weight: 500;
}

.status-completed {
  color: #4ade80;
  font-weight: 500;
}

/* Update Cards */
.updates-container {
  margin: 2rem 0;
}

.update-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.update-date {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 80px;
  flex-shrink: 0;
}

.update-content {
  flex: 1;
}

.update-content h4 {
  color: #fff;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.update-details {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.update-details p {
  margin: 0.25rem 0;
}

/* Responsive Design for Incident Cards */
@media (max-width: 768px) {
  .incident-card,
  .update-card {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .incident-date,
  .update-date {
    min-width: auto;
    font-size: 0.8rem;
  }
}

/* ===== SISTEMA DE PESQUISA ===== */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  margin-top: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #333;
  background: #222;
  border-radius: 8px 8px 0 0;
}

.search-results-count {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.search-results-close {
  background: none;
  border: none;
  color: #888;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.search-results-close:hover {
  background: #333;
  color: #fff;
}

.search-results-list {
  max-height: 320px;
  overflow-y: auto;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid #2a2a2a;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.search-result-item:hover {
  background: #2a2a2a;
}

.search-result-item.current-page {
  background: #1a2a1a;
  border-left: 3px solid #ff9800;
}

.search-result-item.current-page:hover {
  background: #1a3a1a;
}

.search-result-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.search-result-content {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.4;
  margin-bottom: 6px;
}

.search-result-url {
  font-size: 0.75rem;
  color: #666;
  font-family: 'Courier New', monospace;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: #888;
}

.search-no-results p {
  margin-bottom: 12px;
}

.search-no-results strong {
  color: #ff9800;
}

.search-suggestions {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.search-no-results ul {
  text-align: left;
  margin: 0;
  padding-left: 20px;
}

.search-no-results li {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 4px;
}

/* Destaque de texto pesquisado */
mark {
  background: #ff9800;
  color: #000;
  padding: 1px 2px;
  border-radius: 2px;
  font-weight: 600;
}

/* Responsividade para pesquisa */
@media (max-width: 768px) {
  .search-results {
    left: -10px;
    right: -10px;
    margin-top: 4px;
  }
  
  .search-result-item {
    padding: 10px 12px;
  }
  
  .search-result-title {
    font-size: 0.9rem;
  }
  
  .search-result-content {
    font-size: 0.8rem;
  }
}