/* Crafting Stations Page Styles */

.crafting-stations-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
}

/* Navigation Tabs */
.nav-tabs {
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.nav-tabs .nav-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    margin-right: 0.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.nav-tabs .nav-link.active {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: #ffc107;
    font-weight: 600;
}

.nav-tabs .nav-link i {
    margin-right: 0.5rem;
}

.search-container {
    margin-bottom: 2rem;
}

.search-container .card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.search-container .card-header {
    background: rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    font-weight: 600;
}

/* Item Icon */
.item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

/* Ingredients List */
.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.ingredient-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(108, 117, 125, 0.3);
    border: 1px solid rgba(108, 117, 125, 0.5);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #e0e0e0;
    white-space: nowrap;
}

.ingredient-badge:hover {
    background: rgba(108, 117, 125, 0.5);
    border-color: rgba(108, 117, 125, 0.8);
}

/* Categories List */
.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.categories-list .badge {
    font-size: 0.7rem;
}

/* Table Styling */
#craftingItemsTable {
    font-size: 0.9rem;
}

#craftingItemsTable thead th {
    background: rgba(255, 193, 7, 0.2);
    border-bottom: 2px solid #ffc107;
    color: #ffc107;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

#craftingItemsTable tbody tr {
    transition: all 0.3s ease;
}

#craftingItemsTable tbody tr:hover {
    background: rgba(255, 193, 7, 0.1);
    transform: translateX(5px);
}

/* Type Badges */
.badge {
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Station Selection */
#station {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

#station:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffc107;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

#station option {
    background: #1a1a2e;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ingredients-list {
        flex-direction: column;
    }
    
    .ingredient-badge {
        width: 100%;
    }
    
    #craftingItemsTable {
        font-size: 0.8rem;
    }
    
    .item-icon {
        width: 24px;
        height: 24px;
    }
}

/* Card Enhancements */
.card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.btn-info {
    transition: all 0.3s ease;
}

.btn-info:hover {
    transform: scale(1.1);
}

/* Alert Styling */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.alert-info {
    background: rgba(13, 202, 240, 0.2);
    color: #9ee5f7;
    border-left: 4px solid #0dcaf0;
}

/* Table Responsive Container */
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}
