/* Plant Care Reminder - Tool Specific CSS */

/* Fix info-box h3 (global only has h4) */
.info-box h3 {
    color: #065f46;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

/* ===== ADD SECTION ===== */
.pcr-add-section {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    margin: 24px 0 20px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.pcr-add-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.pcr-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pcr-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

.pcr-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pcr-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Search input */
.pcr-search-wrap {
    position: relative;
}

.pcr-search-wrap input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    transition: all 0.2s;
}

.pcr-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    transition: all 0.2s;
    cursor: pointer;
}

.pcr-search-wrap input:focus,
.pcr-form-group select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
}

/* Dropdown */
.pcr-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.pcr-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.pcr-drop-item:hover { background: #f0fdf4; }
.pcr-drop-item:last-child { border-bottom: none; }
.pcr-drop-item .di-emoji { font-size: 24px; flex-shrink: 0; }
.pcr-drop-item strong { display: block; font-size: 14px; color: #1f2937; }
.pcr-drop-item small  { color: #6b7280; font-size: 12px; }
.pcr-no-result { padding: 16px; text-align: center; color: #9ca3af; font-size: 13px; }

/* Preview */
.pcr-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #86efac;
    border-radius: 14px;
    padding: 16px 20px;
}

.pcr-prev-emoji { font-size: 44px; flex-shrink: 0; }
.pcr-prev-name  { font-size: 17px; font-weight: 700; color: #166534; margin-bottom: 2px; }
.pcr-prev-latin { font-size: 12px; color: #4b7c59; font-style: italic; margin-bottom: 8px; }

.pcr-prev-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pcr-prev-tag {
    background: #fff;
    border: 1.5px solid #86efac;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #166534;
}

/* Add button */
.pcr-add-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
    box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}

.pcr-add-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,197,94,0.4);
}

.pcr-add-btn:disabled {
    background: linear-gradient(135deg, #d1d5db, #e5e7eb);
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== MY GARDEN ===== */
.pcr-garden-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 14px;
}

.pcr-garden-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.pcr-clear-btn {
    background: #fee2e2;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pcr-clear-btn:hover { background: #fecaca; }

.pcr-garden-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.pcr-garden-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.pcr-garden-card:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34,197,94,0.15);
    transform: translateY(-2px);
}

.pcr-gc-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fee2e2;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    color: #dc2626;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pcr-gc-emoji { font-size: 34px; display: block; margin-bottom: 8px; }
.pcr-gc-name  { font-size: 13px; font-weight: 600; color: #1f2937; margin-bottom: 3px; line-height: 1.3; }
.pcr-gc-meta  { font-size: 11px; color: #6b7280; }

/* ===== SEASON BAR ===== */
.pcr-season-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.pcr-season-label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    white-space: nowrap;
}

.pcr-season-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.pcr-szn {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 22px;
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s;
}

.pcr-szn:hover { background: #f0fdf4; border-color: #86efac; color: #166534; }
.pcr-szn.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(34,197,94,0.3);
}

/* ===== WEEKLY SCHEDULE ===== */
.pcr-schedule-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pcr-sched-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.pcr-sched-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.pcr-print-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(59,130,246,0.3);
}

.pcr-print-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 15px rgba(59,130,246,0.35); }

/* 7-day grid */
.pcr-weekly-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    overflow-x: auto;
}

.pcr-day-col {
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #e5e7eb;
    min-width: 90px;
}

.pcr-day-head {
    background: #1f2937;
    color: #fff;
    text-align: center;
    padding: 10px 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pcr-day-head.today-head {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.pcr-day-tasks {
    padding: 8px 6px;
    min-height: 90px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pcr-task {
    border-radius: 7px;
    padding: 5px 7px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.pcr-task-water     { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.pcr-task-fertilize { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.pcr-task-prune     { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.pcr-task-repot     { background: #f3e8ff; color: #7c3aed; border: 1px solid #d8b4fe; }
.pcr-task-rest      { background: #f3f4f6; color: #9ca3af; border: 1px solid #e5e7eb; font-size: 11px; }

.pcr-task-plant {
    font-weight: 400;
    font-size: 10px;
    display: block;
    margin-top: 2px;
    opacity: 0.8;
}

/* ===== PLANT CARE CARDS ===== */
.pcr-plant-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.pcr-plant-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}

.pcr-plant-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.pcr-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.pcr-card-emoji { font-size: 44px; flex-shrink: 0; }
.pcr-card-name  { font-size: 18px; font-weight: 800; color: #1f2937; margin-bottom: 2px; }
.pcr-card-cat   { font-size: 12px; color: #6b7280; text-transform: capitalize; }
.pcr-card-diff  { font-size: 12px; color: #6b7280; margin-top: 2px; }

/* 2x2 care grid */
.pcr-care-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.pcr-care-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
    border: 1.5px solid #e5e7eb;
}

.pcr-care-item-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.pcr-care-item-val {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3px;
}

.pcr-care-item-sub {
    font-size: 12px;
    color: #6b7280;
}

/* Tips box */
.pcr-tips-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    padding: 14px 16px;
    border-left: 4px solid #22c55e;
}

.pcr-tips-title {
    font-size: 13px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 8px;
}

.pcr-tip {
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.pcr-tip::before {
    content: '🌿';
    position: absolute;
    left: 0;
    font-size: 11px;
    top: 2px;
}



.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    color: #666;
}

.info-item strong {
    display: block;
    color: #667eea;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
}

/* ===== PRINT STYLES ===== */
@media print {
    .pcr-add-section, .pcr-garden-header .pcr-clear-btn,
    .pcr-season-bar, .pcr-print-btn, .pcr-gc-remove,
    .info-box, .features-box, .seo-content,
    .tool-disclaimer-section, nav, .tool-header,
    .breadcrumb, header, footer { display: none !important; }

    body, .tool-page { background: #fff !important; }
    .pcr-schedule-wrap { border: none; padding: 0; box-shadow: none; }
    .pcr-plant-card { break-inside: avoid; border: 1px solid #e5e7eb; margin-bottom: 12px; }
    .pcr-weekly-grid { overflow: visible; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
		.info-grid {
        grid-template-columns: 1fr;
    }
    .pcr-form-row { grid-template-columns: 1fr; }
    .pcr-weekly-grid { grid-template-columns: repeat(4, minmax(80px, 1fr)); }
    .pcr-care-grid { grid-template-columns: 1fr; }
    .pcr-card-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .pcr-weekly-grid { grid-template-columns: repeat(3, minmax(80px, 1fr)); }
    .pcr-garden-cards { grid-template-columns: repeat(2, 1fr); }
}