/* Grandmaw's Companion Planting Guide */
.gma-cp-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #3a3a3a;
}

/* Header */
.gma-cp-header {
    text-align: center;
    margin-bottom: 30px;
}
.gma-cp-header h2 {
    font-size: 2em;
    color: #5a3e28;
    margin-bottom: 5px;
}
.gma-cp-subtitle {
    font-size: 1.1em;
    color: #7a6a5a;
    font-style: italic;
}

/* Selector */
.gma-cp-selector {
    text-align: center;
    margin-bottom: 20px;
}
.gma-cp-selector label {
    display: block;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #5a3e28;
}
#gma-cp-select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    font-size: 1.1em;
    font-family: Georgia, 'Times New Roman', serif;
    border: 2px solid #c9b99a;
    border-radius: 8px;
    background: #faf8f4;
    color: #3a3a3a;
    cursor: pointer;
    appearance: auto;
}
#gma-cp-select:focus {
    outline: none;
    border-color: #8b6f47;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.15);
}

/* Quick Picks */
.gma-cp-quick-picks {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background: #faf8f4;
    border-radius: 10px;
    border: 1px solid #e8e0d4;
}
.gma-cp-quick-label {
    display: block;
    font-weight: bold;
    color: #7a6a5a;
    margin-bottom: 10px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gma-cp-quick-btn {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    background: #fff;
    border: 1px solid #c9b99a;
    border-radius: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9em;
    color: #5a3e28;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gma-cp-quick-btn:hover {
    background: #f0e8da;
    border-color: #8b6f47;
}
.gma-cp-quick-btn.active {
    background: #5a3e28;
    color: #fff;
    border-color: #5a3e28;
}

/* Results */
.gma-cp-result {
    margin-bottom: 30px;
}
.gma-cp-result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e0d4;
}
.gma-cp-result-icon {
    font-size: 3em;
}
.gma-cp-result-header h3 {
    font-size: 1.6em;
    color: #5a3e28;
    margin: 0;
}

/* Two Column Layout */
.gma-cp-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}
@media (max-width: 700px) {
    .gma-cp-columns {
        grid-template-columns: 1fr;
    }
}

/* Good / Bad sections */
.gma-cp-good h4,
.gma-cp-bad h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 8px;
}
.gma-cp-good h4 {
    background: #e8f5e9;
    color: #2e7d32;
}
.gma-cp-bad h4 {
    background: #fce4ec;
    color: #c62828;
}

/* Individual Items */
.gma-cp-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    border-left: 4px solid;
}
.gma-cp-item-good {
    background: #f9fdf9;
    border-left-color: #4caf50;
}
.gma-cp-item-bad {
    background: #fefafa;
    border-left-color: #e53935;
}
.gma-cp-item strong {
    display: block;
    font-size: 1em;
    margin-bottom: 4px;
    color: #3a3a3a;
}
.gma-cp-item p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Grandmaw's Tip */
.gma-cp-tip {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 20px;
}
.gma-cp-tip p {
    margin: 0;
    font-size: 0.95em;
    color: #5a4a28;
    line-height: 1.5;
}

/* Empty State */
.gma-cp-empty {
    text-align: center;
    padding: 60px 20px;
    background: #faf8f4;
    border-radius: 10px;
    border: 2px dashed #d4c9b4;
}
.gma-cp-empty p {
    font-size: 1.3em;
    color: #8a7a6a;
    margin: 0;
}

/* List container */
.gma-cp-list {
    max-height: none;
}

/* Print styles */
@media print {
    .gma-cp-selector,
    .gma-cp-quick-picks,
    .gma-cp-empty {
        display: none !important;
    }
    .gma-cp-result {
        display: block !important;
    }
    .gma-cp-columns {
        grid-template-columns: 1fr 1fr;
    }
}
