
/* Primary accent color */
.search-button,
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.search-button:hover,
.btn-primary:hover {
    background-color: transparent;
    border-color: #0d6efd;
    color: #0d6efd;
}

.search-button:active,
.btn-primary:active {
    background-color: #0c63e4;
    border-color: #0c63e4;
    color: white;
}

/* Form Elements */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px #0d6efd1A; /* 10% opacity */
}

/* Search Form */
.search-input:focus {
    border-color: #0d6efd;
}

.search-button {
    background-color: #0d6efd;
    border: 2px solid #0d6efd;
}

.search-button:hover {
    background-color: transparent;
    border-color: #0d6efd;
    color: #0d6efd;
}

.search-button:active {
    background-color: #0c63e4;
    border-color: #0c63e4;
}

/* Results Heading */
.results-heading span {
    color: #0d6efd !important;
    font-weight: 600;
}

/* Result Card */
.result-card:hover {
    border-color: #0d6efd;
}

/* Inline Citations */
.citation-link {
    color: #0d6efd;
    border-color: #0d6efd;
}

.citation-link:hover {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
}

/* Citations */
.citation-pill:hover {
    border-color: #0d6efd;
}

.citation-number {
    color: #0d6efd;
}

/* Admin Tabs */
.nav-tabs .nav-link:hover {
    color: #0d6efd;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #0d6efd;
    color: #0d6efd;
}

/* Navbar */
.navbar-brand {
    color: #0d6efd;
}

/* Links */
a {
    color: #0d6efd;
}

a:hover {
    color: #0c63e4;
}

/* Outline buttons */
.btn-outline-primary {
    background-color: transparent;
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.btn-outline-primary:active {
    background-color: #0c63e4;
    border-color: #0c63e4;
    color: white;
}

/* Search container gradient */
.search-container {
    position: relative;
}

.search-container::before {
    display: none;
}

/* Result Actions */
.result-action-btn:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* PDF Result */
.pdf-title:hover {
    color: #0d6efd;
}

.pdf-thumbnail:hover {
    border-color: #0d6efd;
}

/* Share Options */
.share-option:hover {
    color: #0d6efd;
}

.share-option:hover i {
    color: #0d6efd;
}

/* Share button */
.share-button {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1.5px solid #0d6efd !important;
    color: #0d6efd !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
}

.share-button:hover {
    background-color: #0d6efd !important;
    color: white !important;
}

.share-button svg {
    width: 16px;
    height: 16px;
}

/* Mobile styles for results heading and share button */
@media (max-width: 768px) {
    .results-heading {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }

    .share-button {
        padding: 0.375rem 0.75rem;
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .d-flex.justify-content-between.align-items-start.mb-4 {
        flex-direction: column;
        gap: 1rem;
    }

    .results-heading {
        margin-bottom: 0;
    }

    .share-button {
        align-self: flex-start;
    }
}
?> 