/* Report Page Specific Styles */

/* Category Filter Bar Enhancements */
.category-filter-bar {
    background: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .filter-tabs {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 0 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .filter-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .filter-tab:hover,
  .filter-tab.active {
    color: white;
    border-bottom-color: var(--secondary-color);
  }
  
  .filter-tab .badge {
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 12px;
    font-weight: bold;
    min-width: 22px;
    text-align: center;
  }
  
  .filter-tab.active .badge {
    background: var(--secondary-color);
    color: var(--primary-color);
  }
  
  /* Search and Filter Section */
  .search-filter-section {
    background: var(--card-bg);
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .search-box .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .search-box .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    background: white;
  }
  
  .search-box .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
  }
  
  .btn-search {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 15px 25px;
    transition: all 0.3s ease;
  }
  
  .btn-search:hover {
    background: var(--primary-dark);
    color: white;
  }
  
  .btn-filter,
  .btn-export {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
  }
  
  .btn-filter:hover,
  .btn-export:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(187, 138, 9, 0.3);
  }
  
  /* Reports Table Section */
  .reports-table-section {
    padding: 40px 0 80px;
    background: var(--bg-color);
  }
  
  .table-container {
    position: relative;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
  }
  
  .reports-table {
    margin: 0;
    border: none;
    background: transparent;
  }
  
  .reports-table thead,
  .reports-table thead>tr {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark))!important;
  }
  
  .reports-table thead th {
    padding: 25px 20px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    border: none;
    /* color: white; */
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    background: unset;
  }
  
  .reports-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    /* background: var(--card-bg); */
    background: #fff;
  }
  
  .reports-table tbody tr:hover {
    /* background: rgba(187, 138, 9, 0.05); */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .reports-table tbody tr:last-child {
    border-bottom: none;
  }
  
  .reports-table tbody td {
    padding: 25px 20px;
    vertical-align: middle;
    border: none;
    font-size: 15px;
    text-align: center;
    position: relative;
  }
  
  /* Stock Code Column */
  .stock-code {
    text-align: left !important;
    min-width: 140px;
  }
  
  .code-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    margin-right: 10px;
  }
  
  .info-icon {
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
  }
  
  .info-icon:hover {
    color: var(--primary-dark);
    transform: scale(1.2);
  }
  
  /* Stock Title Column */
  .stock-title {
    text-align: left !important;
    max-width: 250px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
  }
  
  /* Blurred Cells */
  .blurred-cell {
    filter: blur(3px);
    -webkit-filter: blur(3px);
    opacity: 0.7;
    user-select: none;
    pointer-events: none;
  }
  
  .recommendation {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
  }
  
  .recommendation.positive {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
  }
  
  .recommendation.negative {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
  }
  
  .change-value {
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
  }
  
  .change-value.positive {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
  }
  
  .change-value.negative {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
  }
  
  /* Single Unlock Overlay */
  .unlock-overlay {
    position: absolute;
    top: 75px;
    left: 500px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    /* border-radius: 15px; */
  }
  
  .unlock-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
  }
  
  .unlock-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .lock-icon {
    color: var(--secondary-color);
    font-size: 48px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
  }
  
  .unlock-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .unlock-overlay:hover .lock-icon {
    transform: scale(1.2);
    animation: shake 0.6s ease-in-out;
  }
  
  .unlock-overlay:hover .lock-icon::before {
    content: "\f09c"; /* fa-unlock */
  }
  
  @keyframes shake {
    0%,
    100% {
      transform: translateX(0) scale(1.2);
    }
    25% {
      transform: translateX(-3px) scale(1.2);
    }
    75% {
      transform: translateX(3px) scale(1.2);
    }
  }
  
  /* Upgrade Modal */
  .upgrade-modal {
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .upgrade-modal .modal-header {
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
    padding: 25px 35px;
  }
  
  .upgrade-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .upgrade-logo {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .upgrade-logo img {
    height: 45px;
    width: auto;
  }
  
  .upgrade-logo h4 {
    margin: 0;
    font-weight: bold;
    color: white;
    font-size: 24px;
  }
  
  .upgrade-modal .btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    opacity: 0.8;
    transition: all 0.3s ease;
  }
  
  .upgrade-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
  }
  
  .upgrade-modal .modal-body {
    padding: 35px;
    background: var(--bg-color);
  }
  
  .upgrade-intro {
    text-align: center;
    margin-bottom: 35px;
  }
  
  .upgrade-intro h5 {
    font-size: 20px;
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
  }
  
  .free-badge {
    background: #6c757d;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .lite-badge {
    background: #007bff;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .demo-video {
    margin-bottom: 25px;
  }
  
  .video-placeholder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #2d2d2d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .btn-play,
  .btn-fullscreen,
  .btn-volume {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
  }
  
  .btn-play:hover,
  .btn-fullscreen:hover,
  .btn-volume:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
  }
  
  .video-caption {
    margin-top: 20px;
    font-size: 15px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .pricing-comparison {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
  }
  
  .pricing-plan {
    flex: 1;
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
  }
  
  .lite-plan {
    border-color: var(--text-color);
  }
  
  .pro-plan {
    border-color: var(--primary-color);
  }
  
  .plan-header {
    margin-bottom: 25px;
    text-align: center;
  }
  
  .plan-header h6 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
  }
  
  .plan-badge {
    background: #007bff;
    color: var(--text-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .upgrade-badge {
    background: #28a745;
  }
  
  .plan-features {
    space-y: 15px;
  }
  
  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .feature-item i {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 16px;
  }
  
  .feature-item span {
    color: var(--text-color);
  }
  
  .upgrade-info {
    text-align: center;
    margin-top: 25px;
  }
  
  .upgrade-info p {
    margin: 0;
    font-size: 15px;
    color: #aaa;
  }
  
  .upgrade-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .upgrade-link:hover {
    color: #0056b3;
    text-decoration: underline;
  }
  
  .upgrade-modal .modal-footer {
    background: var(--bg-color);
    border-top: none;
    padding: 0 25px 35px;
    text-align: center;
}
  
  .btn-upgrade {
    /* background: linear-gradient(135deg, #007bff, #0056b3); */
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  }
  
  .btn-upgrade:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.5);
  }
  
  /* Responsive Design */
  @media (max-width: 991px) {
    .reports-table-section {
      padding: 30px 0 50px;
    }
  
    .reports-table {
      font-size: 13px;
    }
  
    .reports-table thead th,
    .reports-table tbody td {
      padding: 15px 12px;
    }
  
    .stock-title {
      max-width: 180px;
    }
  
    .code-badge {
      font-size: 12px;
      padding: 6px 12px;
    }
  
    .lock-icon {
      font-size: 36px;
    }
  
    .unlock-text {
      font-size: 16px;
    }
  }
  
  @media (max-width: 768px) {
    .category-filter-bar .filter-tabs {
      gap: 20px;
      padding: 0 15px;
    }
  
    .category-filter-bar .filter-tab {
      font-size: 14px;
      flex-direction: column;
      gap: 5px;
    }
  
    .search-filter-section .row > div {
      margin-bottom: 15px;
    }
  
    .reports-table {
      font-size: 12px;
    }
  
    .reports-table thead th,
    .reports-table tbody td {
      padding: 12px 8px;
    }
  
    .stock-code {
      min-width: 100px;
    }
  
    .stock-title {
      max-width: 150px;
    }
  
    .lock-icon {
      font-size: 32px;
      margin-bottom: 10px;
    }
  
    .unlock-text {
      font-size: 14px;
    }
  
    .pricing-comparison {
      flex-direction: column;
      gap: 20px;
    }
  
    .upgrade-modal .modal-body {
      padding: 25px;
    }
  }
  
  @media (max-width: 576px) {
    .reports-table-section {
      padding: 20px 0 40px;
    }
  
    .table-responsive {
      border-radius: 10px;
    }
  
    .reports-table {
      font-size: 11px;
    }
  
    .reports-table thead th,
    .reports-table tbody td {
      padding: 10px 6px;
    }
  
    .code-badge {
      font-size: 11px;
      padding: 5px 10px;
    }
  
    .recommendation,
    .change-value {
      padding: 5px 10px;
      font-size: 11px;
    }
  
    .lock-icon {
      font-size: 28px;
      margin-bottom: 8px;
    }
  
    .unlock-text {
      font-size: 12px;
    }
  
    .upgrade-modal .modal-dialog {
      margin: 10px;
    }
  
    .upgrade-modal .modal-header,
    .upgrade-modal .modal-footer {
      padding: 20px 25px;
    }
  
    .upgrade-modal .modal-body {
      padding: 20px;
    }
  
    .btn-upgrade {
      padding: 15px 35px;
      font-size: 16px;
    }
  }
  
  /* Animation for table rows */
  @keyframes fadeInRow {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .reports-table tbody tr {
    animation: fadeInRow 0.6s ease-out;
  }
  
  .reports-table tbody tr:nth-child(1) {
    animation-delay: 0.1s;
  }
  .reports-table tbody tr:nth-child(2) {
    animation-delay: 0.2s;
  }
  .reports-table tbody tr:nth-child(3) {
    animation-delay: 0.3s;
  }
  .reports-table tbody tr:nth-child(4) {
    animation-delay: 0.4s;
  }
  .reports-table tbody tr:nth-child(5) {
    animation-delay: 0.5s;
  }
  .reports-table tbody tr:nth-child(6) {
    animation-delay: 0.6s;
  }
  .reports-table tbody tr:nth-child(7) {
    animation-delay: 0.7s;
  }
  .reports-table tbody tr:nth-child(8) {
    animation-delay: 0.8s;
  }
  
  /* Pulse animation for badges */
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .badge.pulse {
    animation: pulse 1s ease-in-out;
  }
  