/* =============================================
   Elemental Farming Modal - Combat Slots Grid
   ============================================= */

/* Container com scroll */
.farming-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    max-height: 45vh;
    overflow-y: auto;
    padding-right: 8px;
}

/* Card base */
.farming-slot-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px;
    min-height: 140px;
}

/* Card preenchido */
.farming-slot-filled {
    display: flex;
    flex-direction: column;
}

/* Card vazio - clicável */
.farming-slot-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px dashed #555;
    background: rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.farming-slot-empty:hover {
    border-color: #888;
    background: rgba(255,255,255,0.05);
}

/* Header do card preenchido */
.farming-slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.farming-slot-name {
    font-weight: bold;
    color: #e8e8e8;
}
.farming-recall-btn {
    background: #ef4444;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    color: #fff;
    font-size: 0.75em;
    cursor: pointer;
}
.farming-recall-btn:hover {
    background: #dc2626;
}

/* HP sections */
.farming-hp-section {
    margin-bottom: 8px;
}
.farming-hp-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;
    color: #888;
    margin-bottom: 3px;
}
.farming-hp-bar {
    background: #333;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
}
.farming-hp-fill {
    height: 100%;
}
.farming-hp-green {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}
.farming-hp-red {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}
.farming-hp-orange {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}
.farming-respawn-text {
    color: #f59e0b;
}

/* Empty slot content */
.farming-slot-empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #666;
}
.farming-slot-empty-icon {
    font-size: 2em;
    line-height: 1;
}
.farming-slot-empty-text {
    font-size: 0.85em;
}
