/* --- 1. GLOBAL BACKGROUND --- */
body {
    background-color: #eef2f1 !important; 
    font-family: 'Segoe UI', Roboto, sans-serif !important;
}

/* --- 2. HEADER STYLING (Dark Green Theme) --- */
#headerNavigationContainer {
    background: #104e3b !important; /* Header color same as Footer */
    border-bottom: 4px solid #f39c12; /* Golden accent line */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 15px 0 !important;
}

/* Journal Name Alignment */
.site-name a {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 24px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

/* Login & Registration (Golden Color) */
#navigationUser li a {
    color: #f39c12 !important; /* Golden color for Login/Register */
    font-weight: bold !important;
    text-transform: uppercase;
    font-size: 14px;
    padding: 5px 15px !important;
}

#navigationUser li a:hover {
    color: #ffffff !important;
}

/* --- 3. MAIN NAVIGATION --- */
#main-navigation > li > a {
    color: #ffffff !important;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#main-navigation > li > a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    border-radius: 4px;
}

/* ABOUT DROPDOWN BOX FIX */
.dropdown-menu {
    background-color: #ffffff !important;
    border-top: 3px solid #f39c12 !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    padding: 0 !important;
    border-radius: 0 0 5px 5px !important;
}

.dropdown-menu > li > a {
    color: #333 !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #eee !important;
}

.dropdown-menu > li > a:hover {
    background-color: #104e3b !important;
    color: #ffffff !important;
}

/* --- 4. CONTENT BOXES --- */
.journal-description, .additional_content, .cmp_announcements {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee !important;
    line-height: 1.8;
}

/* --- 5. SIDEBAR STYLING --- */
.pkp_structure_sidebar .pkp_block {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #104e3b; /* Green accent on sidebar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pkp_block .title {
    font-size: 18px;
    color: #104e3b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* SUBMISSION BUTTON */
.block_make_submission_link {
    background: #104e3b !important;
    color: white !important;
    text-align: center;
    border-radius: 5px !important;
    padding: 12px 20px !important;
    font-weight: bold;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* --- 6. SEARCH BAR --- */
.navbar-form .form-control {
    border-radius: 20px;
}

.navbar-form .btn-default {
    background: #f39c12 !important; /* Golden search button */
    color: white !important;
    border-radius: 20px;
    border: none;
}

/* --- 7. FOOTER STYLING (Same Green as Header) --- */
.footer {
    background-color: #104e3b !important;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 4px solid #f39c12;
}

.footer a {
    color: #f39c12 !important;
}
/* --- MOBILE FRIENDLY RESPONSIVE DESIGN --- */
@media only screen and (max-width: 767px) {
    /* 1. Header ko adjust karna */
    #headerNavigationContainer .container-fluid {
        display: block !important; /* Flex hata kar mobile par block layout */
        text-align: center;
        padding: 10px !important;
    }

    /* 2. Journal Name mobile par chota aur center */
    .site-name a {
        font-size: 18px !important;
        display: block;
        margin-bottom: 10px;
        white-space: normal !important; /* Name mobile screen par wrap ho sakay */
    }

    /* 3. Login/Register ko mobile par set karna */
    #navigationUser {
        float: none !important;
        justify-content: center !important;
        margin-bottom: 15px !important;
    }

    #navigationUser li a {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }

    /* 4. Main Navigation Menu mobile par vertical */
    #nav-menu {
        margin-top: 5px !important;
    }

    #main-navigation {
        display: block !important; /* Menu items ek ke neechay ek ayen gay */
        padding: 0 !important;
    }

    #main-navigation > li > a {
        padding: 10px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }

    /* 5. Content aur Sidebar mobile par full width */
    .pkp_structure_main, .pkp_structure_sidebar {
        width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
    }

    /* 6. Submission Button mobile par bada */
    .block_make_submission_link {
        width: 100% !important;
        margin: 10px 0;
    }

    /* 7. Search box mobile par full width */
    .navbar-form {
        padding: 0 15px !important;
    }
    
    .navbar-form .form-control {
        width: 70% !important;
        display: inline-block;
    }
}
