/* Wanted Items Layout - Clean and organized styling */

.wanted-items-detail {
    margin-top: 20px;
    padding: 24px;
    background: var(--surface-elevated);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    animation: fadeIn 0.3s ease-out;
}

.wanted-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.item-request {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--surface-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.item-request:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-checkbox {
    flex: 1;
    margin: 0;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.item-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--accent-gold);
}

.item-checkbox span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.quantity-input {
    width: 80px;
    padding: 10px 12px;
    background: var(--surface-elevated);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.quantity-input::placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

/* Visual feedback for quantity input when checkbox is not checked */
.item-request:not(:has(input[type="checkbox"]:checked)) .quantity-input {
    opacity: 0.7;
    /* Remove pointer-events: none to allow input */
}

/* Form hint styling */
.form-hint {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .wanted-items-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .item-request {
        padding: 12px;
    }
    
    .item-checkbox span {
        font-size: 15px;
    }
    
    .quantity-input {
        width: 70px;
        font-size: 15px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}