/* ============================================================================
   LEVELING SPOTS - EXTENDED STYLES (Monsters, Drops, Alerts, etc.)
   ============================================================================ */

/* Monsters Section */
.spot-monsters {
    background: #fff5f5;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.spot-monsters h5 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.monsters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.monster-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.monster-card:hover {
    border-color: #667eea;
    transform: translateX(4px);
}

.monster-card[onclick] {
    transition: all 0.3s ease;
}

.monster-card[onclick]:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.monster-card.mvp-monster {
    border-color: #ffd700;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.05), white);
}

.monster-card.primary-monster {
    border-color: #667eea;
}

.monster-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
}

.monster-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.monster-card.mvp-monster .monster-thumbnail {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.1) 100%);
}

.monster-card.primary-monster .monster-thumbnail {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.monster-icon,
.monster-icon-fallback {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.monster-card.mvp-monster .monster-icon,
.monster-card.mvp-monster .monster-icon-fallback {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2c3e50;
}

.monster-card.primary-monster .monster-icon,
.monster-card.primary-monster .monster-icon-fallback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.monster-info {
    flex: 1;
}

.monster-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.monster-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.monster-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.monster-badge.mvp {
    background: #ffd700;
    color: #2c3e50;
}

.monster-badge.density-very_high {
    background: #28a745;
    color: white;
}

.monster-badge.density-high {
    background: #20c997;
    color: white;
}

.monster-badge.density-medium {
    background: #17a2b8;
    color: white;
}

.monster-badge.density-low {
    background: #ffc107;
    color: #2c3e50;
}

.monster-badge.density-very_low {
    background: #e74c3c;
    color: white;
}

.monster-badge.danger-safe {
    background: #d4edda;
    color: #155724;
}

.monster-badge.danger-low {
    background: #d1ecf1;
    color: #0c5460;
}

.monster-badge.danger-high {
    background: #fff3cd;
    color: #856404;
}

.monster-badge.danger-very_high {
    background: #f8d7da;
    color: #721c24;
}

/* Drops Section */
.spot-drops {
    background: #fffbf0;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.spot-drops h5 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.drop-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.drop-card:hover {
    border-color: #ffc107;
    transform: translateX(4px);
}

.drop-card[onclick] {
    transition: all 0.3s ease;
}

.drop-card[onclick]:hover {
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.drop-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #ffc107;
}

.drop-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.drop-icon,
.drop-icon-fallback {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.drop-info {
    flex: 1;
}

.drop-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.drop-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.drop-price {
    font-size: 13px;
    font-weight: 600;
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 4px;
}

.drop-demand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.drop-demand.demand-very_high {
    background: #28a745;
    color: white;
}

.drop-demand.demand-high {
    background: #20c997;
    color: white;
}

.drop-demand.demand-medium {
    background: #17a2b8;
    color: white;
}

.drop-demand.demand-low {
    background: #ffc107;
    color: #2c3e50;
}

/* Alerts Section */
.spot-alerts {
    margin-bottom: 20px;
}

.alert {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.alert-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.alert-warning .alert-icon {
    background: #ffc107;
    color: white;
}

.alert-info .alert-icon {
    background: #17a2b8;
    color: white;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.alert-content p {
    margin: 0;
    line-height: 1.5;
}

/* Spot Footer */
.spot-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.spot-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: white;
    border: 2px solid #e9ecef;
}

.tag i {
    font-size: 14px;
}

.tag-element {
    border-color: #e74c3c;
    color: #e74c3c;
}

.tag-difficulty {
    border-color: #667eea;
    color: #667eea;
}

.tag-danger-safe {
    border-color: #28a745;
    color: #28a745;
}

.tag-danger-low {
    border-color: #20c997;
    color: #20c997;
}

.tag-danger-medium {
    border-color: #ffc107;
    color: #856404;
}

.tag-danger-high {
    border-color: #ff9800;
    color: #e65100;
}

.tag-danger-very_high {
    border-color: #e74c3c;
    color: #e74c3c;
}

.spot-actions {
    display: flex;
    gap: 10px;
}

/* Results Footer */
.results-footer {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
}

.results-note {
    color: #6c757d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* No Results / Welcome Section */
.no-results {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    margin-top: 30px;
}

.welcome-message {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.welcome-message h3 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.welcome-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.welcome-feature {
    background: #f8f9fa;
    padding: 25px 15px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.welcome-feature:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.welcome-feature i {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.welcome-feature strong {
    display: block;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.welcome-feature span {
    font-size: 13px;
    color: #6c757d;
}

.welcome-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
}

.welcome-cta i {
    font-size: 24px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Empty Results */
.empty-results {
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #6c757d;
}

.empty-results h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-results p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
}

.empty-suggestions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.empty-suggestions h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.empty-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.empty-suggestions li {
    padding: 8px 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.empty-suggestions li i {
    color: #28a745;
}

.btn-reset-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-reset-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Required Gear Section */
.spot-required-gear {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #ffcc80;
}

.spot-required-gear h5 {
    margin: 0 0 16px 0;
    color: #e65100;
    font-size: 16px;
    font-weight: 600;
}

.required-section {
    margin-bottom: 16px;
}

.required-section:last-child {
    margin-bottom: 0;
}

.required-section h6 {
    margin: 0 0 12px 0;
    color: #f57c00;
    font-size: 14px;
    font-weight: 600;
}

.required-items-grid,
.required-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.required-item,
.required-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.required-item:hover,
.required-card:hover {
    border-color: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
}

.required-item.priority-essential,
.required-card.priority-essential {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

.required-item.priority-recommended,
.required-card.priority-recommended {
    border-color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.required-item-icon,
.required-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
}

.required-item-icon img,
.required-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.required-item-icon i,
.required-card-icon i {
    font-size: 24px;
    color: #95a5a6;
}

.required-item-info,
.required-card-info {
    flex: 1;
    min-width: 0;
}

.required-item-name,
.required-card-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.required-item-meta,
.required-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.item-slot {
    font-size: 12px;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 2px 8px;
    border-radius: 4px;
}

.item-priority-badge,
.card-priority-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.item-priority-badge.priority-essential,
.card-priority-badge.priority-essential {
    background: #e74c3c;
    color: white;
}

.item-priority-badge.priority-recommended,
.card-priority-badge.priority-recommended {
    background: #3498db;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-form .filter-row {
        grid-template-columns: 1fr;
    }

    .quick-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .spot-header {
        flex-direction: column;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .scores-grid-2col {
        grid-template-columns: 1fr;
    }

    .monsters-grid,
    .drops-grid {
        grid-template-columns: 1fr;
    }

    .required-items-grid,
    .required-cards-grid {
        grid-template-columns: 1fr;
    }

    .spot-map-thumbnail {
        width: 80px;
        height: 80px;
    }

    .spot-footer {
        flex-direction: column;
    }

    .welcome-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Drop type badges */
.drop-type-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.drop-type-badge.card {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.drop-type-badge.equipment {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.drop-monster-count {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #ecf0f1;
    color: #7f8c8d;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
