/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-primary: #27272a;
  --bg-main: #fafafa;
  --bg-secondary: #f4f4f5;
  --bg-main-border: #e4e4e7;
  --bg-secondary-border: #e4e4e7;
  --bg-sidebar: white;
  --bg-skeleton: rgb(24 24 27 / 30%);
  --text-sidebar: #3f3f46b3;
  --text-secondary: #3f3f46;
}

.dark {
  --bg-primary: #3c83f6;
  --bg-main: #0d0d0f;
  --bg-secondary: #27272a;
  --bg-main-border: #0a0a0a;
  --bg-secondary-border: #333;
  --bg-sidebar: #18181b;
  --bg-skeleton: #333;
  --text-sidebar: #9ca3af;
  --text-secondary: #666;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: var(--bg-sidebar);
  overflow-y: hidden;
}

/* Container principal */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 18rem;
  background-color: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
  padding: 0 0.5rem !important;
}

/* Efeito de pulse para os skeletons */
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

.skeleton {
  background-color: var(--bg-skeleton);
  border-radius: 6px;
  animation: pulse 1.5s infinite;
}

/* Header da sidebar */
.sidebar-header {
  padding: 16px 8px;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-secondary);
  border-radius: 6px;
  padding: 8px 8px;
}

.company-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-name {
  height: 14px;
  width: 140px;
}

.company-location {
  height: 10px;
  width: 100px;
}

/* Conteúdo da sidebar */
.sidebar-content {
  flex: 1;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}

/* Grupos da sidebar */
.sidebar-group {
  margin-bottom: 16px;
}

.sidebar-group-label {
  padding: 8px 16px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.sidebar-group-label-skeleton {
  height: 10px;
  width: 200px;
  font-size: 12px;
  color: var(--text-sidebar);
  margin: 8px 16px;
  font-weight: 500;
}

/* Menu da sidebar */
.sidebar-menu {
  list-style: none;
}

.sidebar-menu-item {
  padding: 9px 16px;
  margin: 2px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-menu-icon {
  width: 16px;
  height: 16px;
  border-radius: 6px;
}

.sidebar-menu-text {
  height: 16px;
  flex: 1;
  max-width: 140px;
}
 
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-user-info {
  margin-top: 16px;
  border-top: 1px solid var(--bg-secondary-border);
  padding: 20px;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-name {
  height: 12px;
  width: 100px;
}

.user-email {
  height: 10px;
  width: 120px;
}

/* Conteúdo principal (apenas para demonstração) */
.main-content {
  flex: 1;
  padding: 20px;
  background-color: var(--bg-main);
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid var(--bg-main-border);
  margin-bottom: 10px;
  margin-bottom: 10px;
  min-height: 90vh;
}

/* Logo e Frase Central */
.center-content {
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.main-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.inspiration-text {
  font-size: 24px;
  color: var(--text-sidebar);
  max-width: 440px;
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  font-style: italic;
}

.sub-text {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.loading-dots {
  display: inline-flex;
  margin-left: 8px;
}

.dot {
  width: 4px;
  height: 4px;
  background-color: #6c757d;
  border-radius: 50%;
  margin: 0 2px;
  animation: loadingDots 1.5s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
}

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

@keyframes loadingDots {
  0%, 20% {
      opacity: 0.3;
      transform: scale(1);
  }
  50% {
      opacity: 1;
      transform: scale(1.2);
  }
  80%, 100% {
      opacity: 0.3;
      transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) { 
  .inspiration-text {
      font-size: 20px;
  }
  
  .main-logo {
      width: 60px;
      height: 60px;
      font-size: 28px;
  }
}

h1 {
  line-height: 2rem;
}

h2 {
  line-height: 1.75rem;
}

h1,
h2,
h3,
p {
  margin: 0
}