/*
 * Default OJS Theme Stylesheet
 * Enhanced and Optimized
 */

/* General Body Styles */
body {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    background: #f4f8fa; /* Soft background color */
    margin: 0;
    padding: 0;
}

body p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.pkp_block {
    font-size: 14px;
    line-height: 1.6;
    clear: both;
    border-bottom: 1.5px solid #ddd;
    padding: 10px 0;
}

/* Header */
.pkp_structure_head {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
}

.pkp_site_name .is_img img {
    display: inline-block;
    max-height: 180px;
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Navigation */
.pkp_navigation_primary_row {
    background-color: #e8f1f8; /* Soft navigation color */
    padding: 4px 6px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#navigationPrimary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#navigationPrimary li {
    margin: 0 15px;
}

#navigationPrimary a {
    font-size: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    text-transform: capitalize;
    padding: 1px 1px;
    transition: color 0.3s, background-color 0.3s;
}

#navigationPrimary a:hover {
    background-color: #d9ecf8;
    color: #0056b3;
    border-radius: 5px;
}

/* Sidebar Menu */
.pkp_structure_sidebar {
    background: #f4f8fa;
    padding: 15px;
    border-left: 1px solid #ddd;
}

.pkp_structure_sidebar .pkp_block .title {
    color: #333;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid #ff8000;
    padding-bottom: 5px;
}

.pkp_structure_sidebar .pkp_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_structure_sidebar .pkp_block ul li {
    margin: 5px 0;
    background-color: #e8f1f8;
    border: 1px solid #d1e7f1;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.pkp_structure_sidebar .pkp_block ul li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    font-weight: bold;
    text-align: center;
    transition: color 0.3s, background-color 0.3s;
}

.pkp_structure_sidebar .pkp_block ul li:hover {
    background-color: #d9ecf8;
    border-color: #b3d8e9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pkp_structure_sidebar .pkp_block ul li a:hover {
    color: #0056b3;
}

/* Footer */
.pkp_footer_content {
    background: #f4f8fa;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.pkp_brand_footer {
    background: #e6e6e6;
    padding: 10px 0;
}

/* Typography */
.pkp_structure_main h1 {
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #333300;
}

/* Buttons */
button, .obj_galley_link {
    font-weight: 700;
    text-transform: capitalize;
    background: #0f10e1;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, .obj_galley_link:hover {
    background: #0056b3;
}

/* Table Styles */
.hoverTable {
    width: 100%;
    border-collapse: collapse;
}

.hoverTable th {
    height: 30px;
    background: #ffffff;
    color: #105183;
    text-align: left;
    padding: 10px;
}

.hoverTable td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.hoverTable tr:hover {
    background-color: #f4f8fa;
}

/* Search and Breadcrumbs */
.pkp_head_wrapper .pkp_search .search_controls .search_prompt {
    font-size: 13.5px;
    color: #333;
    font-weight: 400;
}

.cmp_breadcrumbs {
    font-size: 12px;
    text-transform: capitalize;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .pkp_navigation_primary_row {
        flex-direction: column;
        padding: 10px;
    }

    #navigationPrimary {
        flex-direction: column;
        align-items: flex-start;
    }

    #navigationPrimary li {
        margin: 5px 0;
    }

    .pkp_structure_sidebar {
        padding: 10px;
    }

    .pkp_structure_sidebar .pkp_block ul li {
        padding: 5px;
    }
}
