/**
 * Mantri Tani - Halaman publik
 */

.page-mantri-tani .mantri-main {
    padding: 1.5rem 1rem 3rem;
}

.mantri-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 4vw, 1.5rem);
}

.mantri-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.mantri-breadcrumb a {
    color: #1e40af;
    text-decoration: none;
}

.mantri-breadcrumb a:hover {
    text-decoration: underline;
}

.mantri-breadcrumb .sep {
    margin: 0 0.35rem;
}

.mantri-hero {
    margin-bottom: 1.5rem;
}

.mantri-title {
    font-size: 1.75rem;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mantri-title i {
    color: #2d5016;
}

.mantri-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.mantri-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.mantri-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #2d5016;
}

.mantri-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: rgba(45, 80, 22, 0.1);
    color: #2d5016;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.mantri-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.mantri-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.mantri-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.mantri-section-title {
    font-size: 1.1rem;
    color: #2d5016;
    margin: 0 0 1rem 0;
}

.mantri-section-title i {
    margin-right: 0.5rem;
    width: 1em;
}

.mantri-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.mantri-table-wrap {
    overflow-x: auto;
}

.mantri-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.mantri-table th,
.mantri-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.mantri-table th {
    background: #f8fafc;
    color: #2d5016;
    font-weight: 600;
}

.mantri-muted {
    color: #64748b;
    font-size: 0.85em;
}

.mantri-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: #dcfce7;
    color: #166534;
    border-radius: 6px;
}

.mantri-badge-sm {
    font-size: 0.7rem;
    margin-right: 0.5rem;
}

.mantri-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mantri-info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.mantri-info-item:last-child {
    border-bottom: none;
}

.mantri-info-item .mantri-date {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: 0.5rem;
}

.mantri-info-desc {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.mantri-back {
    margin-top: 1.5rem;
}

.mantri-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d5016;
    font-weight: 500;
    text-decoration: none;
}

.mantri-btn-back:hover {
    text-decoration: underline;
    color: #1a3009;
}
