        .search-form {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .form-label {
            font-weight: 600;
            color: #495057;
        }
        
        .loading {
            text-align: center;
            padding: 20px;
        }
        
        .spinner-border {
            width: 3rem;
            height: 3rem;
        }
        
        .btn-search {
            background: linear-gradient(45deg, #007bff, #0056b3);
            border: none;
            padding: 12px 30px;
            font-weight: 600;
        }
        
        .btn-search:hover {
            background: linear-gradient(45deg, #0056b3, #004085);
        }
        
        .card {
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            border: 1px solid rgba(0, 0, 0, 0.125);
        }
        
        .card-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white !important;
            font-weight: 600;
        }
        
        .top-container {
        }
        
        .stock-item {
            background: #fff;
            border: 1px solid #e3e6f0;
            border-radius: 8px;
            margin-bottom: 15px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .stock-item:hover {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            transform: translateY(-2px);
        }
        
        .stock-rank {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            font-weight: bold;
            font-size: 16px;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .stock-rank.top-3 {
            background: linear-gradient(45deg, #dc3545, #c82333);
            color: white;
        }
        
        .stock-rank.top-10 {
            background: linear-gradient(45deg, #007bff, #0056b3);
            color: white;
        }
        
        .stock-rank.normal {
            background: #6c757d;
            color: white;
        }
        
        .stock-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .stock-info {
            display: flex;
            align-items: center;
            flex: 1;
        }
        
        .stock-name-code {
            display: flex;
            flex-direction: column;
        }
        
        .stock-name {
            font-size: 1.3rem;
            font-weight: bold;
            color: #2c3e50;
            margin: 0 0 5px 0;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .stock-name:hover {
            color: #007bff;
            text-decoration: underline;
        }
        
        .stock-code {
            font-size: 1rem;
            color: #7f8c8d;
            font-family: 'Courier New', monospace;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .stock-code:hover {
            color: #007bff;
            text-decoration: underline;
        }
        
        .market-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #e74c3c;
            text-align: right;
        }
        
        .market-value-label {
            font-size: 0.8rem;
            color: #95a5a6;
            display: block;
        }
        
        .stock-details {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            align-items: center;
        }
        
        .detail-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 120px;
        }
        
        .detail-label {
            font-size: 0.8rem;
            color: #7f8c8d;
            margin-bottom: 5px;
            font-weight: 600;
        }
        
        .detail-value {
            font-size: 0.95rem;
            color: #2c3e50;
            font-weight: 500;
        }
                .stock-item.selected {
            border-color: #007bff;
            background-color: #f8f9ff;
        }
        
        .stock-item.hovered {
            cursor: pointer;
        }
        
        .industry-badge, .market-badge, .area-badge {
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .industry-badge:hover, .market-badge:hover, .area-badge:hover {
            background: linear-gradient(45deg, #2980b9, #1f5582);
            color: white;
            text-decoration: none;
            transform: scale(1.05);
        }
        
        .market-badge {
            background: linear-gradient(45deg, #fa7171, #fa7160);
        }
        
        .market-badge:hover {
            background: linear-gradient(45deg, #fa7160, #fa7160);
        }
        
        .area-badge {
            background: linear-gradient(45deg, #9b59b6, #8e44ad);
        }
        
        .area-badge:hover {
            background: linear-gradient(45deg, #8e44ad, #7d3c98);
        }
        
        .results-header {
            background: #f8f9fa;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .results-count {
            font-weight: 600;
            color: #495057;
        }
        
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
        .load-more-btn {
            background: linear-gradient(45deg, #6c757d, #495057);
            border: none;
            color: white;
            padding: 10px 30px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .load-more-btn:hover {
            background: linear-gradient(45deg, #495057, #343a40);
        }
        .rowcent {
                max-width: 780px;
                margin:0 auto;
        }
        .no-border {
  border: none !important;
}
        @media (max-width: 768px) {
            .stock-details {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
                margin-top: 10px;
            }
            
            .detail-item {
                min-width: auto;
                background: #f8f9fa;
                border: 1px solid #e9ecef;
                border-radius: 6px;
                padding: 8px 10px;
                text-align: center;
            }
            
            .detail-label {
                font-size: 0.7rem;
                margin-bottom: 3px;
                color: #6c757d;
            }
            
            .detail-value {
                font-size: 0.8rem;
                font-weight: 600;
            }
            
            .industry-badge, .market-badge {
                padding: 2px 6px;
                font-size: 0.7rem;
                border-radius: 10px;
            }
            
            .stock-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .market-value {
                text-align: left;
                font-size: 1.3rem;
            }
            
            .stock-item {
                padding: 15px;
                margin-bottom: 10px;
            }
            
            .stock-rank {
                width: 35px;
                height: 35px;
                font-size: 12px;
            }
        }