/* =====================
   Base
===================== */
.elom-tab * {
  box-sizing: border-box;
}

.elom-tab {
  background: #ffffff;
  color: #1f2937;
}

.elom-tab-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}
.elom-tab-btn-primary,
.elom-tab-btn-outline {
  display: inline-flex;
  align-items: center;
}
/* =====================
   Tabs Wrapper
===================== */
.elom-tab-tabs-wrapper {
  position: relative;
}

/* Tabs Header */
.elom-tab-tabs-header {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 28px;
}

.elom-tab-tabs-header::-webkit-scrollbar {
  display: none;
}

.elom-tab-tab {
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #6b7280;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.elom-tab-tab.elom-tab-active {
  color: #4f46e5;
}

.elom-tab-tab.elom-tab-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: #4f46e5;
  border-radius: 3px;
}

/* =====================
   Gradient Fade Hints
===================== */
.elom-tab-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.elom-tab-fade-left {
  left: 0;
  background: linear-gradient(to right, #ffffff 60%, transparent);
}

.elom-tab-fade-right {
  right: 0;
  background: linear-gradient(to left, #ffffff 60%, transparent);
}

.elom-tab-fade.elom-tab-show {
  opacity: 1;
}

/* =====================
   Content Animation
===================== */
.elom-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}

.elom-tab-panel.elom-tab-active {
  display: block;
  animation: elom-tab-fadeSlide 0.45s ease forwards;
}

@keyframes elom-tab-fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   Layout
===================== */
.elom-tab-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.elom-tab-left h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.elom-tab-left p {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.6;
}

.elom-tab-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.elom-tab-btn-primary {
  background: #ff4d2d;
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.elom-tab-btn-outline {
  border: 1.5px solid #d1d5db;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

/* =====================
   Cards
===================== */
.elom-tab-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.elom-tab-card {
  background: #f9fafb;
  padding: 24px;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.elom-tab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.elom-tab-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.elom-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elom-tab-icon svg {
  width: 20px;
  height: 20px;
  stroke: #4f46e5;
  fill: none;
  stroke-width: 2;
}

.elom-tab-card h4 {
  margin: 0;
  font-size: 18px;
}

.elom-tab-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

/* =====================
   Responsive
===================== */
@media (max-width: 900px) {
  .elom-tab-content-grid {
    grid-template-columns: 1fr;
  }
}