/* ==== 
| --------- Support Center Page Styles ---------
| ==== */

// Support Hero Section
.support-hero {
  padding: 150px 0 100px;
  margin-top: 80px; // Account for fixed header
  min-height: 70vh;
  background: linear-gradient(135deg, 
    #0f172a 0%, 
    #1e293b 25%,
    #334155 50%,
    #1e293b 75%,
    #0f172a 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);

  // Animated Background Elements
  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;

    // Floating Support Icons
    .floating-tech {
      position: absolute;
      opacity: 0.15;
      animation: float 6s ease-in-out infinite;

      i {
        font-size: 3rem;
        background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      &.tech-1 {
        top: 15%;
        left: 8%;
        animation-delay: 0s;
      }

      &.tech-2 {
        top: 60%;
        left: 15%;
        animation-delay: 2s;
      }

      &.tech-3 {
        top: 30%;
        right: 12%;
        animation-delay: 1s;
      }

      &.tech-4 {
        bottom: 20%;
        right: 20%;
        animation-delay: 3s;
      }

      &.tech-5 {
        top: 45%;
        left: 50%;
        animation-delay: 4s;
        opacity: 0.08;
      }

      &.tech-6 {
        bottom: 30%;
        left: 25%;
        animation-delay: 5s;
        opacity: 0.1;
      }
    }

    // Grid Pattern
    .grid-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
      background-size: 50px 50px;
      animation: gridMove 20s linear infinite;
    }

    // Animated Gradient Orbs
    .gradient-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: 0.2;
      animation: orbFloat 15s ease-in-out infinite;

      &.orb-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        left: -100px;
        background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        animation-delay: 0s;
      }

      &.orb-2 {
        width: 250px;
        height: 250px;
        bottom: -80px;
        right: -80px;
        background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
        animation-delay: 5s;
      }

      &.orb-3 {
        width: 200px;
        height: 200px;
        top: 50%;
        right: 10%;
        background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
        animation-delay: 10s;
      }
    }

    // Video Overlay
    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(30, 41, 59, 0.7) 25%,
        rgba(51, 65, 85, 0.6) 50%,
        rgba(30, 41, 59, 0.7) 75%,
        rgba(15, 23, 42, 0.8) 100%);
      z-index: 1;
    }
  }

  // Main Container
  .container {
    position: relative;
    z-index: 2;
  }

  &__content {
    position: relative;
    z-index: 2;
  }

  &__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;

    @media (max-width: 991px) {
      font-size: 2.5rem;
    }

    @media (max-width: 767px) {
      font-size: 2rem;
    }
  }

  &__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    @media (max-width: 991px) {
      font-size: 1.1rem;
    }
  }

  &__features {
    margin-top: 4rem;

    .row {
      row-gap: 1.5rem !important;

      @media (min-width: 768px) {
        row-gap: 2rem !important;
      }

      @media (min-width: 992px) {
        row-gap: 2.5rem !important;
      }
    }

    // Ensure all columns have the same height
    [class*="col-"] {
      display: flex;
      flex-direction: column;
    }

    .feature-item {
      text-align: center;
      padding: 2rem 1.5rem;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-decoration: none;
      color: inherit;
      flex: 1;
      min-height: 200px;

      // Ensure consistent sizing on all screens
      @media (max-width: 575px) {
        min-height: 180px;
        padding: 1.5rem 1rem;
      }

      @media (min-width: 576px) and (max-width: 767px) {
        min-height: 190px;
      }

      @media (min-width: 768px) and (max-width: 991px) {
        min-height: 200px;
      }

      @media (min-width: 992px) {
        min-height: 210px;
      }

      &.link-item {
        color: inherit;
        text-decoration: none;

        &:hover {
          text-decoration: none;
          color: inherit;
        }
      }

      &.clickable {
        cursor: pointer;
        
        &:hover {
          transform: translateY(-8px) scale(1.02);
          background: rgba(255, 255, 255, 0.12);
          border-color: rgba(218, 165, 32, 0.5);
          box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
        }

        &:active {
          transform: translateY(-6px) scale(1.01);
        }
      }

      &:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(218, 165, 32, 0.3);
      }

      .feature-icon {
        width: 70px;
        height: 70px;
        margin: 0 0 1.5rem 0;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--enterprise-gold), #d4af37);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: #0f172a;
        transition: all 0.3s ease;

        @media (max-width: 575px) {
          width: 60px;
          height: 60px;
          font-size: 1.5rem;
          margin-bottom: 1rem;
        }
      }

      h3 {
        font-size: 1.25rem;
        color: #ffffff;
        margin: 0 0 0.5rem 0;
        font-weight: 600;
        line-height: 1.3;

        @media (max-width: 575px) {
          font-size: 1.1rem;
        }
      }

      p {
        color: rgba(255, 255, 255, 0.7);
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;

        @media (max-width: 575px) {
          font-size: 0.9rem;
        }
      }
    }
  }
}

// Support Center Content
.support-center-content {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--enterprise-gold), transparent);
  }
}

// Support Tabs
.support-tabs {
  &__nav {
    list-style: none;
    padding: 0;
    margin: 0 0 3.5rem 0;
    display: flex;
    gap: 0.5rem;
    border-bottom: 3px solid #e2e8f0;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #f8fafc 0%, transparent 100%);
    padding: 0.5rem;
    border-radius: 12px 12px 0 0;

    li {
      button {
        background: transparent;
        border: none;
        padding: 1.125rem 2.25rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: #64748b;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
        border-bottom: 4px solid transparent;
        border-radius: 8px 8px 0 0;
        letter-spacing: 0.3px;

        &:hover {
          color: var(--enterprise-gold);
          background: rgba(218, 165, 32, 0.05);
        }

        i {
          font-size: 1.25rem;
          margin-right: 0.5rem;
          vertical-align: middle;
        }
      }

      &.active button {
        color: #0f172a;
        background: linear-gradient(180deg, rgba(218, 165, 32, 0.1) 0%, transparent 100%);
        border-bottom-color: var(--enterprise-gold);
        font-weight: 700;
      }
    }

    @media (max-width: 991px) {
      flex-direction: column;
      gap: 0.5rem;
      border-bottom: none;

      li button {
        text-align: left;
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        border-bottom: none;
      }

      li.active button {
        background: rgba(218, 165, 32, 0.1);
      }
    }
  }

  &__content {
    background: #ffffff;
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(218, 165, 32, 0.1);
    position: relative;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--enterprise-gold), #d4af37, var(--enterprise-gold));
      border-radius: 16px 16px 0 0;
    }

    @media (max-width: 991px) {
      padding: 2.5rem 1.75rem;
    }
  }
}

// Form Header
.form-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--enterprise-gold);
  position: relative;

  &::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--enterprise-gold), transparent);
  }

  h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  p {
    color: #475569;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
  }
}

// Create Ticket Form
.create-ticket-form {
  .form-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 4px solid var(--enterprise-gold);
    background: linear-gradient(90deg, rgba(218, 165, 32, 0.05), transparent);
    padding-top: 0.5rem;
    padding-right: 1rem;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, var(--enterprise-gold), #d4af37);
    }
  }

  .form-group {
    margin-bottom: 1.5rem;

    label {
      display: block;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 0.625rem;
      font-size: 0.975rem;
      letter-spacing: 0.2px;
      text-transform: none;
      font-size: 0.85rem;

      .required {
        color: #ef4444;
        margin-left: 0.25rem;
        font-size: 1.1em;
      }
    }

    .form-control {
      width: 100%;
      padding: 0.875rem 1.125rem;
      border: 2px solid #cbd5e1;
      border-radius: 10px;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: #ffffff;
      font-family: inherit;
      color: #1e293b;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

      &:hover {
        border-color: #94a3b8;
      }

      &:focus {
        outline: none;
        border-color: var(--enterprise-gold);
        box-shadow: 0 0 0 4px rgba(218, 165, 32, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
        background: #ffffff;
      }

      &::placeholder {
        color: #94a3b8;
        font-style: italic;
      }

      &:disabled {
        background: #f1f5f9;
        color: #94a3b8;
        cursor: not-allowed;
      }
    }

    select.form-control {
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      padding-right: 2.5rem;
    }

    textarea.form-control {
      resize: vertical;
      min-height: 140px;
      line-height: 1.6;
      font-family: inherit;
    }

    input[type="email"],
    input[type="tel"] {
      &:invalid:not(:placeholder-shown) {
        border-color: #f59e0b;
      }
    }
  }

  .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;

    &:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    }

    &:active:not(:disabled) {
      transform: translateY(0);
    }

    &:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    i {
      font-size: 1.1em;
    }
  }
}

// Ticket Success
.ticket-success {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
  border-radius: 16px;
  border: 2px solid rgba(16, 185, 129, 0.2);

  .success-icon {
    font-size: 5.5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
  }

  h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
  }

  .ticket-number {
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    strong {
      color: var(--enterprise-gold);
      font-size: 1.6rem;
      font-family: 'Courier New', monospace;
      font-weight: 700;
      letter-spacing: 1px;
      display: block;
      margin-top: 0.5rem;
    }
  }

  .ticket-info {
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    }
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

// Ticket Status Check
.ticket-status-check {
  .status-search-form {
    margin-bottom: 2rem;

    .search-input-group {
      display: flex;
      gap: 1rem;
      max-width: 700px;
      margin: 0 auto;

      @media (max-width: 767px) {
        flex-direction: column;
      }

      .form-control {
        flex: 1;
        padding: 1rem 1.25rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;

        &:focus {
          outline: none;
          border-color: var(--enterprise-gold);
          box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
        }
      }

      .btn {
        white-space: nowrap;
      }
    }
  }
}

// Ticket Details
.ticket-details {
  margin-top: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;

  .ticket-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

    .ticket-number {
      font-size: 1.5rem;
      font-weight: 700;
      color: #ffffff;
      font-family: monospace;
    }

    .ticket-status-badge {
      padding: 0.5rem 1.25rem;
      border-radius: 50px;
      color: #ffffff;
      font-weight: 600;
      font-size: 0.95rem;
      text-transform: none;
      letter-spacing: 0.5px;
    }
  }

  .ticket-info {
    padding: 2rem;

    h3 {
      font-size: 1.75rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 1.5rem;
    }

    h4 {
      font-size: 1.25rem;
      font-weight: 600;
      color: #334155;
      margin-bottom: 1rem;
      margin-top: 2rem;
    }
  }

  .ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;

    .meta-item {
      display: flex;
      align-items: center;
      color: #64748b;
      font-size: 0.95rem;

      i {
        color: var(--enterprise-gold);
        margin-right: 0.5rem;
      }

      strong {
        color: #334155;
        margin-right: 0.5rem;
      }

      .priority-badge {
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        color: #ffffff;
        font-size: 0.85rem;
        font-weight: 600;
      }
    }
  }

  .ticket-description {
    p {
      color: #475569;
      line-height: 1.7;
      white-space: pre-wrap;
    }
  }
}

// Ticket Messages
.ticket-messages {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;

  .messages-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .message-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 3px solid var(--enterprise-gold);

    .message-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      flex-wrap: wrap;
      gap: 0.5rem;

      .message-author {
        font-weight: 600;
        color: #1e293b;
        display: flex;
        align-items: center;

        i {
          color: var(--enterprise-gold);
          font-size: 1.2rem;
        }
      }

      .message-date {
        color: #64748b;
        font-size: 0.9rem;
      }
    }

    .message-content {
      color: #475569;
      line-height: 1.6;
      white-space: pre-wrap;
    }
  }
}

// Ticket Timeline
.ticket-timeline {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;

  .timeline-list {
    margin-top: 1.5rem;
    position: relative;
    padding-left: 2rem;

    &::before {
      content: '';
      position: absolute;
      left: 0.375rem;
      top: 0;
      bottom: 0;
      width: 2px;
      background: #e2e8f0;
    }
  }

  .timeline-item {
    position: relative;
    margin-bottom: 1.5rem;

    .timeline-icon {
      position: absolute;
      left: -2rem;
      top: 0;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;

      i {
        color: var(--enterprise-gold);
        font-size: 0.6rem;
      }
    }

    .timeline-content {
      .timeline-description {
        color: #334155;
        font-weight: 500;
        margin-bottom: 0.25rem;
      }

      .timeline-date {
        color: #64748b;
        font-size: 0.85rem;
      }
    }

    &:last-child {
      margin-bottom: 0;
    }
  }
}

// Knowledge Base
.knowledge-base {
  .kb-search-form {
    margin-bottom: 3rem;

    .search-input-group {
      position: relative;
      max-width: 700px;
      margin: 0 auto;

      .search-icon {
        position: absolute;
        left: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 1.2rem;
      }

      .form-control {
        width: 100%;
        padding: 1rem 3.5rem 1rem 3.5rem;
        border: 2px solid #e2e8f0;
        border-radius: 50px;
        font-size: 1rem;
        transition: all 0.3s ease;

        &:focus {
          outline: none;
          border-color: var(--enterprise-gold);
          box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
        }

        &::placeholder {
          color: #94a3b8;
        }
      }

      .clear-search {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #94a3b8;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.3s ease;

        &:hover {
          color: #64748b;
        }
      }
    }
  }

  .kb-categories {
    margin-bottom: 3rem;

    h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 1.5rem;
    }

    .category-card {
      background: #ffffff;
      border-radius: 12px;
      padding: 1.5rem;
      border-left: 4px solid var(--enterprise-gold);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      cursor: pointer;
      transition: all 0.3s ease;
      height: 100%;

      &:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      }

      .category-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
      }

      .category-content {
        h4 {
          font-size: 1.25rem;
          font-weight: 700;
          color: #1e293b;
          margin-bottom: 0.5rem;
        }

        p {
          color: #64748b;
          font-size: 0.95rem;
          margin-bottom: 1rem;
          line-height: 1.5;
        }

        .category-meta {
          .article-count {
            color: var(--enterprise-gold);
            font-weight: 600;
            font-size: 0.9rem;
          }
        }
      }
    }
  }

  .kb-articles {
    .articles-header {
      margin-bottom: 2rem;

      h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
      }

      .search-info {
        color: #64748b;
        font-size: 0.95rem;
      }
    }

    .articles-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .article-item {
      background: #ffffff;
      border-radius: 12px;
      padding: 2rem;
      border: 1px solid #e2e8f0;
      cursor: pointer;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-color: var(--enterprise-gold);
      }

      .article-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
        gap: 1rem;

        h4 {
          font-size: 1.4rem;
          font-weight: 700;
          color: #1e293b;
          margin: 0;
          flex: 1;
        }

        .featured-badge {
          background: linear-gradient(135deg, var(--enterprise-gold), #d4af37);
          color: #0f172a;
          padding: 0.4rem 1rem;
          border-radius: 50px;
          font-size: 0.85rem;
          font-weight: 600;
          white-space: nowrap;
        }
      }

      .article-summary {
        color: #64748b;
        line-height: 1.6;
        margin-bottom: 1rem;
      }

      .article-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e2e8f0;

        .article-category,
        .article-stats {
          color: #64748b;
          font-size: 0.9rem;
          display: flex;
          align-items: center;

          i {
            color: var(--enterprise-gold);
          }
        }
      }

      .article-read-more {
        background: none;
        border: none;
        color: var(--enterprise-gold);
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;

        &:hover {
          transform: translateX(5px);
        }

        i {
          transition: transform 0.3s ease;
        }
      }
    }
  }
}

// Knowledge Base Article Modal
.kb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;

  @media (max-width: 767px) {
    padding: 1rem;
  }
}

.kb-modal {
  background: #ffffff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;

  .modal-close {
    position: sticky;
    top: 1rem;
    right: 1rem;
    float: right;
    background: #ef4444;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;

    &:hover {
      background: #dc2626;
      transform: rotate(90deg);
    }
  }

  .modal-content {
    padding: 3rem;

    @media (max-width: 991px) {
      padding: 2rem;
    }

    @media (max-width: 767px) {
      padding: 1.5rem;
    }
  }

  .article-header {
    margin-bottom: 2rem;

    .featured-badge {
      background: linear-gradient(135deg, var(--enterprise-gold), #d4af37);
      color: #0f172a;
      padding: 0.4rem 1rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 1rem;
    }

    h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 1rem;
      line-height: 1.2;

      @media (max-width: 991px) {
        font-size: 2rem;
      }

      @media (max-width: 767px) {
        font-size: 1.75rem;
      }
    }

    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      color: #64748b;
      font-size: 0.95rem;

      .meta-item {
        display: flex;
        align-items: center;

        i {
          color: var(--enterprise-gold);
        }
      }
    }
  }

  .article-body {
    margin-bottom: 2rem;

    .article-content {
      color: #475569;
      line-height: 1.8;
      font-size: 1.05rem;

      h1, h2, h3, h4, h5, h6 {
        color: #1e293b;
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-weight: 700;
      }

      p {
        margin-bottom: 1.5rem;
      }

      ul, ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;

        li {
          margin-bottom: 0.5rem;
        }
      }

      code {
        background: #f1f5f9;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        font-family: monospace;
        color: #ef4444;
      }

      pre {
        background: #0f172a;
        color: #f8fafc;
        padding: 1.5rem;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 1.5rem;

        code {
          background: none;
          color: inherit;
          padding: 0;
        }
      }
    }
  }

  .article-footer {
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;

    .article-feedback {
      h4 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1rem;
      }

      .feedback-thanks {
        color: #10b981;
        font-weight: 600;
        font-size: 1.05rem;
      }

      .feedback-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }
    }
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

// Loading and Empty States
.loading-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;

  .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    border-color: var(--enterprise-gold);
    border-right-color: transparent;
    margin-bottom: 1rem;
  }

  p {
    margin-top: 1rem;
    font-size: 1.05rem;
  }
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;

  .empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
  }

  h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.75rem;
  }

  p {
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
  }
}

.error-state {
  text-align: center;
  padding: 3rem 2rem;

  i {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.75rem;
  }

  p {
    color: #64748b;
  }
}

// Utility classes
.section-padding {
  padding: 80px 0;

  @media (max-width: 991px) {
    padding: 60px 0;
  }

  @media (max-width: 767px) {
    padding: 40px 0;
  }
}

// Keyframe Animations for Hero Background
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
  }
  75% {
    transform: translateY(-15px) translateX(5px);
  }
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* ==== 
| --------- Support Center Responsive Styles ---------
| ==== */

// Large Desktop (1200px and above) - Already handled by default styles

// Desktop to Tablet (992px to 1199px)
@media only screen and (max-width: 1199.98px) {
  .support-hero {
    padding: 120px 0 80px;
    min-height: 60vh;

    &__title {
      font-size: 3rem;
    }

    &__subtitle {
      font-size: 1.15rem;
    }

    &__features {
      margin-top: 3rem;

      .feature-item {
        padding: 1.5rem;

        .feature-icon {
          width: 60px;
          height: 60px;
          font-size: 1.5rem;
        }

        h3 {
          font-size: 1.1rem;
        }
      }
    }
  }

  .support-center-content {
    padding: 70px 0;
  }

  .support-tabs {
    &__nav {
      li button {
        padding: 1rem 1.75rem;
        font-size: 1rem;

        i {
          font-size: 1.1rem;
        }
      }
    }

    &__content {
      padding: 3rem 2.5rem;
    }
  }

  .form-header {
    h2 {
      font-size: 2rem;
    }

    p {
      font-size: 1.05rem;
    }
  }
}

// Tablet Landscape (768px to 991px)
@media only screen and (max-width: 991.98px) {
  .support-hero {
    padding: 100px 0 60px;
    min-height: 50vh;

    // Reduce animation complexity on tablets
    .hero-background {
      .floating-tech {
        i {
          font-size: 2.5rem;
        }

        &.tech-5,
        &.tech-6 {
          display: none;
        }
      }

      .gradient-orb {
        filter: blur(40px);

        &.orb-1 {
          width: 250px;
          height: 250px;
        }

        &.orb-2 {
          width: 200px;
          height: 200px;
        }

        &.orb-3 {
          width: 150px;
          height: 150px;
        }
      }
    }

    &__title {
      font-size: 2.5rem;
      margin-bottom: 1.25rem;
    }

    &__subtitle {
      font-size: 1.1rem;
      margin-bottom: 2.5rem;
    }

    &__features {
      margin-top: 2.5rem;

      .row {
        gap: 1rem !important;
      }

      .feature-item {
        padding: 1.25rem;

        .feature-icon {
          width: 55px;
          height: 55px;
          font-size: 1.4rem;
          margin-bottom: 1rem;
        }

        h3 {
          font-size: 1.05rem;
          margin-bottom: 0.4rem;
        }

        p {
          font-size: 0.9rem;
        }
      }
    }
  }

  .support-center-content {
    padding: 60px 0;
  }

  .support-tabs {
    &__nav {
      flex-direction: column;
      gap: 0.5rem;
      border-bottom: none;
      padding: 0.5rem;

      li {
        width: 100%;

        button {
          text-align: left;
          width: 100%;
          padding: 1rem 1.5rem;
          border-radius: 8px;
          border-bottom: none;
          font-size: 1rem;

          i {
            font-size: 1.2rem;
          }
        }

        &.active button {
          background: rgba(218, 165, 32, 0.1);
          border-left: 4px solid var(--enterprise-gold);
        }
      }
    }

    &__content {
      padding: 2.5rem 1.75rem;
    }
  }

  .form-header {
    margin-bottom: 2.5rem;

    h2 {
      font-size: 1.75rem;
    }

    p {
      font-size: 1rem;
    }
  }

  .create-ticket-form {
    .form-section-title {
      font-size: 1.25rem;
      padding: 0.5rem 0.875rem;
    }

    .form-group {
      margin-bottom: 1.25rem;

      .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
      }

      textarea.form-control {
        min-height: 120px;
      }
    }

    .btn {
      padding: 0.875rem 2rem;
      font-size: 1rem;
      width: 100%;
    }
  }

  .ticket-success {
    padding: 3rem 1.5rem;

    .success-icon {
      font-size: 4.5rem;
    }

    h3 {
      font-size: 2rem;
    }

    .ticket-number {
      font-size: 1.2rem;
      padding: 1.25rem;

      strong {
        font-size: 1.4rem;
      }
    }

    .ticket-info {
      font-size: 1rem;
    }

    .btn {
      width: 100%;
      max-width: 400px;
    }
  }

  .ticket-status-check {
    .status-search-form {
      .search-input-group {
        flex-direction: column;

        .btn {
          width: 100%;
        }
      }
    }
  }

  .ticket-details {
    .ticket-header {
      padding: 1.5rem;

      .ticket-number {
        font-size: 1.25rem;
      }

      .ticket-status-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
      }
    }

    .ticket-info {
      padding: 1.5rem;

      h3 {
        font-size: 1.5rem;
      }
    }

    .ticket-meta {
      gap: 1rem;
      font-size: 0.9rem;
    }
  }

  .ticket-messages {
    .message-item {
      padding: 1.25rem;
    }
  }

  .knowledge-base {
    .kb-categories {
      margin-bottom: 2.5rem;

      h3 {
        font-size: 1.35rem;
      }

      .category-card {
        padding: 1.25rem;

        .category-icon {
          font-size: 1.75rem;
          margin-bottom: 0.875rem;
        }

        .category-content {
          h4 {
            font-size: 1.15rem;
          }

          p {
            font-size: 0.9rem;
          }
        }
      }
    }

    .kb-articles {
      .articles-header {
        h3 {
          font-size: 1.35rem;
        }
      }

      .article-item {
        padding: 1.5rem;

        .article-header {
          flex-direction: column;
          align-items: flex-start;

          h4 {
            font-size: 1.25rem;
          }

          .featured-badge {
            margin-top: 0.5rem;
          }
        }

        .article-meta {
          gap: 1rem;
          font-size: 0.85rem;
        }
      }
    }
  }

  .kb-modal {
    .modal-content {
      padding: 2rem;
    }

    .article-header {
      h2 {
        font-size: 2rem;
      }

      .article-meta {
        gap: 1rem;
        font-size: 0.9rem;
      }
    }

    .article-body {
      .article-content {
        font-size: 1rem;
      }
    }
  }
}

// Tablet Portrait (576px to 767px)
@media only screen and (max-width: 767.98px) {
  .support-hero {
    padding: 80px 0 50px;
    min-height: auto;

    // Simplify background on mobile
    .hero-background {
      .floating-tech {
        i {
          font-size: 2rem;
        }

        &.tech-3,
        &.tech-4 {
          display: none;
        }
      }

      .gradient-orb {
        filter: blur(30px);
        opacity: 0.15;

        &.orb-1 {
          width: 180px;
          height: 180px;
        }

        &.orb-2 {
          width: 150px;
          height: 150px;
        }

        &.orb-3 {
          display: none;
        }
      }

      .grid-overlay {
        background-size: 30px 30px;
      }
    }

    &__title {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    &__subtitle {
      font-size: 1rem;
      margin-bottom: 2rem;
    }

    &__features {
      margin-top: 2rem;

      .row {
        gap: 0.75rem !important;
      }

      .feature-item {
        padding: 1rem;

        .feature-icon {
          width: 50px;
          height: 50px;
          font-size: 1.2rem;
          margin-bottom: 0.75rem;
        }

        h3 {
          font-size: 1rem;
          margin-bottom: 0.3rem;
        }

        p {
          font-size: 0.85rem;
        }
      }
    }
  }

  .support-center-content {
    padding: 40px 0;
  }

  .support-tabs {
    &__nav {
      padding: 0.25rem;
      margin-bottom: 2rem;

      li button {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;

        i {
          font-size: 1.1rem;
          margin-right: 0.375rem;
        }
      }
    }

    &__content {
      padding: 2rem 1.25rem;
      border-radius: 12px;
    }
  }

  .form-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;

    h2 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    p {
      font-size: 0.95rem;
    }
  }

  .create-ticket-form {
    .form-section-title {
      font-size: 1.15rem;
      margin-bottom: 1.5rem;
      padding: 0.5rem 0.75rem;
    }

    .form-group {
      margin-bottom: 1rem;

      label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
      }

      .form-control {
        padding: 0.7rem 0.875rem;
        font-size: 0.9rem;
        border-radius: 8px;
      }

      textarea.form-control {
        min-height: 100px;
      }
    }

    .btn {
      padding: 0.75rem 1.75rem;
      font-size: 0.95rem;
      width: 100%;
      border-radius: 8px;

      i {
        font-size: 1em;
      }
    }
  }

  .ticket-success {
    padding: 2.5rem 1.25rem;

    .success-icon {
      font-size: 4rem;
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 1.75rem;
      margin-bottom: 1rem;
    }

    .ticket-number {
      font-size: 1.1rem;
      padding: 1rem;
      margin-bottom: 1.25rem;

      strong {
        font-size: 1.3rem;
      }
    }

    .ticket-info {
      font-size: 0.95rem;
      margin-bottom: 2rem;
    }

    .btn {
      width: 100%;
      padding: 0.875rem 2rem;
      font-size: 0.95rem;
    }
  }

  .ticket-status-check {
    .status-search-form {
      .search-input-group {
        gap: 0.75rem;

        .form-control {
          padding: 0.875rem 1rem;
          font-size: 0.9rem;
        }

        .btn {
          padding: 0.875rem 1.5rem;
          font-size: 0.9rem;
        }
      }
    }
  }

  .ticket-details {
    border-radius: 8px;

    .ticket-header {
      padding: 1.25rem;
      flex-direction: column;
      align-items: flex-start;

      .ticket-number {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
      }

      .ticket-status-badge {
        font-size: 0.8rem;
        padding: 0.375rem 0.875rem;
      }
    }

    .ticket-info {
      padding: 1.25rem;

      h3 {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
      }

      h4 {
        font-size: 1.15rem;
        margin-top: 1.5rem;
      }
    }

    .ticket-meta {
      flex-direction: column;
      gap: 0.75rem;
      align-items: flex-start;

      .meta-item {
        font-size: 0.85rem;
      }
    }

    .ticket-description {
      p {
        font-size: 0.95rem;
      }
    }
  }

  .ticket-messages {
    margin-top: 1.5rem;
    padding-top: 1.5rem;

    h4 {
      font-size: 1.1rem !important;
    }

    .messages-list {
      margin-top: 1.25rem;
      gap: 1.25rem;
    }

    .message-item {
      padding: 1rem;
      border-radius: 6px;

      .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.75rem;

        .message-author {
          font-size: 0.9rem;

          i {
            font-size: 1.1rem;
          }
        }

        .message-date {
          font-size: 0.85rem;
        }
      }

      .message-content {
        font-size: 0.9rem;
        line-height: 1.5;
      }
    }
  }

  .ticket-timeline {
    margin-top: 1.5rem;
    padding-top: 1.5rem;

    h4 {
      font-size: 1.1rem !important;
    }

    .timeline-list {
      margin-top: 1.25rem;
      padding-left: 1.5rem;

      &::before {
        left: 0.25rem;
      }
    }

    .timeline-item {
      margin-bottom: 1.25rem;

      .timeline-icon {
        left: -1.5rem;
        width: 18px;
        height: 18px;

        i {
          font-size: 0.55rem;
        }
      }

      .timeline-content {
        .timeline-description {
          font-size: 0.9rem;
        }

        .timeline-date {
          font-size: 0.8rem;
        }
      }
    }
  }

  .knowledge-base {
    .kb-search-form {
      margin-bottom: 2.5rem;

      .search-input-group {
        .search-icon {
          left: 1rem;
          font-size: 1.1rem;
        }

        .form-control {
          padding: 0.875rem 3rem;
          font-size: 0.9rem;
          border-radius: 25px;
        }

        .clear-search {
          right: 1rem;
          font-size: 1.1rem;
        }
      }
    }

    .kb-categories {
      margin-bottom: 2rem;

      h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
      }

      .row {
        gap: 1rem !important;
      }

      .category-card {
        padding: 1rem;

        .category-icon {
          font-size: 1.5rem;
          margin-bottom: 0.75rem;
        }

        .category-content {
          h4 {
            font-size: 1.05rem;
            margin-bottom: 0.4rem;
          }

          p {
            font-size: 0.85rem;
            margin-bottom: 0.75rem;
          }

          .category-meta {
            .article-count {
              font-size: 0.85rem;
            }
          }
        }
      }
    }

    .kb-articles {
      .articles-header {
        margin-bottom: 1.5rem;

        h3 {
          font-size: 1.25rem;
          margin-bottom: 0.4rem;
        }

        .search-info {
          font-size: 0.9rem;
        }

        .btn-sm {
          font-size: 0.85rem;
          padding: 0.5rem 1rem;
        }
      }

      .articles-list {
        gap: 1.25rem;
      }

      .article-item {
        padding: 1.25rem;
        border-radius: 10px;

        .article-header {
          margin-bottom: 0.875rem;

          h4 {
            font-size: 1.15rem;
          }

          .featured-badge {
            font-size: 0.8rem;
            padding: 0.35rem 0.875rem;
            margin-top: 0.5rem;
          }
        }

        .article-summary {
          font-size: 0.9rem;
          line-height: 1.5;
          margin-bottom: 0.875rem;
        }

        .article-meta {
          gap: 0.875rem;
          margin-bottom: 0.875rem;
          padding-bottom: 0.875rem;
          flex-wrap: wrap;

          .article-category,
          .article-stats {
            font-size: 0.8rem;

            i {
              margin-right: 0.375rem;
            }
          }
        }

        .article-read-more {
          font-size: 0.9rem;
        }
      }
    }
  }

  .kb-modal-overlay {
    padding: 0.75rem;
  }

  .kb-modal {
    max-height: 95vh;
    border-radius: 10px;

    .modal-close {
      top: 0.75rem;
      right: 0.75rem;
      width: 36px;
      height: 36px;
      font-size: 1.1rem;
    }

    .modal-content {
      padding: 1.5rem;
    }

    .article-header {
      margin-bottom: 1.5rem;

      .featured-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.875rem;
        margin-bottom: 0.875rem;
      }

      h2 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
      }

      .article-meta {
        gap: 1rem;
        font-size: 0.85rem;

        .meta-item {
          i {
            margin-right: 0.375rem;
          }
        }
      }
    }

    .article-body {
      margin-bottom: 1.5rem;

      .article-content {
        font-size: 0.95rem;
        line-height: 1.7;

        h1, h2, h3, h4, h5, h6 {
          margin-top: 1.5rem;
          margin-bottom: 0.75rem;
        }

        p {
          margin-bottom: 1.25rem;
        }

        ul, ol {
          margin-bottom: 1.25rem;
          padding-left: 1.5rem;
        }

        pre {
          padding: 1.25rem;
          margin-bottom: 1.25rem;
          border-radius: 6px;
          overflow-x: auto;
        }
      }
    }

    .article-footer {
      padding-top: 1.5rem;

      .article-feedback {
        h4 {
          font-size: 1.15rem;
          margin-bottom: 0.875rem;
        }

        .feedback-thanks {
          font-size: 1rem;
        }

        .feedback-buttons {
          gap: 0.75rem;

          .btn {
            font-size: 0.9rem;
            padding: 0.625rem 1.25rem;
          }
        }
      }
    }
  }

  .loading-state,
  .empty-state {
    padding: 2.5rem 1.5rem;

    .spinner-border {
      width: 2.5rem;
      height: 2.5rem;
    }

    p {
      font-size: 1rem;
    }

    h4 {
      font-size: 1.35rem;
    }

    .empty-icon {
      font-size: 3.5rem;
      margin-bottom: 1.25rem;
    }
  }

  .error-state {
    padding: 2.5rem 1.5rem;

    i {
      font-size: 3.5rem;
      margin-bottom: 0.875rem;
    }

    h3 {
      font-size: 1.35rem;
      margin-bottom: 0.625rem;
    }

    p {
      font-size: 0.95rem;
    }
  }
}

// Mobile (up to 575px)
@media only screen and (max-width: 575.98px) {
  .support-hero {
    padding: 70px 0 40px;
    margin-top: 70px;

    // Minimal background on small mobile
    .hero-background {
      .floating-tech {
        i {
          font-size: 1.75rem;
        }

        &.tech-2 {
          display: none;
        }
      }

      .gradient-orb {
        filter: blur(25px);
        opacity: 0.12;

        &.orb-1 {
          width: 150px;
          height: 150px;
          top: -50px;
          left: -50px;
        }

        &.orb-2 {
          width: 120px;
          height: 120px;
          bottom: -40px;
          right: -40px;
        }
      }

      .grid-overlay {
        background-size: 25px 25px;
        opacity: 0.5;
      }
    }

    &__title {
      font-size: 1.75rem;
      margin-bottom: 0.875rem;
    }

    &__subtitle {
      font-size: 0.95rem;
      margin-bottom: 1.75rem;
    }

    &__features {
      margin-top: 1.75rem;

      .row {
        gap: 0.625rem !important;
      }

      .feature-item {
        padding: 0.875rem;

        &:hover {
          transform: translateY(-2px);
        }

        .feature-icon {
          width: 45px;
          height: 45px;
          font-size: 1.1rem;
          margin-bottom: 0.625rem;
        }

        h3 {
          font-size: 0.95rem;
          margin-bottom: 0.25rem;
        }

        p {
          font-size: 0.8rem;
          line-height: 1.4;
        }
      }
    }
  }

  .support-center-content {
    padding: 30px 0;
  }

  .support-tabs {
    &__nav {
      margin-bottom: 1.5rem;
      padding: 0.25rem;
      border-radius: 10px;

      li button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 6px;

        i {
          font-size: 1rem;
          margin-right: 0.35rem;
        }
      }

      li.active button {
        border-left-width: 3px;
      }
    }

    &__content {
      padding: 1.5rem 1rem;
      border-radius: 10px;

      &::before {
        height: 3px;
        border-radius: 10px 10px 0 0;
      }
    }
  }

  .form-header {
    margin-bottom: 1.75rem;
    padding-bottom: 0.875rem;
    border-bottom-width: 2px;

    &::after {
      height: 2px;
      width: 80px;
    }

    h2 {
      font-size: 1.35rem;
      margin-bottom: 0.5rem;
    }

    p {
      font-size: 0.9rem;
      line-height: 1.5;
    }
  }

  .create-ticket-form {
    .form-section-title {
      font-size: 1.05rem;
      margin-bottom: 1.25rem;
      padding: 0.4rem 0.625rem;
      border-left-width: 3px;

      &::before {
        width: 3px;
      }
    }

    .form-group {
      margin-bottom: 0.875rem;

      label {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        letter-spacing: 0.15px;
      }

      .form-control {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
        border-radius: 6px;
        border-width: 1.5px;

        &:focus {
          box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1), 0 1px 6px rgba(0, 0, 0, 0.08);
        }
      }

      select.form-control {
        background-position: right 0.875rem center;
        padding-right: 2.25rem;
      }

      textarea.form-control {
        min-height: 90px;
        line-height: 1.5;
      }
    }

    .btn {
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
      width: 100%;
      border-radius: 6px;
      letter-spacing: 0.4px;

      &:hover:not(:disabled) {
        transform: translateY(-1px);
      }
    }
  }

  .ticket-success {
    padding: 2rem 1rem;
    border-radius: 12px;

    .success-icon {
      font-size: 3.5rem;
      margin-bottom: 0.875rem;
    }

    h3 {
      font-size: 1.5rem;
      margin-bottom: 0.875rem;
    }

    .ticket-number {
      font-size: 1rem;
      padding: 0.875rem;
      margin-bottom: 1rem;
      border-radius: 10px;

      strong {
        font-size: 1.2rem;
        letter-spacing: 0.75px;
        margin-top: 0.4rem;
      }
    }

    .ticket-info {
      font-size: 0.9rem;
      line-height: 1.6;
      margin-bottom: 1.75rem;
    }

    .btn {
      padding: 0.75rem 1.75rem;
      font-size: 0.9rem;
    }
  }

  .ticket-status-check {
    .status-search-form {
      .search-input-group {
        gap: 0.625rem;

        .form-control {
          padding: 0.75rem 0.875rem;
          font-size: 0.85rem;
          border-radius: 6px;
        }

        .btn {
          padding: 0.75rem 1.25rem;
          font-size: 0.85rem;
          border-radius: 6px;
        }
      }
    }
  }

  .ticket-details {
    border-radius: 10px;

    .ticket-header {
      padding: 1rem;

      .ticket-number {
        font-size: 1rem;
        margin-bottom: 0.5rem;
      }

      .ticket-status-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        letter-spacing: 0.4px;
      }
    }

    .ticket-info {
      padding: 1rem;

      h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
      }

      h4 {
        font-size: 1.05rem;
        margin-top: 1.25rem;
        margin-bottom: 0.75rem;
      }
    }

    .ticket-meta {
      gap: 0.625rem;
      padding-bottom: 1.25rem;

      .meta-item {
        font-size: 0.8rem;
        width: 100%;

        i {
          margin-right: 0.35rem;
          font-size: 0.9rem;
        }

        strong {
          margin-right: 0.35rem;
        }

        .priority-badge {
          font-size: 0.8rem;
          padding: 0.2rem 0.625rem;
        }
      }
    }

    .ticket-description {
      p {
        font-size: 0.9rem;
        line-height: 1.6;
      }
    }
  }

  .ticket-messages {
    margin-top: 1.25rem;
    padding-top: 1.25rem;

    h4 {
      font-size: 1.05rem !important;
      margin-bottom: 0.75rem !important;
    }

    .messages-list {
      margin-top: 1rem;
      gap: 1rem;
    }

    .message-item {
      padding: 0.875rem;
      border-radius: 6px;
      border-left-width: 2px;

      .message-header {
        margin-bottom: 0.625rem;
        gap: 0.375rem;

        .message-author {
          font-size: 0.85rem;

          i {
            font-size: 1rem;
            margin-right: 0.35rem;
          }
        }

        .message-date {
          font-size: 0.8rem;
        }
      }

      .message-content {
        font-size: 0.85rem;
        line-height: 1.5;
      }
    }
  }

  .ticket-timeline {
    margin-top: 1.25rem;
    padding-top: 1.25rem;

    h4 {
      font-size: 1.05rem !important;
      margin-bottom: 0.75rem !important;
    }

    .timeline-list {
      margin-top: 1rem;
      padding-left: 1.25rem;

      &::before {
        left: 0.2rem;
        width: 1.5px;
      }
    }

    .timeline-item {
      margin-bottom: 1rem;

      .timeline-icon {
        left: -1.25rem;
        width: 16px;
        height: 16px;

        i {
          font-size: 0.5rem;
        }
      }

      .timeline-content {
        .timeline-description {
          font-size: 0.85rem;
          line-height: 1.5;
        }

        .timeline-date {
          font-size: 0.75rem;
        }
      }
    }
  }

  .knowledge-base {
    .kb-search-form {
      margin-bottom: 2rem;

      .search-input-group {
        .search-icon {
          left: 0.875rem;
          font-size: 1rem;
        }

        .form-control {
          padding: 0.75rem 2.75rem;
          font-size: 0.85rem;
          border-radius: 20px;
          border-width: 1.5px;
        }

        .clear-search {
          right: 0.875rem;
          font-size: 1rem;
          padding: 0.375rem;
        }
      }
    }

    .kb-categories {
      margin-bottom: 1.75rem;

      h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
      }

      .category-card {
        padding: 0.875rem;
        border-radius: 10px;
        border-left-width: 3px;

        .category-icon {
          font-size: 1.35rem;
          margin-bottom: 0.625rem;
        }

        .category-content {
          h4 {
            font-size: 1rem;
            margin-bottom: 0.35rem;
          }

          p {
            font-size: 0.8rem;
            margin-bottom: 0.625rem;
            line-height: 1.4;
          }

          .category-meta {
            .article-count {
              font-size: 0.8rem;
            }
          }
        }
      }
    }

    .kb-articles {
      .articles-header {
        margin-bottom: 1.25rem;

        .d-flex {
          flex-direction: column;
          align-items: flex-start !important;
          gap: 0.75rem;
        }

        h3 {
          font-size: 1.15rem;
          margin-bottom: 0.35rem;
        }

        .search-info {
          font-size: 0.85rem;
        }

        .btn-sm {
          font-size: 0.8rem;
          padding: 0.45rem 0.875rem;
          width: 100%;
          justify-content: center;
        }
      }

      .articles-list {
        gap: 1rem;
      }

      .article-item {
        padding: 1rem;
        border-radius: 8px;

        &:hover {
          transform: translateY(-1px);
        }

        .article-header {
          margin-bottom: 0.75rem;

          h4 {
            font-size: 1.05rem;
            line-height: 1.3;
          }

          .featured-badge {
            font-size: 0.75rem;
            padding: 0.3rem 0.75rem;
            margin-top: 0.5rem;

            i {
              font-size: 0.8rem;
            }
          }
        }

        .article-summary {
          font-size: 0.85rem;
          line-height: 1.5;
          margin-bottom: 0.75rem;
        }

        .article-meta {
          gap: 0.75rem;
          margin-bottom: 0.75rem;
          padding-bottom: 0.75rem;

          .article-category,
          .article-stats {
            font-size: 0.75rem;

            i {
              margin-right: 0.3rem;
              font-size: 0.8rem;
            }
          }
        }

        .article-read-more {
          font-size: 0.85rem;

          &:hover {
            transform: translateX(3px);
          }

          i {
            margin-left: 0.35rem;
            font-size: 0.85rem;
          }
        }
      }
    }
  }

  .kb-modal-overlay {
    padding: 0.5rem;
  }

  .kb-modal {
    max-height: 97vh;
    border-radius: 8px;

    .modal-close {
      top: 0.5rem;
      right: 0.5rem;
      width: 32px;
      height: 32px;
      font-size: 1rem;
    }

    .modal-content {
      padding: 1.25rem;
    }

    .article-header {
      margin-bottom: 1.25rem;

      .featured-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.75rem;
      }

      h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
      }

      .article-meta {
        gap: 0.875rem;
        font-size: 0.8rem;

        .meta-item {
          i {
            margin-right: 0.3rem;
            font-size: 0.85rem;
          }
        }
      }
    }

    .article-body {
      margin-bottom: 1.25rem;

      .article-content {
        font-size: 0.9rem;
        line-height: 1.6;

        h1 {
          font-size: 1.5rem;
        }

        h2 {
          font-size: 1.35rem;
        }

        h3 {
          font-size: 1.2rem;
        }

        h4 {
          font-size: 1.05rem;
        }

        h5, h6 {
          font-size: 0.95rem;
        }

        h1, h2, h3, h4, h5, h6 {
          margin-top: 1.25rem;
          margin-bottom: 0.625rem;
        }

        p {
          margin-bottom: 1rem;
        }

        ul, ol {
          margin-bottom: 1rem;
          padding-left: 1.25rem;

          li {
            margin-bottom: 0.375rem;
          }
        }

        code {
          padding: 0.15rem 0.4rem;
          border-radius: 3px;
          font-size: 0.85rem;
        }

        pre {
          padding: 1rem;
          margin-bottom: 1rem;
          border-radius: 6px;
          font-size: 0.8rem;
        }
      }
    }

    .article-footer {
      padding-top: 1.25rem;
      border-top-width: 1.5px;

      .article-feedback {
        h4 {
          font-size: 1.05rem;
          margin-bottom: 0.75rem;
        }

        .feedback-thanks {
          font-size: 0.95rem;

          i {
            margin-right: 0.35rem;
          }
        }

        .feedback-buttons {
          gap: 0.625rem;
          flex-direction: column;

          .btn {
            font-size: 0.85rem;
            padding: 0.55rem 1rem;
            width: 100%;
            justify-content: center;

            i {
              margin-right: 0.35rem;
            }
          }
        }
      }
    }
  }

  .loading-state,
  .empty-state {
    padding: 2rem 1rem;

    .spinner-border {
      width: 2.25rem;
      height: 2.25rem;
      border-width: 0.25rem;
    }

    p {
      font-size: 0.95rem;
      margin-top: 0.875rem;
    }

    h4 {
      font-size: 1.25rem;
      margin-bottom: 0.625rem;
    }

    .empty-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
  }

  .error-state {
    padding: 2rem 1rem;

    i {
      font-size: 3rem;
      margin-bottom: 0.75rem;
    }

    h3 {
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }

    p {
      font-size: 0.9rem;
    }
  }
}

// Extra small mobile (up to 424px)
@media only screen and (max-width: 424.98px) {
  .support-hero {
    padding: 60px 0 35px;
    margin-top: 65px;

    &__title {
      font-size: 1.5rem;
    }

    &__subtitle {
      font-size: 0.9rem;
    }

    &__features {
      margin-top: 1.5rem;

      .feature-item {
        padding: 0.75rem;

        .feature-icon {
          width: 40px;
          height: 40px;
          font-size: 1rem;
          margin-bottom: 0.5rem;
        }

        h3 {
          font-size: 0.9rem;
        }

        p {
          font-size: 0.75rem;
        }
      }
    }
  }

  .support-tabs {
    &__nav {
      li button {
        padding: 0.7rem 0.875rem;
        font-size: 0.85rem;

        i {
          font-size: 0.95rem;
        }
      }
    }

    &__content {
      padding: 1.25rem 0.875rem;
    }
  }

  .form-header {
    h2 {
      font-size: 1.25rem;
    }

    p {
      font-size: 0.85rem;
    }
  }

  .kb-modal {
    .article-header {
      h2 {
        font-size: 1.35rem;
      }
    }
  }
}

/* ==== 
|| --------- Enterprise Form Styles ---------
|| ==== */

// Enterprise Form Header
.form-header-enterprise {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;

  .form-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--enterprise-gold) 0%, #d4af37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);

    i {
      font-size: 2.5rem;
      color: #0f172a;
    }
  }

  h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
  }

  p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 1.5rem;
  }

  .info-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;

    i {
      font-size: 1.75rem;
      color: #6366f1;
    }

    div {
      text-align: left;
      flex: 1;

      strong {
        display: block;
        color: #1e293b;
        font-weight: 700;
        margin-bottom: 0.25rem;
        font-size: 1rem;
      }

      span {
        color: #64748b;
        font-size: 0.9rem;
      }
    }
  }
}

// Enterprise Alert
.alert-enterprise {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;

  i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
  }

  div {
    flex: 1;

    strong {
      display: block;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }

    p {
      margin: 0;
      opacity: 0.9;
    }
  }

  &.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;

    i {
      color: #dc2626;
    }
  }
}

// Enterprise Form Sections
.support-form-enterprise {
  .form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;

    &:hover {
      border-color: rgba(218, 165, 32, 0.3);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 2px solid #e2e8f0;

      i {
        font-size: 1.5rem;
        color: var(--enterprise-gold);
      }

      h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
      }
    }
  }

  .form-group-enterprise {
    margin-bottom: 1.5rem;

    .form-label-enterprise {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
      font-weight: 600;
      color: #1e293b;
      font-size: 0.95rem;

      .required-badge {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: #ffffff;
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.3px;
      }

      .optional-badge {
        background: #e2e8f0;
        color: #64748b;
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
      }

      .char-count {
        margin-left: auto;
        color: #94a3b8;
        font-size: 0.85rem;
        font-weight: 500;
      }
    }

    .input-with-icon,
    .select-with-icon {
      position: relative;

      i {
        position: absolute;
        left: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 1.1rem;
        pointer-events: none;
        z-index: 1;
      }
    }

    .form-control-enterprise {
      width: 100%;
      padding: 1rem 1.25rem 1rem 3.25rem;
      border: 2px solid #cbd5e1;
      border-radius: 12px;
      font-size: 1rem;
      color: #1e293b;
      background: #ffffff;
      transition: all 0.3s ease;
      font-family: inherit;

      &:hover {
        border-color: #94a3b8;
      }

      &:focus {
        outline: none;
        border-color: var(--enterprise-gold);
        box-shadow: 0 0 0 4px rgba(218, 165, 32, 0.1);
      }

      &::placeholder {
        color: #94a3b8;
      }

      &.error {
        border-color: #ef4444;
        
        &:focus {
          border-color: #ef4444;
          box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
        }
      }

      &.select-enterprise {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1.25rem center;
        padding-right: 3rem;
        cursor: pointer;
      }
    }

    .textarea-wrapper {
      position: relative;

      .textarea-enterprise {
        padding: 1.25rem;
        padding-left: 1.25rem !important;
        resize: vertical;
        min-height: 150px;
        line-height: 1.6;
      }

      .textarea-footer {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem;
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(251, 146, 60, 0.05) 100%);
        border-radius: 8px;
        color: #92400e;
        font-size: 0.85rem;

        i {
          color: #f59e0b;
        }
      }
    }

    .field-error {
      display: block;
      margin-top: 0.5rem;
      color: #ef4444;
      font-size: 0.85rem;
      font-weight: 500;
    }
  }
}

// Submit Section
.form-submit-section {
  text-align: center;
  margin-top: 3rem;

  .btn-submit-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--enterprise-gold) 0%, #d4af37 100%);
    color: #0f172a;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(218, 165, 32, 0.3);

    i {
      font-size: 1.2rem;
    }

    &:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(218, 165, 32, 0.4);
    }

    &:active:not(:disabled) {
      transform: translateY(0);
    }

    &:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

    .spinner-enterprise {
      width: 20px;
      height: 20px;
      border: 3px solid rgba(15, 23, 42, 0.2);
      border-top-color: #0f172a;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
  }

  .submit-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.95rem;

    i {
      color: var(--enterprise-gold);
    }

    strong {
      color: #1e293b;
    }
  }
}

// Enhanced Success State
.ticket-success {
  .ticket-number-container {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.08) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;

    .ticket-number-label {
      font-size: 0.9rem;
      color: #64748b;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 0.75rem;
    }

    .ticket-number-value {
      font-size: 2rem;
      font-weight: 800;
      font-family: 'Courier New', monospace;
      color: var(--enterprise-gold);
      letter-spacing: 1px;
      margin-bottom: 1rem;
    }

    .btn-copy-ticket {
      background: var(--enterprise-gold);
      color: #0f172a;
      border: none;
      padding: 0.5rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
      }
    }
  }

  .success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;

    .btn-outline {
      background: transparent;
      border: 2px solid var(--enterprise-gold);
      color: var(--enterprise-gold);
      padding: 1rem 2rem;
      border-radius: 10px;
      font-weight: 600;
      transition: all 0.3s ease;

      &:hover {
        background: var(--enterprise-gold);
        color: #0f172a;
        transform: translateY(-2px);
      }
    }
  }
}

/* ==== 
|| --------- Enterprise Status Check Styles ---------
|| ==== */

.status-header-enterprise {
  text-align: center;
  margin-bottom: 3rem;

  .status-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);

    i {
      font-size: 2.5rem;
      color: #ffffff;
    }
  }

  h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
  }

  p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
  }
}

.status-search-form-enterprise {
  margin-bottom: 2rem;

  .search-container {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;

    @media (max-width: 767px) {
      flex-direction: column;
    }

    .search-input-wrapper {
      position: relative;
      flex: 1;

      .search-icon {
        position: absolute;
        left: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 1.2rem;
        pointer-events: none;
      }

      .search-input-enterprise {
        width: 100%;
        padding: 1.25rem 3.5rem 1.25rem 3.5rem;
        border: 2px solid #cbd5e1;
        border-radius: 12px;
        font-size: 1.1rem;
        font-family: 'Courier New', monospace;
        font-weight: 600;
        color: #1e293b;
        background: #ffffff;
        transition: all 0.3s ease;

        &:hover {
          border-color: #94a3b8;
        }

        &:focus {
          outline: none;
          border-color: #6366f1;
          box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        &::placeholder {
          font-family: inherit;
          color: #94a3b8;
        }
      }

      .clear-btn {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        background: #e2e8f0;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;

        i {
          color: #64748b;
        }

        &:hover {
          background: #cbd5e1;
        }
      }
    }

    .btn-search-enterprise {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 1.25rem 2rem;
      background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
      color: #ffffff;
      border: none;
      border-radius: 12px;
      font-size: 1.1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;

      &:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
      }

      &:disabled {
        opacity: 0.7;
        cursor: not-allowed;
      }

      .spinner-enterprise {
        width: 18px;
        height: 18px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
      }
    }
  }

  .search-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.9rem;

    i {
      color: #6366f1;
    }
  }
}

// Ticket Details Enterprise
.ticket-details-enterprise {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

  .ticket-header-enterprise {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;

    .ticket-number-section {
      .ticket-label {
        display: block;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
      }

      .ticket-number-display {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-family: 'Courier New', monospace;
        font-size: 1.5rem;
        font-weight: 700;
        color: #ffffff;

        .btn-copy-inline {
          background: rgba(255, 255, 255, 0.1);
          border: 1px solid rgba(255, 255, 255, 0.2);
          color: #ffffff;
          padding: 0.5rem;
          border-radius: 8px;
          cursor: pointer;
          transition: all 0.2s ease;

          &:hover {
            background: rgba(255, 255, 255, 0.2);
          }
        }
      }
    }

    .status-badge-enterprise {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      color: #ffffff;
      font-weight: 700;
      font-size: 1rem;
      text-transform: capitalize;

      i {
        font-size: 1.1rem;
      }
    }
  }

  .ticket-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;

    .info-card {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid #e2e8f0;

      i {
        font-size: 1.75rem;
        color: var(--enterprise-gold);
      }

      div {
        flex: 1;

        .card-label {
          display: block;
          color: #64748b;
          font-size: 0.8rem;
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: 0.3px;
          margin-bottom: 0.25rem;
        }

        .card-value {
          display: block;
          color: #1e293b;
          font-size: 0.95rem;
          font-weight: 700;

          &.priority-value {
            font-weight: 800;
          }
        }
      }
    }
  }

  .ticket-content-section {
    padding: 2rem;

    .content-header {
      margin-bottom: 2rem;

      h3 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0.75rem;
      }

      .content-meta {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        color: #64748b;

        span {
          display: flex;
          align-items: center;
          gap: 0.5rem;

          i {
            color: var(--enterprise-gold);
          }
        }
      }
    }

    .description-section {
      margin-bottom: 2rem;
      padding: 1.5rem;
      background: #f8fafc;
      border-radius: 12px;
      border-left: 4px solid var(--enterprise-gold);

      h4 {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1rem;

        i {
          color: var(--enterprise-gold);
        }
      }

      p {
        color: #475569;
        line-height: 1.7;
        white-space: pre-wrap;
      }
    }
  }

  .messages-section-enterprise {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;

    h4 {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.25rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 1.5rem;

      i {
        color: #6366f1;
      }

      .count-badge {
        background: #6366f1;
        color: #ffffff;
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 700;
      }
    }

    .messages-list-enterprise {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      .message-card-enterprise {
        display: flex;
        gap: 1rem;
        padding: 1.25rem;
        background: #f8fafc;
        border-radius: 12px;
        border: 1px solid #e2e8f0;

        .message-avatar {
          width: 40px;
          height: 40px;
          background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;

          i {
            color: #ffffff;
            font-size: 1.1rem;
          }
        }

        .message-content-wrapper {
          flex: 1;

          .message-header-enterprise {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
            gap: 1rem;

            .message-author {
              font-weight: 700;
              color: #1e293b;
            }

            .message-time {
              color: #94a3b8;
              font-size: 0.85rem;
            }
          }

          .message-text {
            color: #475569;
            line-height: 1.6;
            white-space: pre-wrap;
          }
        }
      }
    }
  }

  .timeline-section-enterprise {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;

    h4 {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.25rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 1.5rem;

      i {
        color: var(--enterprise-gold);
      }
    }

    .timeline-items {
      position: relative;
      padding-left: 2rem;

      &::before {
        content: '';
        position: absolute;
        left: 0.375rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #e2e8f0;
      }

      .timeline-item-enterprise {
        position: relative;
        margin-bottom: 1.5rem;

        .timeline-marker {
          position: absolute;
          left: -2rem;
          top: 0;
          width: 20px;
          height: 20px;
          background: var(--enterprise-gold);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;

          i {
            color: #0f172a;
            font-size: 0.5rem;
          }
        }

        .timeline-content-wrapper {
          .timeline-text {
            color: #334155;
            font-weight: 600;
            margin-bottom: 0.25rem;
          }

          .timeline-time {
            color: #94a3b8;
            font-size: 0.85rem;
          }
        }

        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  .ticket-footer-enterprise {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    flex-wrap: wrap;

    .footer-info {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #64748b;
      font-size: 0.9rem;

      i {
        color: #10b981;
        font-size: 1.1rem;
      }
    }

    .btn-refresh {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      background: linear-gradient(135deg, var(--enterprise-gold) 0%, #d4af37 100%);
      color: #0f172a;
      border: none;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
      }

      i {
        font-size: 1.1rem;
      }
    }
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

// Responsive Enterprise Styles
@media only screen and (max-width: 991.98px) {
  .form-header-enterprise {
    .form-header-icon {
      width: 70px;
      height: 70px;

      i {
        font-size: 2rem;
      }
    }

    h2 {
      font-size: 2rem;
    }

    p {
      font-size: 1.05rem;
    }
  }

  .ticket-details-enterprise {
    .ticket-info-cards {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
  }
}

@media only screen and (max-width: 767.98px) {
  .form-header-enterprise {
    .form-header-icon {
      width: 60px;
      height: 60px;

      i {
        font-size: 1.75rem;
      }
    }

    h2 {
      font-size: 1.75rem;
    }

    p {
      font-size: 1rem;
    }

    .info-banner {
      flex-direction: column;
      text-align: center;

      div {
        text-align: center;
      }
    }
  }

  .status-header-enterprise {
    .status-header-icon {
      width: 60px;
      height: 60px;

      i {
        font-size: 1.75rem;
      }
    }

    h2 {
      font-size: 1.75rem;
    }

    p {
      font-size: 1rem;
    }
  }

  .support-form-enterprise {
    .form-section {
      padding: 1.5rem;
    }
  }

  .ticket-details-enterprise {
    .ticket-header-enterprise {
      flex-direction: column;
      align-items: flex-start;
      padding: 1.5rem;
    }

    .ticket-info-cards {
      grid-template-columns: 1fr;
      padding: 1rem;
    }

    .ticket-content-section {
      padding: 1.5rem;
    }

    .ticket-footer-enterprise {
      flex-direction: column;
      text-align: center;
      
      .btn-refresh {
        width: 100%;
        justify-content: center;
      }
    }
  }
}

