/* Combined stylesheet for all paper pages */

body {
    background-color: #2c3034;
    color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

.paper-header {
    background: linear-gradient(rgba(20, 30, 48, 0.9), rgba(36, 59, 85, 0.95));
    padding: 6rem 0;
    color: #f8f9fa;
    border-bottom: 5px solid #005cff;
    animation: fadeIn 1s ease-in-out;
}

.paper-content {
    background-color: #212529;
    padding: 3rem;
    border-radius: 15px;
    margin-top: -4rem; /* Pulls content up over the header's bottom edge */
    position: relative;
    z-index: 10;
}

.paper-content h2, .paper-content h3 {
    color: #005cff;
}

.abstract-text {
    line-height: 1.8;
    text-align: justify;
}

.authors {
    font-style: italic;
    color: #ced4da;
    font-size: 0.95rem;
}

.publication-info, .dataset-access-box {
    background-color: #2c3e50;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #005cff;
    transition: all 0.3s ease;
}

.publication-info:hover, .dataset-access-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.keywords-section {
    margin-top: 2rem;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.keyword-tag {
    background-color: #34495e;
    color: #ecf0f1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.keyword-tag:hover {
    background-color: #005cff;
    color: #fff;
    transform: translateY(-2px);
}

/* Page-specific styles */

/* Styles for HemoricaDataset page */
.dataset-section {
    background-color: rgba(44, 62, 80, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #34495e;
}

/* Styles for Hyperparameter Tuning page */
.visual-abstract img {
    border: 3px solid #34495e;
    transition: border-color 0.3s ease;
}

.visual-abstract img:hover {
    border-color: #005cff;
}

/* Animation styles */
.fade-in-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}