/*css/pubstyle.css*/
body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: 14px; /* Reduced from default 16px */
}
h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    font-size: 24px; /* Reduced from default 32px */
}
h2 {
    color: #2980b9;
    margin-top: 25px;
    font-size: 18px; /* Reduced from default 24px */
}
ul {
    padding-left: 20px;
}
li {
    margin-bottom: 8px;
}
p {
    margin-bottom: 12px;
}

.panel-group .results-panel{
    margin-top: 30px;
}

/* Card layout styles */
.results-card-container {
    display: none;
}

.publication-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.publication-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #2c3e50;
}

.publication-card .card-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.publication-card .card-meta strong {
    color: #333;
}

.publication-card .card-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.publication-card .card-actions a {
    display: inline-block;
    margin-right: 15px;
    padding: 6px 12px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.publication-card .card-actions a:hover {
    background: #2980b9;
}

.no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #viewToggle {
        display: none !important; /* Hide toggle on mobile - always cards */
    }
    
    #advsearchform .form-group {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    #advsearchform .form-control {
        width: 100% !important;
        max-width: 100%;
    }
    
    #resultsControls .col-sm-6 {
        width: 100%;
        text-align: left !important;
        margin-bottom: 10px;
    }
    
    #sortField {
        width: 100% !important;
    }
}