/* Geist Sans Font Family */
@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Sans';
    src: url('../webfonts/Geist-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* Custom styles for EmBird */

:root {
    font-family: "Geist Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Geist Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.footer {
    margin-top: auto;
}

/* Card hover effect */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Table hover effect */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* News item styles */
.news-item {
    border-left: 3px solid #007bff;
    padding-left: 15px;
    margin-bottom: 20px;
}

.news-item:hover {
    border-left-color: #0056b3;
}

/* Custom badges */
.badge-hit-count {
    background-color: #6c757d;
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Search results highlighting */
.search-highlight {
    background-color: rgba(255, 193, 7, 0.3);
    padding: 0 2px;
    border-radius: 2px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    
    /* Stack buttons on mobile */
    .btn-group-responsive {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group-responsive .btn {
        margin-bottom: 0.5rem;
    }
}

/* Custom navbar active state */
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

/* Dashboard stats */
.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #6c757d;
}
