/* Z-Suite ERP Hub & Module Tab Page Styles (z-suite.css) */

/* Tab Navigation Container */
.zsuite-tabs-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1050px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .zsuite-tabs-container {
    flex-direction: column;
    gap: 0.875rem;
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* Base Tab Button */
.zsuite-tab {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  text-align: left;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 640px) {
  .zsuite-tab {
    padding: 1.25rem;
  }
}

.zsuite-tab:focus-visible {
  outline: 2px solid #18B4D6;
  outline-offset: 2px;
}

/* Tab Icon Box Base */
.zsuite-tab .tab-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zsuite-tab .tab-icon-box svg,
.zsuite-tab .tab-icon-box i {
  width: 1.5rem;
  height: 1.5rem;
}

/* Tab Typography Base */
.zsuite-tab .tab-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .zsuite-tab .tab-title {
    font-size: 1.125rem;
  }
}

.zsuite-tab .tab-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Inactive Tab Button State - Raised slate button surface */
.zsuite-tab:not(.active-tab) {
  background-color: #0b1528 !important;
  color: #f1f5f9 !important;
  border: 2px solid #334155 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transform: none;
}

.zsuite-tab:not(.active-tab):hover {
  background-color: #16243d !important;
  color: #ffffff !important;
  border-color: #18B4D6 !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(24, 180, 214, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.zsuite-tab:not(.active-tab) .tab-icon-box {
  background-color: #16243d !important;
  color: #18B4D6 !important;
  border: 1px solid #334155 !important;
}

.zsuite-tab:not(.active-tab):hover .tab-icon-box {
  background-color: rgba(24, 180, 214, 0.2) !important;
  border-color: #18B4D6 !important;
  transform: scale(1.05);
}

.zsuite-tab:not(.active-tab) .tab-title {
  color: #ffffff !important;
}

.zsuite-tab:not(.active-tab) .tab-subtitle {
  color: #94a3b8 !important;
}

.zsuite-tab:not(.active-tab):hover .tab-subtitle {
  color: #e2e8f0 !important;
}

/* Active Tab Button State - Glowing cyan gradient standout */
.zsuite-tab.active-tab {
  background: linear-gradient(135deg, #18B4D6 0%, #0ea5e9 100%) !important;
  background-color: #18B4D6 !important;
  color: #0A1B33 !important;
  border: 2px solid #67e8f9 !important;
  box-shadow: 0 12px 30px -4px rgba(24, 180, 214, 0.45), 0 4px 12px rgba(24, 180, 214, 0.3) !important;
  transform: translateY(-2px);
}

.zsuite-tab.active-tab .tab-icon-box {
  background-color: #0A1B33 !important;
  color: #18B4D6 !important;
  border: 1px solid rgba(10, 27, 51, 0.4) !important;
}

.zsuite-tab.active-tab .tab-title {
  color: #0A1B33 !important;
  font-weight: 900 !important;
}

.zsuite-tab.active-tab .tab-subtitle {
  color: #0A1B33 !important;
  font-weight: 700 !important;
  opacity: 0.9 !important;
}

/* Content Panels */
.zsuite-panel.hidden {
  display: none !important;
}

/* Application Window Mockup Shadow */
.mockup-exe-window {
  box-shadow: 0 20px 50px -10px rgba(6, 17, 34, 0.6), 0 0 30px -5px rgba(24, 180, 214, 0.2);
}
