/* EMERGENCY FIX - Replace your CSS with this simple version */

/* Reset everything and start simple */
.fish-list {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.fish-item {
    width: 100%;
    display: block !important;
    position: static !important;
    margin: 0 0 30px 0 !important;
    padding: 20px !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    clear: both !important;
}

/* Simple photo layout */
.fish-photo {
    float: left;
    width: 100px;
    height: 100px;
    margin: 0 20px 20px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.fish-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Simple details */
.fish-details {
    overflow: hidden;
    padding-left: 120px;
    min-height: 100px;
}

.fish-details h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

/* Simple status */
.fish-status {
    float: right;
    margin: 0 0 10px 10px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
}

/* Simple AI section */
.ai-analysis-detailed {
    clear: both;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Simple actions */
.fish-actions {
    clear: both;
    margin-top: 15px;
    text-align: right;
}

.fish-actions button {
    margin-left: 10px;
    padding: 8px 15px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Clear floats */
.fish-item::after {
    content: "";
    display: table;
    clear: both;
}

/* Requirements grid - simple */
.requirements-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    margin-top: 10px;
}

.requirement-item {
    padding: 5px;
    background: #e8f5e8;
    border-radius: 3px;
    font-size: 11px;
}

.requirement-item.req-failed {
    background: #ffe8e8;
}

/* Mobile fix */
@media (max-width: 768px) {
    .fish-details {
        padding-left: 0;
        min-height: auto;
    }
    
    .fish-photo {
        float: none;
        margin: 0 auto 15px auto;
        display: block;
    }
    
    .requirements-breakdown {
        grid-template-columns: 1fr;
    }
}


/* AI Processing Animation */
.progress-fill.ai-processing {
  background: linear-gradient(45deg, #007cba, #28a745, #007cba);
  background-size: 200% 200%;
  animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ai-step {
  font-weight: 600;
  color: #2c5aa0;
  font-size: 14px;
}

.upload-progress .progress-text {
  text-align: center;
  margin-top: 8px;
  font-weight: 500;
}