/* ==========================================================================
   Weed Control Page Styles
   Location: /public/assets/css/pages/weed-control.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section 1: Pre vs Post Emergence (Grid layout)
   -------------------------------------------------------------------------- */
.nutrients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.nutrient-box {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nutrient-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.nutrient-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nutrient-box p {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Themes for Section 1 */
.box-soil-doctor { border-left: 5px solid #2563eb; }
.box-soil-doctor h3.text-blue { color: #2563eb; }

.box-chemical { border-left: 5px solid #ef4444; }
.box-chemical h3.text-red { color: #ef4444; }

/* --------------------------------------------------------------------------
   Section 2: Contact vs Systemic (Flex Columns)
   -------------------------------------------------------------------------- */
.weed-action-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
}

.weed-split-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.weed-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.weed-box-desc h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.weed-box-desc p {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Themes for Section 2 */
.bg-light-orange { background-color: #fff7ed; }
.text-orange { color: #f97316; }
.font-bold { font-weight: 700; }

.bg-light-green { background-color: #f0fdf4; }
.text-green { color: #16a34a; }

/* --------------------------------------------------------------------------
   Section 3: Weed Leaf Types (3-Column Grid)
   -------------------------------------------------------------------------- */
.weed-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.weed-type-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.weed-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.label-tag {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 14px;
}

.weed-type-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.weed-type-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Themes for Section 3 */
.bg-light-blue { background-color: #e0f2fe; }
.text-blue-text { color: #0369a1; }

.bg-light-purple { background-color: #f3e8ff; }
.text-purple { color: #6b21a8; }

.bg-light-amber { background-color: #fef3c7; }
.text-amber { color: #b45309; }

/* --------------------------------------------------------------------------
   Section 4: HRAC Informational Box
   -------------------------------------------------------------------------- */
.hrac-notice-box {
    display: flex;
    gap: 18px;
    background-color: #faf5ff; /* ม่วงพาสเทลจางๆ */
    border: 1px solid #e9d5ff;
    border-radius: 14px;
    padding: 24px;
    margin-top: 20px;
}

.hrac-icon-box {
    font-size: 1.5rem;
    color: #9333ea;
    margin-top: 2px;
}

.hrac-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #581c87;
    margin: 0 0 10px 0;
}

.hrac-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b21a8;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section 5: Warnings & Precautions (Vertical Spaced Cards)
   -------------------------------------------------------------------------- */
.precautions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
}

.precaution-card {
    display: flex;
    gap: 20px;
    background-color: #fffaf0; /* สีส้มนวลพาสเทลเพื่อการเฝ้าระวัง */
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 20px;
}

.precaution-badge-icon {
    font-size: 1.3rem;
    color: #ea580c;
    margin-top: 2px;
}

.precaution-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7c2d12;
    margin: 0 0 6px 0;
}

.precaution-content p {
    font-size: 1rem;
    line-height: 1.65;
    color: #9a3412;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .weed-split-box, .precaution-card {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }
    .hrac-notice-box {
        flex-direction: column;
        gap: 10px;
    }
}