/* Custom CSS for AGROSYS OJS 4.1 */

/* 1. Pengaturan Warna Utama & Font */
:root {
    --primary-green: #1b5e20; /* Hijau Tua Elegan */
    --accent-green: #4caf50;
    --light-gray: #f8f9fa;
    --border-radius: 8px;
}

/* 2. Styling Sidebar Card agar Modern */
.pkp_structure_sidebar .pkp_block {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.pkp_structure_sidebar .pkp_block:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Judul Block Sidebar */
.pkp_structure_sidebar .pkp_block .title {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* 3. Tombol Aksi (Submit, Template, dll) */
.agrosys-btn {
    display: block;
    background-color: var(--primary-green);
    color: #fff !important;
    text-align: center;
    padding: 12px;
    margin: 10px 0;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.agrosys-btn:hover {
    background-color: #2e7d32;
    text-decoration: none;
}

/* 4. Styling Teks Body Sidebar */
.pkp_block .content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

/* 5. Responsive Adjustment */
@media (max-width: 767px) {
    .pkp_structure_sidebar {
        margin-top: 30px;
    }
}
