/* Component-specific styles */

/* Tips Container */
.tips-container {
    display: grid;
    gap: 2rem;
}

.tip-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #00b894;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tip-section h3 {
    color: #00b894;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 1rem;
}

.tip-list {
    list-style: none;
    padding: 0;
}

.tip-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
}

.tip-list li:last-child {
    border-bottom: none;
}

.tip-list li::before {
    content: "💡";
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 1rem;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.equipment-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    border-color: #00b894;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.15);
}

.equipment-card h4 {
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.equipment-card p {
    color: #636e72;
    font-size: 0.75rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    line-height: 1.6;
}

/* Location Tips */
.location-tips {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.location-tip {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #74b9ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-tip h4 {
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.location-tip p {
    color: #636e72;
    line-height: 1.6;
    margin: 0;
    font-size: 0.75rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

/* Fish Card Animations */
.fish-card {
    position: relative;
    overflow: hidden;
}

.fish-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 184, 148, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.fish-card:hover::before {
    animation: shimmer 0.8s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #636e72;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #00b894;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #636e72;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #636e72;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #868e96;
    font-size: 0.9rem;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #2d3436;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.6rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2d3436 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.6rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.badge-primary {
    color: white;
    background-color: #00b894;
}

.badge-secondary {
    color: white;
    background-color: #636e72;
}

.badge-success {
    color: white;
    background-color: #28a745;
}

.badge-warning {
    color: #212529;
    background-color: #fdcb6e;
}

.badge-danger {
    color: white;
    background-color: #e17055;
}

/* Fish Detail Tags */
.fish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.fish-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.55rem;
    font-family: 'Jersey 15', 'Courier New', monospace;
    font-weight: 500;
}

.fish-tag.season {
    background: #d1ecf1;
    color: #0c5460;
}

.fish-tag.time {
    background: #fff3cd;
    color: #856404;
}

.fish-tag.location {
    background: #d4edda;
    color: #155724;
}

.fish-tag.weather {
    background: #e2e3e5;
    color: #383d41;
}

/* Checkbox Styling */
.fish-checkbox {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.fish-checkbox input[type="checkbox"] {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.fish-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.fish-checkbox:hover .checkmark {
    border-color: #00b894;
}

.fish-checkbox input:checked ~ .checkmark {
    background-color: #00b894;
    border-color: #00b894;
}

.fish-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.fish-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.fish-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Responsive adjustments for components */
@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .fish-tags {
        justify-content: center;
    }
    
    .tooltip .tooltiptext {
        width: 150px;
        margin-left: -75px;
    }
}

@media (max-width: 480px) {
    .tip-section {
        padding: 1rem;
    }
    
    .equipment-card,
    .location-tip {
        padding: 1rem;
    }
    
    .empty-state {
        padding: 2rem 0.5rem;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
}
