/* Header Gradient */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0d1e52 100%);
}

/* Alphabet Filter */
.alphabet-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.5rem;
}

.alphabet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #676C7B;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    min-height: 50px;
}

.alphabet-btn:hover:not(.disabled) {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.alphabet-btn.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.alphabet-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f8f9fa;
}

/* Company Cards */
.company-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), #0d1e52);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-logo-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.company-name a {
    transition: color 0.2s ease;
}

.company-name a:hover {
    color: var(--bs-primary) !important;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
}

.empty-state-icon i {
    font-size: 6rem;
    color: #dee2e6;
}

/* Info Icon */
.info-icon i {
    font-size: 4rem;
}

/* Letter Headers */
.letter-header {
    width: 100%;
}

.letter-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0d1e52 100%);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.letter-line {
    flex-grow: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, transparent 100%);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .alphabet-buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 0.35rem;
    }

    .alphabet-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .company-logo-wrapper {
        width: 60px;
        height: 60px;
    }

    .company-name {
        font-size: 1rem;
    }

    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-state-icon i {
        font-size: 4rem;
    }

    .info-icon i {
        font-size: 3rem;
    }

    .letter-badge {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

/* Smooth Animations */
* {
    scroll-behavior: smooth;
}
