/* Tailwind CSS - Compiled for htdocs project */

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Tailwind utilities */
.bg-gray-900 { background-color: #111827; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-600 { background-color: #4b5563; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-100 { background-color: #f3f4f6; }

.text-white { color: #ffffff; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }

.text-lime-400 { color: #22c55e; }
.text-lime-300 { color: #84cc16; }
.text-lime-500 { color: #16a34a; }
.text-lime-600 { color: #15803d; }
.text-lime-700 { color: #166534; }

.text-blue-400 { color: #60a5fa; }
.text-blue-300 { color: #93c5fd; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }

.text-red-400 { color: #f87171; }
.text-red-300 { color: #fca5a5; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }

.text-green-400 { color: #4ade80; }
.text-green-300 { color: #86efac; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #166534; }

.text-yellow-400 { color: #facc15; }
.text-yellow-300 { color: #fde047; }
.text-yellow-500 { color: #eab308; }
.text-yellow-600 { color: #ca8a04; }
.text-yellow-700 { color: #a16207; }

.text-purple-400 { color: #c084fc; }
.text-purple-300 { color: #d8b4fe; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7c3aed; }

.bg-lime-400 { background-color: #22c55e; }
.bg-lime-500 { background-color: #16a34a; }
.bg-lime-600 { background-color: #15803d; }
.bg-lime-700 { background-color: #166534; }

.bg-blue-400 { background-color: #60a5fa; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }

.bg-red-400 { background-color: #f87171; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-700 { background-color: #b91c1c; }

.bg-green-400 { background-color: #4ade80; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #166534; }

.bg-yellow-400 { background-color: #facc15; }
.bg-yellow-500 { background-color: #eab308; }
.bg-yellow-600 { background-color: #ca8a04; }
.bg-yellow-700 { background-color: #a16207; }

.bg-purple-400 { background-color: #c084fc; }
.bg-purple-500 { background-color: #a855f7; }
.bg-purple-600 { background-color: #9333ea; }
.bg-purple-700 { background-color: #7c3aed; }

/* Layout utilities */
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Sizing */
.w-full { width: 100%; }
.w-64 { width: 16rem; }
.w-32 { width: 8rem; }
.w-28 { width: 7rem; }
.w-20 { width: 5rem; }
.w-10 { width: 2.5rem; }

.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-12 { height: 3rem; }
.h-4 { height: 1rem; }

.min-h-screen { min-height: 100vh; }
.min-w-full { min-width: 100%; }
.min-w-64 { min-width: 16rem; }

.max-w-full { max-width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-4xl { max-width: 56rem; }
.max-h-\[90vh\] { max-height: 90vh; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.m-0 { margin: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Responsive */
@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\\:flex { display: flex; }
  .lg\\:h-screen { height: 100vh; }
  .lg\\:p-10 { padding: 2.5rem; }
  .lg\\:fixed { position: fixed; }
  .lg\\:border-r { border-right-width: 1px; }
  .lg\\:ml-64 { margin-left: 16rem; }
}

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-r { border-right-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l { border-left-width: 1px; }

.border-gray-600 { border-color: #4b5563; }
.border-gray-700 { border-color: #374151; }
.border-lime-400 { border-color: #22c55e; }
.border-transparent { border-color: transparent; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* Transforms */
.transform { transform: translateZ(0); }
.scale-\[1\.02\] { transform: scale(1.02); }

/* Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Hover states */
.hover\\:bg-gray-600:hover { background-color: #4b5563; }
.hover\\:bg-gray-700:hover { background-color: #374151; }
.hover\\:bg-lime-700:hover { background-color: #166534; }
.hover\\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\\:bg-red-700:hover { background-color: #b91c1c; }
.hover\\:bg-green-700:hover { background-color: #166534; }
.hover\\:bg-purple-700:hover { background-color: #7c3aed; }

.hover\\:text-lime-400:hover { color: #22c55e; }
.hover\\:text-lime-300:hover { color: #84cc16; }
.hover\\:text-blue-300:hover { color: #93c5fd; }
.hover\\:text-red-300:hover { color: #fca5a5; }
.hover\\:text-green-300:hover { color: #86efac; }
.hover\\:text-gray-300:hover { color: #d1d5db; }

.hover\\:bg-blue-900\\/20:hover { background-color: rgba(30, 58, 138, 0.2); }
.hover\\:bg-red-900\\/20:hover { background-color: rgba(127, 29, 29, 0.2); }

/* Focus states */
.focus\\:ring-lime-500:focus { --tw-ring-color: #16a34a; }
.focus\\:ring-lime-500:focus { box-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); }

/* Disabled states */
.disabled\\:opacity-50:disabled { opacity: 0.5; }
.disabled\\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Custom project styles */
.sidebar-admin {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  z-index: 50;
}

.main-admin-content {
  z-index: 10;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .main-admin-content {
    margin-left: 16rem; /* 256px - largura da sidebar */
  }
}

.nav-item {
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: rgba(34, 197, 94, 0.1);
  transform: translateX(4px);
}

.nav-item.active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border-left: 3px solid #22c55e;
}

.admin-table {
  background: #1f2937;
}

.admin-table th {
  background: #374151;
  color: #f3f4f6;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid #4b5563;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #374151;
  color: #d1d5db;
}

.admin-table tr:hover {
  background: rgba(34, 197, 94, 0.05);
}

.tutorial-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border: 1px solid #374151;
  transition: all 0.3s ease;
}

.tutorial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Divide utilities */
.divide-y > * + * { border-top-width: 1px; }
.divide-gray-700 > * + * { border-color: #374151; }

/* Background opacity */
.bg-black\\/70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-blue-900\\/20 { background-color: rgba(30, 58, 138, 0.2); }
.bg-green-900\\/20 { background-color: rgba(20, 83, 45, 0.2); }
.bg-red-900\\/20 { background-color: rgba(127, 29, 29, 0.2); }

/* Text opacity */
.text-blue-300 { color: #93c5fd; }
.text-green-300 { color: #86efac; }
.text-red-300 { color: #fca5a5; }

/* Border utilities */
.-mb-px { margin-bottom: -1px; }
.border-b-2 { border-bottom-width: 2px; }

/* Flex utilities */
.-space-x-4 > * + * { margin-left: -1rem; }

/* Custom classes for the project */
.user-tab-content {
  min-height: 200px;
  transition: none;
}

.user-tab-content:not(.hidden) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.user-tab-content.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}














