/* ============================================
   Species Profile Editor
   Extends equipment-manager.css shared styles
   ============================================ */

/* ── Modal Overlay ─────────────────────────── */

#species-editor-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

/* ── Species-specific Badges ───────────────── */

.spe-badge-genus {
    background: #1a2a1a;
    color: #66cc88;
    border: 1px solid #2a4a2a;
}

.spe-badge-range {
    background: #2a1a1a;
    color: #ee8855;
    border: 1px solid #4a2a1a;
    font-family: 'Courier New', monospace;
}

.spe-badge-life {
    background: #1a1a2a;
    color: #8888cc;
    border: 1px solid #2a2a4a;
}

/* ── Notes preview in rows ─────────────────── */

.spe-row-notes {
    font-size: 0.72em;
    color: #555;
    margin-top: 4px;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Color picker row ──────────────────────── */

.spe-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spe-color-preview {
    width: 100%;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #2a2a3a;
    cursor: pointer;
    padding: 2px;
    background: #111120;
}

.spe-color-hex {
    flex: 1;
}

/* ── Flight range row ──────────────────────── */

.spe-range-row {
    display: flex;
    gap: 12px;
}

.spe-range-row .em-field {
    flex: 1;
}

/* ── Notes textarea ────────────────────────── */

.spe-textarea {
    width: 100%;
    background: #111120;
    border: 1px solid #2a2a3a;
    color: #e0e0e0;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.88em;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
    min-height: 60px;
    max-height: 150px;
    transition: border-color 0.15s;
}

.spe-textarea:focus {
    outline: none;
    border-color: #e63946;
}